Changeset ab936440 in mainline for uspace/lib/c/arch/ia64/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/ia64/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_AR_PFS 0x00033 #define CONTEXT_OFFSET_AR_UNAT_CALLER 0x00834 #define CONTEXT_OFFSET_AR_UNAT_CALLEE 0x01035 #define CONTEXT_OFFSET_AR_RSC 0x01836 #define CONTEXT_OFFSET_BSP 0x02037 #define CONTEXT_OFFSET_AR_RNAT 0x02838 #define CONTEXT_OFFSET_AR_LC 0x03039 #define CONTEXT_OFFSET_R1 0x03840 #define CONTEXT_OFFSET_R4 0x04041 #define CONTEXT_OFFSET_R5 0x04842 #define CONTEXT_OFFSET_R6 0x05043 #define CONTEXT_OFFSET_R7 0x05844 #define CONTEXT_OFFSET_SP 0x06045 #define CONTEXT_OFFSET_TP 0x06846 #define CONTEXT_OFFSET_PC 0x07047 #define CONTEXT_OFFSET_B1 0x07848 #define CONTEXT_OFFSET_B2 0x08049 #define CONTEXT_OFFSET_B3 0x08850 #define CONTEXT_OFFSET_B4 0x09051 #define CONTEXT_OFFSET_B5 0x09852 #define CONTEXT_OFFSET_PR 0x0a053 #define CONTEXT_OFFSET_F2 0x0b054 #define CONTEXT_OFFSET_F3 0x0c055 #define CONTEXT_OFFSET_F4 0x0d056 #define CONTEXT_OFFSET_F5 0x0e057 #define CONTEXT_OFFSET_F16 0x0f058 #define CONTEXT_OFFSET_F17 0x10059 #define CONTEXT_OFFSET_F18 0x11060 #define CONTEXT_OFFSET_F19 0x12061 #define CONTEXT_OFFSET_F20 0x13062 #define CONTEXT_OFFSET_F21 0x14063 #define CONTEXT_OFFSET_F22 0x15064 #define CONTEXT_OFFSET_F23 0x16065 #define CONTEXT_OFFSET_F24 0x17066 #define CONTEXT_OFFSET_F25 0x18067 #define CONTEXT_OFFSET_F26 0x19068 #define CONTEXT_OFFSET_F27 0x1a069 #define CONTEXT_OFFSET_F28 0x1b070 #define CONTEXT_OFFSET_F29 0x1c071 #define CONTEXT_OFFSET_F30 0x1d072 #define CONTEXT_OFFSET_F31 0x1e073 #define CONTEXT_SIZE 0x1f032 #define __CONTEXT_OFFSET_AR_PFS 0x000 33 #define __CONTEXT_OFFSET_AR_UNAT_CALLER 0x008 34 #define __CONTEXT_OFFSET_AR_UNAT_CALLEE 0x010 35 #define __CONTEXT_OFFSET_AR_RSC 0x018 36 #define __CONTEXT_OFFSET_BSP 0x020 37 #define __CONTEXT_OFFSET_AR_RNAT 0x028 38 #define __CONTEXT_OFFSET_AR_LC 0x030 39 #define __CONTEXT_OFFSET_R1 0x038 40 #define __CONTEXT_OFFSET_R4 0x040 41 #define __CONTEXT_OFFSET_R5 0x048 42 #define __CONTEXT_OFFSET_R6 0x050 43 #define __CONTEXT_OFFSET_R7 0x058 44 #define __CONTEXT_OFFSET_SP 0x060 45 #define __CONTEXT_OFFSET_TP 0x068 46 #define __CONTEXT_OFFSET_PC 0x070 47 #define __CONTEXT_OFFSET_B1 0x078 48 #define __CONTEXT_OFFSET_B2 0x080 49 #define __CONTEXT_OFFSET_B3 0x088 50 #define __CONTEXT_OFFSET_B4 0x090 51 #define __CONTEXT_OFFSET_B5 0x098 52 #define __CONTEXT_OFFSET_PR 0x0a0 53 #define __CONTEXT_OFFSET_F2 0x0b0 54 #define __CONTEXT_OFFSET_F3 0x0c0 55 #define __CONTEXT_OFFSET_F4 0x0d0 56 #define __CONTEXT_OFFSET_F5 0x0e0 57 #define __CONTEXT_OFFSET_F16 0x0f0 58 #define __CONTEXT_OFFSET_F17 0x100 59 #define __CONTEXT_OFFSET_F18 0x110 60 #define __CONTEXT_OFFSET_F19 0x120 61 #define __CONTEXT_OFFSET_F20 0x130 62 #define __CONTEXT_OFFSET_F21 0x140 63 #define __CONTEXT_OFFSET_F22 0x150 64 #define __CONTEXT_OFFSET_F23 0x160 65 #define __CONTEXT_OFFSET_F24 0x170 66 #define __CONTEXT_OFFSET_F25 0x180 67 #define __CONTEXT_OFFSET_F26 0x190 68 #define __CONTEXT_OFFSET_F27 0x1a0 69 #define __CONTEXT_OFFSET_F28 0x1b0 70 #define __CONTEXT_OFFSET_F29 0x1c0 71 #define __CONTEXT_OFFSET_F30 0x1d0 72 #define __CONTEXT_OFFSET_F31 0x1e0 73 #define __CONTEXT_SIZE 0x1f0 74 74 75 75 #ifndef __ASSEMBLER__ … … 79 79 80 80 // Only save registers that must be preserved across function calls. 81 typedef struct context {81 typedef struct __context { 82 82 // Application registers. 83 83 uint64_t ar_pfs; … … 132 132 uint128_t f30; 133 133 uint128_t f31; 134 } context_t;134 } __context_t; 135 135 136 136 #endif /* __ASSEMBLER__ */
Note:
See TracChangeset
for help on using the changeset viewer.