it's a trap!
This commit is contained in:
parent
6954e4311e
commit
a698c638c1
|
@ -21,6 +21,7 @@ TrapHandlers.epilog:
|
|||
mov ax1, $rax
|
||||
mov ax2, rax
|
||||
call RFS.StoreReg
|
||||
|
||||
mov ax1, $rdx
|
||||
mov ax2, rdx
|
||||
call RFS.StoreReg
|
||||
|
|
|
@ -6,11 +6,11 @@ TRAP0_STACK := 0x300000
|
|||
trap0_handler:
|
||||
|
||||
.init:
|
||||
mov rcx, .impl
|
||||
mov rcx, .text
|
||||
mov rbp, TRAP0_STACK
|
||||
jmp TrapHandlers.prolog
|
||||
|
||||
.impl:
|
||||
.text:
|
||||
mov ax0, r12
|
||||
mov ax1, $rax
|
||||
call RFS.LoadReg
|
||||
|
|
Loading…
Reference in New Issue