Changeset 26aafe8 in mainline for kernel/arch/ia64/src/ia64.c


Ignore:
Timestamp:
2011-05-19T16:47:49Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a6d8726
Parents:
bcaca55
Message:

cleanup the huge mess related to stacks, their sizes and locations
use two frames for kernel stacks by default on all platforms (to play it safe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/ia64.c

    rbcaca55 r26aafe8  
    250250
    251251        switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry,
    252             ((uintptr_t) kernel_uarg->uspace_stack) + PAGE_SIZE -
     252            ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE -
    253253            ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
    254             ((uintptr_t) kernel_uarg->uspace_stack) + PAGE_SIZE,
     254            ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE,
    255255            (uintptr_t) kernel_uarg->uspace_uarg, psr.value, rsc.value);
    256256
Note: See TracChangeset for help on using the changeset viewer.