Subversion Repositories HelenOS

Rev

Rev 2441 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2441 Rev 2774
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ia32_CONTEXT_H_
35
#ifndef KERN_ia32_CONTEXT_H_
36
#define KERN_ia32_CONTEXT_H_
36
#define KERN_ia32_CONTEXT_H_
37
 
37
 
-
 
38
#ifdef KERNEL
38
#include <arch/types.h>
39
#include <arch/types.h>
39
 
40
 
40
#define STACK_ITEM_SIZE 4
41
#define STACK_ITEM_SIZE 4
41
 
42
 
42
/*
43
/*
Line 45... Line 46...
45
 *
46
 *
46
 * One item is put onto stack to support get_stack_base().
47
 * One item is put onto stack to support get_stack_base().
47
 */
48
 */
48
#define SP_DELTA    (8 + STACK_ITEM_SIZE)
49
#define SP_DELTA    (8 + STACK_ITEM_SIZE)
49
 
50
 
-
 
51
#endif /* KERNEL */
-
 
52
 
50
/*
53
/*
51
 * Only save registers that must be preserved across
54
 * Only save registers that must be preserved across
52
 * function calls.
55
 * function calls.
53
 */
56
 */
54
typedef struct {
57
typedef struct {