i need a break

This commit is contained in:
2025-05-30 18:58:45 -04:00
parent f8c38d22b0
commit 013b5a557e
8 changed files with 73 additions and 26 deletions

View File

@ -2,13 +2,19 @@ extern exception_handler
%macro isr_err_stub 1
isr_stub_%+%1:
pushad
push dword %1
call exception_handler
popad
iret
%endmacro
%macro isr_no_err_stub 1
isr_stub_%+%1:
pushad
push dword %1
call exception_handler
popad
iret
%endmacro
@ -44,11 +50,28 @@ isr_no_err_stub 28
isr_no_err_stub 29
isr_err_stub 30
isr_no_err_stub 31
isr_no_err_stub 32
isr_no_err_stub 33
isr_no_err_stub 34
isr_no_err_stub 35
isr_no_err_stub 36
isr_no_err_stub 37
isr_no_err_stub 38
isr_no_err_stub 39
isr_no_err_stub 40
isr_no_err_stub 41
isr_no_err_stub 42
isr_no_err_stub 43
isr_no_err_stub 44
isr_no_err_stub 45
isr_no_err_stub 46
isr_no_err_stub 47
global isr_stub_table
isr_stub_table:
%assign i 0
%rep 32
%rep 48
dd isr_stub_%+i
%assign i i+1
%endrep