* interrupts.c (interrupts_reset): New function, setup interrupt
authorStephane Carrez <stcarrez@nerim.fr>
Thu, 7 Mar 2002 18:59:38 +0000 (18:59 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Thu, 7 Mar 2002 18:59:38 +0000 (18:59 +0000)
commit261289656f5d50f63fb39e917569b6a00ecf438d
tree03525efe846b41b4f455ba52457744ea3031a61d
parentaa066ac86af343df3f305d72379378917390d391
* interrupts.c (interrupts_reset): New function, setup interrupt
vector address according to cpu mode.
(interrupts_initialize): Move reset portion to the above.
(interrupt_names): New table to give a name to interrupts.
(idefs): Handle pulse accumulator interrupts.
(interrupts_info): Print the interrupt history.
(interrupt_option_handler): New function.
(interrupt_options): New table of options.
(interrupts_update_pending): Keep track of when interrupts are
raised and implement breakpoint-on-raise-interrupt.
(interrupts_process): Keep track of when interrupts are taken
and implement breakpoint-on-interrupt.
* interrupts.h (struct interrupt_history): Define.
(struct interrupt): Keep track of the interrupt history.
(interrupts_reset): Declare.
(interrupts_initialize): Update prototype.
* m68hc11_sim.c (cpu_reset): Reset interrupts.
(cpu_initialize): Cleanup.
sim/m68hc11/ChangeLog
sim/m68hc11/interrupts.c
sim/m68hc11/interrupts.h
sim/m68hc11/m68hc11_sim.c