Changeset 50fe620 in mainline


Ignore:
Timestamp:
2006-03-27T13:21:37Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6d4566
Parents:
cc27ae48
Message:

context_set patch in kernel for changed allocation of ia64 RSE and stack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/context.h

    rcc27ae48 r50fe620  
    4848#endif
    4949
     50/*RSE stack should begin under bottom of stack @ kernel*/
    5051#define context_set(c, _pc, stack, size)                                                                \
    5152        (c)->pc = (__address) _pc;                                                                      \
    52         (c)->bsp = ((__address) stack) + ALIGN_UP(sizeof(the_t), REGISTER_STACK_ALIGNMENT);             \
     53        (c)->bsp = ((__address) stack) + ALIGN_UP((size), STACK_ALIGNMENT) ;    \
    5354        (c)->ar_pfs &= PFM_MASK;                                                                        \
    5455        (c)->sp = ((__address) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - SP_DELTA;
Note: See TracChangeset for help on using the changeset viewer.