Subversion Repositories HelenOS

Rev

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

Rev 2141 Rev 2610
Line 44... Line 44...
44
 * 16-extended-word save area for %i[0-7] and %l[0-7] registers.
44
 * 16-extended-word save area for %i[0-7] and %l[0-7] registers.
45
 */
45
 */
46
#define STACK_WINDOW_SAVE_AREA_SIZE (16 * STACK_ITEM_SIZE)
46
#define STACK_WINDOW_SAVE_AREA_SIZE (16 * STACK_ITEM_SIZE)
47
 
47
 
48
/**
48
/**
-
 
49
 * Six extended words for first six arguments.
-
 
50
 */
-
 
51
#define STACK_ARG_SAVE_AREA_SIZE    (6 * STACK_ITEM_SIZE)
-
 
52
 
-
 
53
/**
49
 * By convention, the actual top of the stack is %sp + STACK_BIAS.
54
 * By convention, the actual top of the stack is %sp + STACK_BIAS.
50
 */
55
 */
51
#define STACK_BIAS            2047
56
#define STACK_BIAS            2047
52
 
57
 
-
 
58
/*
-
 
59
 * Offsets of arguments on stack.
-
 
60
 */
-
 
61
#define STACK_ARG0          0
-
 
62
#define STACK_ARG1          8
-
 
63
#define STACK_ARG2          16
-
 
64
#define STACK_ARG3          24
-
 
65
#define STACK_ARG4          32
-
 
66
#define STACK_ARG5          40
-
 
67
#define STACK_ARG6          48
-
 
68
 
53
#endif
69
#endif
54
 
70
 
55
/** @}
71
/** @}
56
 */
72
 */