- SMP (- instead of +) in restoring EAX
> You idiot TPG.
push eax ; Line up with interrupt number
mov eax, dr1 ; CPU Number
push eax
- mov eax, [esp-4] ; Load EAX back
+ mov eax, [esp+4] ; Load EAX back
jmp SchedulerBase
; Spurious Interrupt
[global Isr0xEF]
popa
add esp, 8 ; Error Code and ID
iret
+
+; vim: ft=nasm ts=8
*/
void Proc_Scheduler(int CPU)
{
+#if 0
tThread *thread;
// If the spinlock is set, let it complete
regs->eflags &= ~0x100; // Clear TF
}
-#if 0
// TODO: Ack timer?
#if USE_MP
if( GetCPUNum() )