Changeset 8fb47ec0 in mainline
- Timestamp:
- 2010-01-08T20:08:21Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bac86377
- Parents:
- f1a2c6e
- Location:
- kernel/arch/ia32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/interrupt.h
rf1a2c6e r8fb47ec0 69 69 #define VECTOR_DEBUG_IPI (IVT_FREEBASE + 2) 70 70 71 typedef struct {71 typedef struct istate { 72 72 uint32_t eax; 73 73 uint32_t ecx; 74 74 uint32_t edx; 75 uint32_t ebp; 75 76 76 77 uint32_t gs; … … 102 103 } 103 104 105 static inline unative_t istate_get_fp(istate_t *istate) 106 { 107 return istate->ebp; 108 } 109 104 110 extern void (* disable_irqs_function)(uint16_t irqmask); 105 111 extern void (* enable_irqs_function)(uint16_t irqmask); -
kernel/arch/ia32/src/asm.S
rf1a2c6e r8fb47ec0 269 269 pushl %gs 270 270 271 pushl %ebp 271 272 pushl %edx 272 273 pushl %ecx … … 278 279 movw %ax, %es 279 280 280 cld 281 # stop stack traces here 282 xorl %ebp, %ebp 281 283 282 284 pushl %esp # *istate … … 290 292 popl %ecx 291 293 popl %edx 294 popl %ebp 292 295 293 296 popl %gs
Note:
See TracChangeset
for help on using the changeset viewer.