Changeset 79aeb43b in mainline for arch/mips32/include/context.h


Ignore:
Timestamp:
2006-03-16T17:33:40Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2ba1f39
Parents:
46579c66
Message:

Stack constants moved to stack.h as on other archs.

File:
1 edited

Legend:

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

    r46579c66 r79aeb43b  
    3030#define __mips32_CONTEXT_H__
    3131
    32 #define STACK_ITEM_SIZE 4
     32#include <align.h>
     33#include <arch/stack.h>
    3334
    3435/*
    35  * Put one item onto the stack to support get_stack_base() and align it up to 8 bytes boundary.
     36 * Put one item onto the stack to support get_stack_base() and align it up.
    3637 */
    37 #define SP_DELTA        ((0 + STACK_ITEM_SIZE + 7) & (~7))
     38#define SP_DELTA        (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
    3839
    3940
Note: See TracChangeset for help on using the changeset viewer.