diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-03-05 15:55:22 +0000 |
---|---|---|
committer | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2022-03-09 09:29:10 +0000 |
commit | 4718125192875085e6b1104e8286dbda7d4db682 (patch) | |
tree | b254d8ee99d06b9ab2499fc5c91bdb7c7cfa3967 /include | |
parent | 580399c2775717ef8329f63ca1bdf26047147609 (diff) | |
download | qemu-4718125192875085e6b1104e8286dbda7d4db682.zip qemu-4718125192875085e6b1104e8286dbda7d4db682.tar.gz qemu-4718125192875085e6b1104e8286dbda7d4db682.tar.bz2 |
macfb: don't use special irq_state and irq_mask variables in MacfbState
The current IRQ state and IRQ mask are handled exactly the same as standard
register accesses, so store these values directly in the regs array rather
than having separate variables for them.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220305155530.9265-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/display/macfb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/display/macfb.h b/include/hw/display/macfb.h index e52775a..6d9f0f7 100644 --- a/include/hw/display/macfb.h +++ b/include/hw/display/macfb.h @@ -66,8 +66,6 @@ typedef struct MacfbState { uint32_t regs[MACFB_NUM_REGS]; MacFbMode *mode; - uint32_t irq_state; - uint32_t irq_mask; QEMUTimer *vbl_timer; qemu_irq irq; } MacfbState; |