Changeset a5c78a18 in mainline for uspace/lib/c/arch/ia32/include/libarch/fibril_context.h
- Timestamp:
- 2019-02-03T14:35:44Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4f1171
- Parents:
- 67ca359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/include/libarch/fibril_context.h
r67ca359 ra5c78a18 30 30 #define LIBC_ARCH_FIBRIL_CONTEXT_H_ 31 31 32 #define CONTEXT_OFFSET_SP 0x0033 #define CONTEXT_OFFSET_PC 0x0434 #define CONTEXT_OFFSET_EBX 0x0835 #define CONTEXT_OFFSET_ESI 0x0c36 #define CONTEXT_OFFSET_EDI 0x1037 #define CONTEXT_OFFSET_EBP 0x1438 #define CONTEXT_OFFSET_TLS 0x1839 #define CONTEXT_SIZE 0x1c32 #define __CONTEXT_OFFSET_SP 0x00 33 #define __CONTEXT_OFFSET_PC 0x04 34 #define __CONTEXT_OFFSET_EBX 0x08 35 #define __CONTEXT_OFFSET_ESI 0x0c 36 #define __CONTEXT_OFFSET_EDI 0x10 37 #define __CONTEXT_OFFSET_EBP 0x14 38 #define __CONTEXT_OFFSET_TLS 0x18 39 #define __CONTEXT_SIZE 0x1c 40 40 41 41 #ifndef __ASSEMBLER__ … … 44 44 45 45 /* We include only registers that must be preserved during function call. */ 46 typedef struct context {46 typedef struct __context { 47 47 uint32_t sp; 48 48 uint32_t pc; … … 52 52 uint32_t ebp; 53 53 uint32_t tls; 54 } context_t;54 } __context_t; 55 55 56 56 #endif
Note:
See TracChangeset
for help on using the changeset viewer.