Changeset e0cdb7b6 in mainline for arch/ia64/include/context.h
- Timestamp:
- 2005-10-10T11:15:50Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a016b63
- Parents:
- ac5665a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/context.h
rac5665a re0cdb7b6 31 31 32 32 #include <arch/types.h> 33 #include <align.h> 33 34 34 35 #define STACK_ITEM_SIZE 16 36 #define STACK_ALIGNMENT 16 35 37 36 38 /* … … 46 48 #endif 47 49 48 #define context_set(c, _pc, stack, size) \49 (c)->pc = (__address) _pc; \50 (c)->bsp = ((__address) stack) + ( sizeof(the_t)); \50 #define context_set(c, _pc, stack, size) \ 51 (c)->pc = (__address) _pc; \ 52 (c)->bsp = ((__address) stack) + (ALIGN(sizeof(the_t), STACK_ALIGNMENT)); \ 51 53 (c)->sp = ((__address) stack) + (size) - SP_DELTA; 52 54
Note:
See TracChangeset
for help on using the changeset viewer.