Commit fab9e53c authored by Ian Seyler's avatar Ian Seyler

App updates

parent 321fa2ee
......@@ -29,7 +29,7 @@ smp_task:
mov rcx, 18
call [b_output]
mov rcx, smp_get_id ; Get the APIC ID of the CPU
call [b_system]
call [b_config]
mov rcx, debug_dump_rax ; And then dump is a a hexidecimal number
call [b_system]
mov rsi, endmessage ; Output a newline
......
......@@ -28,7 +28,7 @@ void smp_task()
unsigned long APIC_ID = 0;
b_system(SMP_LOCK, (void *)outputlock, 0);
b_output(message, 18);
b_system(SMP_GET_ID, (void *)&APIC_ID, 0);
APIC_ID = b_config(SMP_GET_ID, 0);
b_system(DEBUG_DUMP_RAX, (void *)APIC_ID, 0);
b_output(newline, 1);
b_system(SMP_UNLOCK, (void *)outputlock, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment