diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-05-20 15:36:29 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-05-20 15:36:29 +0000 |
commit | 940f4ec839747107f1626d8dbf1755af0d8e35b0 (patch) | |
tree | c10bd871155442a820ee62f17a7628cbc6e25310 /sim/m68hc11/interrupts.h | |
parent | b869aee0d0873c02c46114190a6b46e0164c1b72 (diff) | |
download | gdb-940f4ec839747107f1626d8dbf1755af0d8e35b0.tar.gz |
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.
Diffstat (limited to 'sim/m68hc11/interrupts.h')
-rw-r--r-- | sim/m68hc11/interrupts.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/m68hc11/interrupts.h b/sim/m68hc11/interrupts.h index 39069cd3426..69afa540677 100644 --- a/sim/m68hc11/interrupts.h +++ b/sim/m68hc11/interrupts.h @@ -1,5 +1,5 @@ /* interrupts.h -- 68HC11 Interrupts Emulation - Copyright 1999, 2000 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001 Free Software Foundation, Inc. Written by Stephane Carrez (stcarrez@worldnet.fr) This file is part of GDB, GAS, and the GNU binutils. @@ -109,11 +109,13 @@ struct interrupts { signed64 start_mask_cycle; signed64 min_mask_cycles; signed64 max_mask_cycles; + signed64 last_mask_cycles; /* - Same for XIRQ. */ signed64 xirq_start_mask_cycle; signed64 xirq_min_mask_cycles; signed64 xirq_max_mask_cycles; + signed64 xirq_last_mask_cycles; /* - Total number of interrupts raised. */ unsigned long nb_interrupts_raised; |