Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1055 → Rev 1054

/kernel/trunk/arch/mips32/include/context.h
29,13 → 29,12
#ifndef __mips32_CONTEXT_H__
#define __mips32_CONTEXT_H__
 
#include <align.h>
#include <arch/stack.h>
#define STACK_ITEM_SIZE 4
 
/*
* Put one item onto the stack to support get_stack_base() and align it up.
* Put one item onto the stack to support get_stack_base() and align it up to 8 bytes boundary.
*/
#define SP_DELTA (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
#define SP_DELTA ((0 + STACK_ITEM_SIZE + 7) & (~7))
 
 
#ifndef __ASM__