Changes in kernel/arch/amd64/src/asm.S [4236b18:45f7449] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/asm.S
r4236b18 r45f7449 29 29 #include <arch/pm.h> 30 30 #include <arch/mm/page.h> 31 #include <arch/istate_struct.h>32 31 33 32 .text … … 143 142 ret 144 143 144 #define ISTATE_OFFSET_RAX 0 145 #define ISTATE_OFFSET_RBX 8 146 #define ISTATE_OFFSET_RCX 16 147 #define ISTATE_OFFSET_RDX 24 148 #define ISTATE_OFFSET_RSI 32 149 #define ISTATE_OFFSET_RDI 40 150 #define ISTATE_OFFSET_RBP 48 151 #define ISTATE_OFFSET_R8 56 152 #define ISTATE_OFFSET_R9 64 153 #define ISTATE_OFFSET_R10 72 154 #define ISTATE_OFFSET_R11 80 155 #define ISTATE_OFFSET_R12 88 156 #define ISTATE_OFFSET_R13 96 157 #define ISTATE_OFFSET_R14 104 158 #define ISTATE_OFFSET_R15 112 159 #define ISTATE_OFFSET_ALIGNMENT 120 160 #define ISTATE_OFFSET_RBP_FRAME 128 161 #define ISTATE_OFFSET_RIP_FRAME 136 162 #define ISTATE_OFFSET_ERROR_WORD 144 163 #define ISTATE_OFFSET_RIP 152 164 #define ISTATE_OFFSET_CS 160 165 #define ISTATE_OFFSET_RFLAGS 168 166 #define ISTATE_OFFSET_RSP 176 167 #define ISTATE_OFFSET_SS 184 168 145 169 /* 146 170 * Size of the istate structure without the hardware-saved part and without the 147 171 * error word. 148 172 */ 149 #define ISTATE_SOFT_SIZE ISTATE_SIZE - (6 * 8)173 #define ISTATE_SOFT_SIZE 144 150 174 151 175 /**
Note:
See TracChangeset
for help on using the changeset viewer.