summaryrefslogtreecommitdiff
path: root/hw/ppc/mac.h
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2016-02-07 21:34:08 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-02-17 09:59:30 +1100
commit216c906e62626acc82427a00e9410ff39d9669a1 (patch)
treea0bd87fd5003ad7da054ba3ffcf380299775c930 /hw/ppc/mac.h
parent374312e7c5cd04e29a5a6279dd7006a4a94c0f0f (diff)
downloadqemu-216c906e62626acc82427a00e9410ff39d9669a1.tar.gz
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];