Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 179 → Rev 180

/SPARTAN/trunk/arch/ia32/include/context.h
31,11 → 31,15
 
#include <arch/types.h>
 
#define STACK_ITEM_SIZE 4
 
/*
* Both context_save() and context_restore() eat two doublewords from the stack.
* First for pop of the saved register, second during ret instruction.
*
* One item is put onto stack to support get_stack_base().
*/
#define SP_DELTA 8
#define SP_DELTA (8+STACK_ITEM_SIZE)
 
struct context {
__u32 sp;