Subversion Repositories HelenOS-historic

Rev

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

Rev 564 Rev 919
Line 28... Line 28...
28
 
28
 
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
#include <arch/register.h>
33
#include <typedefs.h>
34
#include <typedefs.h>
34
#include <align.h>
35
#include <align.h>
35
#include <arch/stack.h>
36
#include <arch/stack.h>
36
 
37
 
37
/*
38
/*
Line 40... Line 41...
40
 *
41
 *
41
 * One item is put onto the stack to support get_stack_base().
42
 * One item is put onto the stack to support get_stack_base().
42
 */
43
 */
43
#define SP_DELTA    (0+ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
44
#define SP_DELTA    (0+ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
44
 
45
 
45
#define PFM_MASK    (~0x3fffffffff)
-
 
46
 
-
 
47
#ifdef context_set
46
#ifdef context_set
48
#undef context_set
47
#undef context_set
49
#endif
48
#endif
50
 
49
 
51
#define context_set(c, _pc, stack, size)                                \
50
#define context_set(c, _pc, stack, size)                                \