Changeset ab936440 in mainline for uspace/lib/c/arch/ppc32/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/ppc32/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 0x0434 #define CONTEXT_OFFSET_TLS 0x0835 #define CONTEXT_OFFSET_R13 0x0c36 #define CONTEXT_OFFSET_R14 0x1037 #define CONTEXT_OFFSET_R15 0x1438 #define CONTEXT_OFFSET_R16 0x1839 #define CONTEXT_OFFSET_R17 0x1c40 #define CONTEXT_OFFSET_R18 0x2041 #define CONTEXT_OFFSET_R19 0x2442 #define CONTEXT_OFFSET_R20 0x2843 #define CONTEXT_OFFSET_R21 0x2c44 #define CONTEXT_OFFSET_R22 0x3045 #define CONTEXT_OFFSET_R23 0x3446 #define CONTEXT_OFFSET_R24 0x3847 #define CONTEXT_OFFSET_R25 0x3c48 #define CONTEXT_OFFSET_R26 0x4049 #define CONTEXT_OFFSET_R27 0x4450 #define CONTEXT_OFFSET_R28 0x4851 #define CONTEXT_OFFSET_R29 0x4c52 #define CONTEXT_OFFSET_R30 0x5053 #define CONTEXT_OFFSET_R31 0x5454 #define CONTEXT_OFFSET_CR 0x5855 #define CONTEXT_SIZE 0x5c32 #define __CONTEXT_OFFSET_SP 0x00 33 #define __CONTEXT_OFFSET_PC 0x04 34 #define __CONTEXT_OFFSET_TLS 0x08 35 #define __CONTEXT_OFFSET_R13 0x0c 36 #define __CONTEXT_OFFSET_R14 0x10 37 #define __CONTEXT_OFFSET_R15 0x14 38 #define __CONTEXT_OFFSET_R16 0x18 39 #define __CONTEXT_OFFSET_R17 0x1c 40 #define __CONTEXT_OFFSET_R18 0x20 41 #define __CONTEXT_OFFSET_R19 0x24 42 #define __CONTEXT_OFFSET_R20 0x28 43 #define __CONTEXT_OFFSET_R21 0x2c 44 #define __CONTEXT_OFFSET_R22 0x30 45 #define __CONTEXT_OFFSET_R23 0x34 46 #define __CONTEXT_OFFSET_R24 0x38 47 #define __CONTEXT_OFFSET_R25 0x3c 48 #define __CONTEXT_OFFSET_R26 0x40 49 #define __CONTEXT_OFFSET_R27 0x44 50 #define __CONTEXT_OFFSET_R28 0x48 51 #define __CONTEXT_OFFSET_R29 0x4c 52 #define __CONTEXT_OFFSET_R30 0x50 53 #define __CONTEXT_OFFSET_R31 0x54 54 #define __CONTEXT_OFFSET_CR 0x58 55 #define __CONTEXT_SIZE 0x5c 56 56 57 57 #ifndef __ASSEMBLER__ … … 60 60 #include <stdint.h> 61 61 62 typedef struct context {62 typedef struct __context { 63 63 uint32_t sp; 64 64 uint32_t pc; … … 84 84 uint32_t r31; 85 85 uint32_t cr; 86 } context_t;86 } __context_t; 87 87 88 88 #endif
Note:
See TracChangeset
for help on using the changeset viewer.