Changeset 9417cdc in mainline


Ignore:
Timestamp:
2006-05-02T14:23:37Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e34a141
Parents:
6445baf
Message:

ppc32: fix starting stack address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/ppc32.c

    r6445baf r9417cdc  
    7777void userspace(uspace_arg_t *kernel_uarg)
    7878{
    79         userspace_asm((__address) kernel_uarg->uspace_uarg, (__address) kernel_uarg->uspace_stack, (__address) kernel_uarg->uspace_entry);
     79        userspace_asm((__address) kernel_uarg->uspace_uarg, (__address) kernel_uarg->uspace_stack + THREAD_STACK_SIZE - SP_DELTA, (__address) kernel_uarg->uspace_entry);
    8080       
    8181        /* Unreachable */
Note: See TracChangeset for help on using the changeset viewer.