Changes in kernel/arch/ia32/src/asm.S [d029434:91ef7cfd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
rd029434 r91ef7cfd 175 175 176 176 /* 177 * Size of the entire istate structure including the error word and the178 * hardware-saved part.179 */180 #define ISTATE_REAL_SIZE (ISTATE_SOFT_SIZE + 24)181 182 /*183 177 * The SYSENTER syscall mechanism can be used for syscalls with 184 178 * four or fewer arguments. To pass these four arguments, we … … 191 185 .global sysenter_handler 192 186 sysenter_handler: 193 subl $(ISTATE_REAL_SIZE), %esp 187 188 /* 189 * Note that the space needed for the istate structure has been 190 * preallocated on the stack by before_thread_runs_arch(). 191 */ 194 192 195 193 /* … … 260 258 movl ISTATE_OFFSET_ESP(%esp), %ecx 261 259 262 addl $(ISTATE_REAL_SIZE), %esp263 264 260 sysexit /* return to userspace */ 265 261 … … 353 349 #define ERROR_WORD_INTERRUPT_LIST 0x00027d00 354 350 355 /** Declare interrupt handlers356 *357 * Declare interrupt handlers for n interrupt358 * vectors starting at vector i.359 *360 */361 351 .macro handler i 362 352 .global int_\i
Note:
See TracChangeset
for help on using the changeset viewer.