mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
macio: move unaligned DMA write code into separate pmac_dma_write() function
Similarly switch the macio IDE routines over to use the new function and tidy-up the remaining code as required. [Maintainer edit: printf format codes adjusted for 32/64bit. --js] Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Acked-by: John Snow <jsnow@redhat.com> Message-id: 1425939893-14404-3-git-send-email-mark.cave-ayland@ilande.co.uk Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
4827ac1e8f
commit
bd4214fc92
2 changed files with 126 additions and 148 deletions
|
@ -43,10 +43,6 @@ struct DBDMA_io {
|
|||
uint8_t remainder[0x200];
|
||||
int remainder_len;
|
||||
QEMUIOVector iov;
|
||||
bool finish_remain_read;
|
||||
hwaddr finish_addr;
|
||||
hwaddr finish_len;
|
||||
int requests;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue