diff options
author | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-03-25 16:43:38 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s144.Millennium.Berkeley.EDU> | 2011-03-25 16:43:38 -0700 |
commit | 4baf0c99c55791ceb4ee70646e424fc5fa78ae27 (patch) | |
tree | 665ed8fe2dc07e7eccd7a9a61736fa1cdc329a07 /pk/handlers.c | |
parent | d9e887bd18aedc9b7c6cad1fd253a111a33426e2 (diff) | |
download | pk-4baf0c99c55791ceb4ee70646e424fc5fa78ae27.zip pk-4baf0c99c55791ceb4ee70646e424fc5fa78ae27.tar.gz pk-4baf0c99c55791ceb4ee70646e424fc5fa78ae27.tar.bz2 |
[xcc,pk,opcodes,sim] updated encoding/insn names
Diffstat (limited to 'pk/handlers.c')
-rw-r--r-- | pk/handlers.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pk/handlers.c b/pk/handlers.c index 430210d..d4c3d7c 100644 --- a/pk/handlers.c +++ b/pk/handlers.c @@ -38,6 +38,12 @@ static void handle_illegal_instruction(trapframe_t* tf) panic("An illegal instruction was executed!"); } +static void handle_breakpoint(trapframe_t* tf) +{ + dump_tf(tf); + printk("Breakpoint!\n"); +} + static void handle_misaligned_fetch(trapframe_t* tf) { dump_tf(tf); @@ -100,8 +106,9 @@ void handle_trap(trapframe_t* tf) handle_illegal_instruction, handle_privileged_instruction, handle_fp_disabled, - handle_syscall, handle_interrupt, + handle_syscall, + handle_breakpoint, handle_misaligned_ldst, handle_fault_load, handle_fault_store, |