Subversion Repositories HelenOS-historic

Rev

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

Rev 666 Rev 667
Line 69... Line 69...
69
    mov %l5, %g5
69
    mov %l5, %g5
70
    mov %l6, %g6
70
    mov %l6, %g6
71
    mov %l7, %g7
71
    mov %l7, %g7
72
.endm
72
.endm
73
 
73
 
-
 
74
#define PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE    (STACK_WINDOW_SAVE_AREA_SIZE+(4*8))
-
 
75
#define SAVED_TSTATE    -(1*8)
-
 
76
#define SAVED_TPC   -(2*8)
-
 
77
#define SAVED_TNPC  -(3*8)
-
 
78
#define SAVED_PSTATE    -(4*8)
-
 
79
 
74
.macro SAVING_HANDLER f
80
.macro PREEMPTIBLE_HANDLER f
75
    set \f, %l0
81
    set \f, %l0
76
    b saving_handler
82
    b preemptible_handler
-
 
83
    nop
-
 
84
.endm
-
 
85
 
-
 
86
.macro SIMPLE_HANDLER f
-
 
87
    call \f
77
    nop
88
    nop
78
.endm
89
.endm
79
#endif /* __ASM__ */
90
#endif /* __ASM__ */
80
 
91
 
81
#endif
92
#endif