Subversion Repositories HelenOS-historic

Rev

Rev 173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 173 Rev 180
Line 29... Line 29...
29
#ifndef __ia64_CONTEXT_H__
29
#ifndef __ia64_CONTEXT_H__
30
#define __ia64_CONTEXT_H__
30
#define __ia64_CONTEXT_H__
31
 
31
 
32
#include <arch/types.h>
32
#include <arch/types.h>
33
 
33
 
-
 
34
#define STACK_ITEM_SIZE 16
-
 
35
 
34
/*
36
/*
35
 * context_save() and context_restore() are both leaf procedures.
37
 * context_save() and context_restore() are both leaf procedures.
36
 * No need to allocate scratch area.
38
 * No need to allocate scratch area.
-
 
39
 *
-
 
40
 * One item is put onto the stack to support get_stack_base().
37
 */
41
 */
38
#define SP_DELTA    0
42
#define SP_DELTA    (0+STACK_ITEM_SIZE)
39
 
43
 
40
#ifdef context_set
44
#ifdef context_set
41
#undef context_set
45
#undef context_set
42
#endif
46
#endif
43
 
47