mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
adb: add property to disable direct reg 3 writes
MacOS 9 has a bug in its PMU driver whereby after configuring the ADB bus devices it sends another write to reg 3 on both devices resetting them both back to the same address. Add a new disable_direct_reg3_writes property to ADBDevice to disable these direct writes which can enabled just for the upcoming pmu-adb support. 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:
parent
fb6649f172
commit
84051eb400
4 changed files with 42 additions and 28 deletions
|
@ -49,6 +49,7 @@ struct ADBDevice {
|
|||
|
||||
int devaddr;
|
||||
int handler;
|
||||
bool disable_direct_reg3_writes;
|
||||
};
|
||||
|
||||
#define ADB_DEVICE_CLASS(cls) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue