mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
2e4a7c9c5d
commit
293c867d8c
5 changed files with 15 additions and 10 deletions
1
hw/adb.h
1
hw/adb.h
|
@ -84,5 +84,4 @@ int adb_poll(ADBBusState *s, uint8_t *buf_out);
|
|||
#define TYPE_ADB_KEYBOARD "adb-keyboard"
|
||||
#define TYPE_ADB_MOUSE "adb-mouse"
|
||||
|
||||
extern ADBBusState adb_bus;
|
||||
#endif /* !defined(__ADB_H__) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue