Subversion Repositories HelenOS-historic

Rev

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

Rev 634 Rev 663
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
#include <arch/trap/trap.h>
29
#include <arch/trap/trap.h>
30
#include <arch/trap/trap_table.h>
30
#include <arch/trap/trap_table.h>
31
#include <arch/trap/regwin.h>
31
#include <arch/trap/regwin.h>
-
 
32
#include <arch/trap/interrupt.h>
32
#include <arch/asm.h>
33
#include <arch/asm.h>
33
#include <memstr.h>
34
#include <memstr.h>
34
#include <debug.h>
35
#include <debug.h>
35
#include <arch/types.h>
36
#include <arch/types.h>
36
#include <typedefs.h>
37
#include <typedefs.h>
Line 52... Line 53...
52
     * Install kernel-provided handlers.
53
     * Install kernel-provided handlers.
53
     */
54
     */
54
    trap_install_handler(TT_CLEAN_WINDOW, CLEAN_WINDOW_HANDLER_SIZE, false);
55
    trap_install_handler(TT_CLEAN_WINDOW, CLEAN_WINDOW_HANDLER_SIZE, false);
55
    trap_install_handler(TT_SPILL_0_NORMAL, SPILL_HANDLER_SIZE, false);
56
    trap_install_handler(TT_SPILL_0_NORMAL, SPILL_HANDLER_SIZE, false);
56
    trap_install_handler(TT_FILL_0_NORMAL, FILL_HANDLER_SIZE, false);
57
    trap_install_handler(TT_FILL_0_NORMAL, FILL_HANDLER_SIZE, false);
-
 
58
    trap_install_handler(TT_CLEAN_WINDOW, CLEAN_WINDOW_HANDLER_SIZE, true);
-
 
59
    trap_install_handler(TT_SPILL_0_NORMAL, SPILL_HANDLER_SIZE, true);
-
 
60
    trap_install_handler(TT_FILL_0_NORMAL, FILL_HANDLER_SIZE, true);
-
 
61
   
-
 
62
    trap_install_handler(TT_INTERRUPT_VECTOR_TRAP, INTERRUPT_VECTOR_TRAP_HANDLER_SIZE, false);
57
}
63
}
58
 
64
 
59
/** Copy trap handler to active trap table.
65
/** Copy trap handler to active trap table.
60
 *
66
 *
61
 * The handler is copied from trap_table_kernel to trap_handler.
67
 * The handler is copied from trap_table_kernel to trap_handler.