mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
mos6522: expose mos6522_update_irq() through MOS6522DeviceClass
In the case where we have an interrupt generated externally from inputs to bits 1 and 2 of port A and/or port B, it is necessary to expose mos6522_update_irq() so it can be called by the interrupt source. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
David Gibson
parent
32a8c27b5d
commit
b6c7e42f74
@@ -134,6 +134,7 @@ typedef struct MOS6522DeviceClass {
|
||||
void (*set_sr_int)(MOS6522State *dev);
|
||||
void (*portB_write)(MOS6522State *dev);
|
||||
void (*portA_write)(MOS6522State *dev);
|
||||
void (*update_irq)(MOS6522State *dev);
|
||||
/* These are used to influence the CUDA MacOS timebase calibration */
|
||||
uint64_t (*get_timer1_counter_value)(MOS6522State *dev, MOS6522Timer *ti);
|
||||
uint64_t (*get_timer2_counter_value)(MOS6522State *dev, MOS6522Timer *ti);
|
||||
|
||||
Reference in New Issue
Block a user