Changeset ab936440 in mainline for uspace/lib/c/arch/sparc64/include/libarch/fibril_context.h
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (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. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/include/libarch/fibril_context.h
r7f7817a9 rab936440 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_I0 0x1035 #define CONTEXT_OFFSET_I1 0x1836 #define CONTEXT_OFFSET_I2 0x2037 #define CONTEXT_OFFSET_I3 0x2838 #define CONTEXT_OFFSET_I4 0x3039 #define CONTEXT_OFFSET_I5 0x3840 #define CONTEXT_OFFSET_FP 0x4041 #define CONTEXT_OFFSET_I7 0x4842 #define CONTEXT_OFFSET_L0 0x5043 #define CONTEXT_OFFSET_L1 0x5844 #define CONTEXT_OFFSET_L2 0x6045 #define CONTEXT_OFFSET_L3 0x6846 #define CONTEXT_OFFSET_L4 0x7047 #define CONTEXT_OFFSET_L5 0x7848 #define CONTEXT_OFFSET_L6 0x8049 #define CONTEXT_OFFSET_L7 0x8850 #define CONTEXT_OFFSET_TP 0x9051 #define CONTEXT_SIZE 0x9832 #define __CONTEXT_OFFSET_SP 0x00 33 #define __CONTEXT_OFFSET_PC 0x08 34 #define __CONTEXT_OFFSET_I0 0x10 35 #define __CONTEXT_OFFSET_I1 0x18 36 #define __CONTEXT_OFFSET_I2 0x20 37 #define __CONTEXT_OFFSET_I3 0x28 38 #define __CONTEXT_OFFSET_I4 0x30 39 #define __CONTEXT_OFFSET_I5 0x38 40 #define __CONTEXT_OFFSET_FP 0x40 41 #define __CONTEXT_OFFSET_I7 0x48 42 #define __CONTEXT_OFFSET_L0 0x50 43 #define __CONTEXT_OFFSET_L1 0x58 44 #define __CONTEXT_OFFSET_L2 0x60 45 #define __CONTEXT_OFFSET_L3 0x68 46 #define __CONTEXT_OFFSET_L4 0x70 47 #define __CONTEXT_OFFSET_L5 0x78 48 #define __CONTEXT_OFFSET_L6 0x80 49 #define __CONTEXT_OFFSET_L7 0x88 50 #define __CONTEXT_OFFSET_TP 0x90 51 #define __CONTEXT_SIZE 0x98 52 52 53 53 #ifndef __ASSEMBLER__ … … 56 56 #include <stdint.h> 57 57 58 typedef struct context {58 typedef struct __context { 59 59 uintptr_t sp; // %o6 60 60 uintptr_t pc; // %o7 … … 76 76 uint64_t l7; 77 77 uint64_t tp; // %g7 78 } context_t;78 } __context_t; 79 79 80 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.