mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
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…
x
Reference in New Issue
Block a user