mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
esp: implement non-DMA transfers in PDMA mode
The MacOS toolbox ROM uses non-DMA TI commands to handle the first/last byte of an unaligned 16-bit transfer to memory. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-42-mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
238ec4d7d4
commit
1b9e48a5bd
2 changed files with 98 additions and 36 deletions
|
@ -40,6 +40,7 @@ struct ESPState {
|
|||
uint32_t do_cmd;
|
||||
|
||||
bool data_in_ready;
|
||||
uint8_t ti_cmd;
|
||||
int dma_enabled;
|
||||
|
||||
uint32_t async_len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue