Changeset 58093d9 in mainline
- Timestamp:
- 2018-07-17T22:32:04Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edc64c0
- Parents:
- 4177e70
- git-author:
- Jakub Jermar <jakub@…> (2018-07-17 22:25:51)
- git-committer:
- Jakub Jermar <jakub@…> (2018-07-17 22:32:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/arch/context.h
r4177e70 r58093d9 50 50 #define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT)) 51 51 52 extern void *__gp; 52 53 /* RSE stack starts at the bottom of memory stack, hence the division by 2. */ 53 54 #define context_set(c, _pc, stack, size) \ … … 57 58 (c)->ar_pfs &= PFM_MASK; \ 58 59 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size / 2), STACK_ALIGNMENT) - SP_DELTA; \ 60 (c)->r1 = (uintptr_t) &__gp; \ 59 61 } while (0) 60 62
Note:
See TracChangeset
for help on using the changeset viewer.