summaryrefslogtreecommitdiffstats
path: root/hw/ppc/mac.h
diff options
context:
space:
mode:
authorHervé Poussineau2016-02-07 21:34:08 +0100
committerDavid Gibson2016-02-16 23:59:30 +0100
commit216c906e62626acc82427a00e9410ff39d9669a1 (patch)
treea0bd87fd5003ad7da054ba3ffcf380299775c930 /hw/ppc/mac.h
parentcuda: port SET_AUTO_RATE command to new framework (diff)
downloadqemu-216c906e62626acc82427a00e9410ff39d9669a1.tar.gz
qemu-216c906e62626acc82427a00e9410ff39d9669a1.tar.xz
qemu-216c906e62626acc82427a00e9410ff39d9669a1.zip
cuda: port SET_DEVICE_LIST command to new framework
Also implement the command, by taking device list mask into account when polling ADB devices. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/mac.h')
-rw-r--r--hw/ppc/mac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h
index 887c8c182b..5764b86c28 100644
--- a/hw/ppc/mac.h
+++ b/hw/ppc/mac.h
@@ -111,6 +111,7 @@ typedef struct CUDAState {
int data_out_index;
qemu_irq irq;
+ uint16_t adb_poll_mask;
uint8_t autopoll_rate_ms;
uint8_t autopoll;
uint8_t data_in[128];