Code: Select all
_gpf_task_wrapper:
call _gpf_handler ; call actual ISR code
add sp, 4 ; pop off error code
iretd
jmp short _gpf_task_wrapper ; if we forget about this stuff,
; we won't be able to run this task
; again anymore
Can anyone explain why that JMP after IRETD?
I am writing similar code and, effectively, without that JMP the code execution continues after IRETD.
Thanks
