Changeset f0f05ad in mainline
- Timestamp:
- 2006-11-11T14:41:23Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 282f2c9c
- Parents:
- 3869e9c5
- Location:
- kernel/arch/sparc64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/context.h
r3869e9c5 rf0f05ad 49 49 (c)->pc = ((uintptr_t) _pc) - 8; \ 50 50 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 51 (c)->fp = -STACK_BIAS; \ 52 (c)->cleanwin = 0 51 (c)->fp = -STACK_BIAS 53 52 54 53 … … 77 76 uint64_t l7; 78 77 ipl_t ipl; 79 uint64_t cleanwin;80 78 }; 81 79 -
kernel/arch/sparc64/include/context_offset.h
r3869e9c5 rf0f05ad 48 48 #define OFFSET_L6 0x80 49 49 #define OFFSET_L7 0x88 50 #define OFFSET_CLEANWIN 0x9851 50 52 51 #endif -
kernel/arch/sparc64/src/context.S
r3869e9c5 rf0f05ad 61 61 stx %l6, [\r + OFFSET_L6] 62 62 stx %l7, [\r + OFFSET_L7] 63 rdpr %cleanwin, %g164 stx %g1, [\r + OFFSET_CLEANWIN]65 63 .endm 66 64 … … 84 82 ldx [\r + OFFSET_L6], %l6 85 83 ldx [\r + OFFSET_L7], %l7 86 ldx [\r + OFFSET_CLEANWIN], %g187 wrpr %g1, %g0, %cleanwin88 84 .endm 89 85
Note:
See TracChangeset
for help on using the changeset viewer.