Changeset d5a89a3 in mainline for uspace/lib/c/arch/amd64/include/libarch/fibril_context.h
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/amd64/include/libarch/fibril_context.h
re3272101 rd5a89a3 27 27 */ 28 28 29 #ifndef LIBC_ARCH_FIBRIL_CONTEXT_H_30 #define LIBC_ARCH_FIBRIL_CONTEXT_H_29 #ifndef _LIBC_ARCH_FIBRIL_CONTEXT_H_ 30 #define _LIBC_ARCH_FIBRIL_CONTEXT_H_ 31 31 32 #define CONTEXT_OFFSET_SP 0x0033 #define CONTEXT_OFFSET_PC 0x0834 #define CONTEXT_OFFSET_RBX 0x1035 #define CONTEXT_OFFSET_RBP 0x1836 #define CONTEXT_OFFSET_R12 0x2037 #define CONTEXT_OFFSET_R13 0x2838 #define CONTEXT_OFFSET_R14 0x3039 #define CONTEXT_OFFSET_R15 0x3840 #define CONTEXT_OFFSET_TLS 0x4041 #define CONTEXT_SIZE 0x4832 #define __CONTEXT_OFFSET_SP 0x00 33 #define __CONTEXT_OFFSET_PC 0x08 34 #define __CONTEXT_OFFSET_RBX 0x10 35 #define __CONTEXT_OFFSET_RBP 0x18 36 #define __CONTEXT_OFFSET_R12 0x20 37 #define __CONTEXT_OFFSET_R13 0x28 38 #define __CONTEXT_OFFSET_R14 0x30 39 #define __CONTEXT_OFFSET_R15 0x38 40 #define __CONTEXT_OFFSET_TLS 0x40 41 #define __CONTEXT_SIZE 0x48 42 42 43 43 #ifndef __ASSEMBLER__ … … 45 45 #include <stdint.h> 46 46 47 typedef struct context {47 typedef struct __context { 48 48 /* 49 49 * We include only registers that must be preserved … … 59 59 uint64_t r15; 60 60 uint64_t tls; 61 } context_t;61 } __context_t; 62 62 63 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.