Changeset 74813216 in mainline for arch/sparc64/include/context.h
- Timestamp:
- 2005-12-01T13:36:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 22e10ab
- Parents:
- ee69c49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/include/context.h
ree69c49 r74813216 30 30 #define __sparc64_CONTEXT_H__ 31 31 32 #ifndef __sparc64_STACK_H__ 32 33 #include <arch/stack.h> 34 #endif 33 35 34 36 #ifndef __sparc64_TYPES_H__ … … 48 50 #define context_set(c, _pc, stack, size) \ 49 51 (c)->pc = ((__address) _pc) - 8; \ 52 (c)->fp = NULL; \ 50 53 (c)->sp = ((__address) stack) + ALIGN((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA) 51 54 52 55 /* 53 56 * Only save registers that must be preserved across 54 * function calls. 57 * function calls and that are not saved in caller's 58 * register window. 55 59 */ 56 60 struct context { 57 __u64 l0;58 __u64 l1;59 __u64 l2;60 __u64 l3;61 __u64 l4;62 __u64 l5;63 __u64 l6;64 __u64 l7;65 61 __u64 i1; 66 62 __u64 i2; … … 68 64 __u64 i4; 69 65 __u64 i5; 70 __address sp; /* %i6 */66 __address fp; /* %i6 */ 71 67 __address pc; /* %i7 */ 68 __address sp; 72 69 ipl_t ipl; 73 70 };
Note:
See TracChangeset
for help on using the changeset viewer.