Changeset 5b1ced0 in mainline for arch/sparc64/src/trap/trap.c


Ignore:
Timestamp:
2005-12-25T12:11:23Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39494010
Parents:
7ae4443
Message:

sparc64 work.
Initial interrupt_vector_trap handler and fixes needed to make it do the right thing (i.e. panic()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/src/trap/trap.c

    r7ae4443 r5b1ced0  
    3030#include <arch/trap/trap_table.h>
    3131#include <arch/trap/regwin.h>
     32#include <arch/trap/interrupt.h>
    3233#include <arch/asm.h>
    3334#include <memstr.h>
     
    5556        trap_install_handler(TT_SPILL_0_NORMAL, SPILL_HANDLER_SIZE, false);
    5657        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);
    5763}
    5864
Note: See TracChangeset for help on using the changeset viewer.