aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/mac.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-23 23:04:05 +0000
committerAlexander Graf <agraf@suse.de>2013-01-25 22:02:55 +0100
commit293c867d8c7399d17e6b593053411a6515171f38 (patch)
tree77ac79d1c0525ac72aff7053bd204a7bdc793d04 /hw/ppc/mac.h
parent2e4a7c9c5df442d4223e738f7e8f73192b8b2a65 (diff)
cuda: Move ADB bus into CUDA state
Replace the global adb_bus with a CUDA-internal one, accessed using regular qdev child bus accessor. Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/mac.h')
-rw-r--r--hw/ppc/mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h
index 26cb497b2d..b17107b797 100644
--- a/hw/ppc/mac.h
+++ b/hw/ppc/mac.h
@@ -28,6 +28,7 @@
#include "exec/memory.h"
#include "hw/sysbus.h"
#include "hw/ide/internal.h"
+#include "hw/adb.h"
/* SMP is not enabled, for now */
#define MAX_CPUS 1
@@ -93,6 +94,7 @@ typedef struct CUDAState {
uint8_t ier;
uint8_t anh;
+ ADBBusState adb_bus;
CUDATimer timers[2];
uint32_t tick_offset;