Changeset 2277e03 in mainline for kernel/arch/mips32/src/mips32.c


Ignore:
Timestamp:
2013-03-07T22:53:05Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
850235d, e4a1497
Parents:
31399f3
Message:

For all but ia64, make the actual istate_t location match istate_get().

  • Drop SP_DELTA from the calculation of the bottom of the kernel stack.
  • Make the kernel stack start at its last address (except for ia64).
  • Add alignment to istate_t where needed.
  • istate_get() on ia64 still returns a wrong address.
File:
1 edited

Legend:

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

    r31399f3 r2277e03  
    228228{
    229229        supervisor_sp =
    230             (uintptr_t) &THREAD->kstack[STACK_SIZE - SP_DELTA];
     230            (uintptr_t) &THREAD->kstack[STACK_SIZE];
    231231}
    232232
Note: See TracChangeset for help on using the changeset viewer.