Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 180 → Rev 179

/SPARTAN/trunk/arch/ia32/include/context.h
31,15 → 31,11
 
#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+STACK_ITEM_SIZE)
#define SP_DELTA 8
 
struct context {
__u32 sp;