Hi, This patchset cleans up a little bit the Apple CUDA emulation: - correctly reject unknown commands - correctly reject commands with wrong parameters - support changing the frequency of auto-polling - support changing device list probed in auto-poll - add logs when using FILE_SERVER_FLAG/SET_POWER_MESSAGE - remove unused commands (GET/SET_6805_ADDR) - remove unimplemented GET_SET_IIC/COMBINED_FORMAT_IIC
GET_SET_IIC/COMBINED_FORMAT_IIC commands should be added again once we implement the I2C bus provided by CUDA. This also fixes MacBugs hanging at startup in the absence of ADB mouse input. Hervé Hervé Poussineau (13): cuda: add a framework to handle commands cuda: reject unknown commands cuda: port AUTOPOLL command to new framework cuda: port SET_AUTO_RATE command to new framework cuda: port SET_DEVICE_LIST command to new framework cuda: port POWERDOWN command to new framework cuda: port RESET_SYSTEM command to new framework cuda: port FILE_SERVER_FLAG command to new framework cuda: port SET_POWER_MESSAGES command to new framework cuda: port GET_TIME command to new framework cuda: port SET_TIME command to new framework cuda: remove GET_6805_ADDR command cuda: remove CUDA_GET_SET_IIC/CUDA_COMBINED_FORMAT_IIC commands hw/input/adb.c | 18 ++-- hw/misc/macio/cuda.c | 268 ++++++++++++++++++++++++++++++++++++------------- hw/ppc/mac.h | 2 + include/hw/input/adb.h | 2 +- roms/SLOF | 2 +- roms/openbios | 2 +- 6 files changed, 215 insertions(+), 79 deletions(-) -- 2.1.4