mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 07:06:47 +00:00
🆕 定义了寄存器在入栈后的偏移量
This commit is contained in:
parent
a632e72ed3
commit
d0cd77799c
26
kernel/exception/entry.S
Normal file
26
kernel/exception/entry.S
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
R15 = 0x00
|
||||||
|
R14 = 0x08
|
||||||
|
R13 = 0x10
|
||||||
|
R12 = 0x18
|
||||||
|
R11 = 0x20
|
||||||
|
R10 = 0x28
|
||||||
|
R9 = 0x30
|
||||||
|
R8 = 0x38
|
||||||
|
RBX = 0x40
|
||||||
|
RCX = 0x48
|
||||||
|
RDX = 0x50
|
||||||
|
RSI = 0x58
|
||||||
|
RDI = 0x60
|
||||||
|
RBP = 0x68
|
||||||
|
DS = 0x70
|
||||||
|
ES = 0x78
|
||||||
|
RAX = 0x80
|
||||||
|
FUNC = 0x88
|
||||||
|
ERRCODE = 0x90
|
||||||
|
RIP = 0x98
|
||||||
|
CS = 0xa0
|
||||||
|
RFLAGS = 0xa8
|
||||||
|
OLD_RSP = 0xb0
|
||||||
|
OLDSS = 0xb8
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user