Subversion Repositories HelenOS

Rev

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

Rev 1851 Rev 1852
Line 77... Line 77...
77
#define INTERRUPT_LEVEL_N_HANDLER_SIZE      TRAP_TABLE_ENTRY_SIZE
77
#define INTERRUPT_LEVEL_N_HANDLER_SIZE      TRAP_TABLE_ENTRY_SIZE
78
#define INTERRUPT_VECTOR_TRAP_HANDLER_SIZE  TRAP_TABLE_ENTRY_SIZE
78
#define INTERRUPT_VECTOR_TRAP_HANDLER_SIZE  TRAP_TABLE_ENTRY_SIZE
79
 
79
 
80
#ifdef __ASM__
80
#ifdef __ASM__
81
.macro INTERRUPT_LEVEL_N_HANDLER n
81
.macro INTERRUPT_LEVEL_N_HANDLER n
82
    save %sp, -PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE, %sp
-
 
83
    mov \n - 1, %o0
82
    mov \n - 1, %g2
84
    PREEMPTIBLE_HANDLER exc_dispatch
83
    PREEMPTIBLE_HANDLER exc_dispatch
85
.endm
84
.endm
86
 
85
 
87
.macro INTERRUPT_VECTOR_TRAP_HANDLER
86
.macro INTERRUPT_VECTOR_TRAP_HANDLER
88
    save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
87
    save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp