Changeset b87f418 in mainline for arch/sparc64/include/context.h
- Timestamp:
- 2005-12-07T23:00:30Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f62355a
- Parents:
- 4acac843
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/include/context.h
r4acac843 rb87f418 31 31 32 32 #ifndef __sparc64_STACK_H__ 33 # include <arch/stack.h>33 # include <arch/stack.h> 34 34 #endif 35 35 … … 50 50 #define context_set(c, _pc, stack, size) \ 51 51 (c)->pc = ((__address) _pc) - 8; \ 52 (c)->sp = ((__address) stack) + ALIGN ((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \52 (c)->sp = ((__address) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 53 53 (c)->fp = -STACK_BIAS 54 54
Note:
See TracChangeset
for help on using the changeset viewer.