holy crap im an idiot, i was getting constatnt gpf because i forgot to pop the stack
This commit is contained in:
@ -6,6 +6,7 @@ isr_stub_%+%1:
|
||||
cld
|
||||
push dword %1
|
||||
call exception_handler
|
||||
pop eax ; make sure to pop off the dword!!
|
||||
popad
|
||||
iret
|
||||
%endmacro
|
||||
@ -16,6 +17,7 @@ isr_stub_%+%1:
|
||||
cld
|
||||
push dword %1
|
||||
call exception_handler
|
||||
pop eax
|
||||
popad
|
||||
iret
|
||||
%endmacro
|
||||
|
Reference in New Issue
Block a user