Changeset 8d427a3 in mainline for kernel/arch/ia32/include/arch/istate.h
- Timestamp:
- 2014-08-27T23:07:42Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f27f3fd
- Parents:
- b8fac76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/arch/istate.h
rb8fac76 r8d427a3 38 38 #include <trace.h> 39 39 40 typedef struct istate { 41 /* 42 * The strange order of the GPRs is given by the requirement to use the 43 * istate structure for both regular interrupts and exceptions as well 44 * as for syscall handlers which use this order as an optimization. 45 */ 46 uint32_t edx; 47 uint32_t ecx; 48 uint32_t ebx; 49 uint32_t esi; 50 uint32_t edi; 51 uint32_t ebp; 52 uint32_t eax; 53 54 uint32_t ebp_frame; /* imitation of frame pointer linkage */ 55 uint32_t eip_frame; /* imitation of return address linkage */ 56 57 uint32_t gs; 58 uint32_t fs; 59 uint32_t es; 60 uint32_t ds; 61 62 uint32_t error_word; /* real or fake error word */ 63 uint32_t eip; 64 uint32_t cs; 65 uint32_t eflags; 66 uint32_t esp; /* only if istate_t is from uspace */ 67 uint32_t ss; /* only if istate_t is from uspace */ 68 } istate_t; 40 #ifdef KERNEL 41 #include <arch/istate_struct.h> 42 #else 43 #include <libarch/istate_struct.h> 44 #endif /* KERNEL */ 69 45 70 46 #define RPL_USER 3
Note:
See TracChangeset
for help on using the changeset viewer.