mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
Unify the arch_regs structs
I was doing something stupid and keeping a separate version for the cpu registers. oh well, I fixed it now
This commit is contained in:
@@ -83,6 +83,8 @@ section .text
|
||||
|
||||
global %1
|
||||
%1:
|
||||
|
||||
push qword 0 ; error code for regs struct
|
||||
|
||||
pushregs
|
||||
|
||||
@@ -93,6 +95,8 @@ section .text
|
||||
call %2
|
||||
|
||||
popregs
|
||||
|
||||
add rsp,8 ; remove error code
|
||||
|
||||
iretq
|
||||
|
||||
|
||||
Reference in New Issue
Block a user