Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 179 → Rev 180

/SPARTAN/trunk/arch/mips/include/asm.h
38,6 → 38,7
*
* Return the base address of the current stack.
* The stack is assumed to be STACK_SIZE bytes long.
* The stack must start on page boundary.
*/
static inline __address get_stack_base(void)
{
/SPARTAN/trunk/arch/mips/include/context.h
31,9 → 31,14
 
#include <arch/types.h>
 
#define SP_DELTA 0
#define STACK_ITEM_SIZE 4
 
/*
* Put one item onto the stack to support get_stack_base().
*/
#define SP_DELTA (0+STACK_ITEM_SIZE)
 
 
struct context {
__u32 r0;
__u32 r1;