Changeset 46579c66 in mainline for arch/mips32/include/context.h


Ignore:
Timestamp:
2006-03-16T17:17:41Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
79aeb43b
Parents:
41fa6f2
Message:

Updated stackarg macros for mips32.
Mips32 stack aligned on 8 bytes boundary.

File:
1 edited

Legend:

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

    r41fa6f2 r46579c66  
    3333
    3434/*
    35  * Put one item onto the stack to support get_stack_base().
     35 * Put one item onto the stack to support get_stack_base() and align it up to 8 bytes boundary.
    3636 */
    37 #define SP_DELTA        (0+STACK_ITEM_SIZE)
     37#define SP_DELTA        ((0 + STACK_ITEM_SIZE + 7) & (~7))
    3838
    3939
Note: See TracChangeset for help on using the changeset viewer.