mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/ide: Let the DMAIntFunc prototype use a boolean 'is_write' argument
The 'is_write' argument is either 0 or 1. Convert it to a boolean type. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
d7458e7754
commit
9842a9cfdd
6 changed files with 8 additions and 8 deletions
|
@ -2570,7 +2570,7 @@ static void ide_init1(IDEBus *bus, int unit)
|
|||
ide_sector_write_timer_cb, s);
|
||||
}
|
||||
|
||||
static int ide_nop_int(IDEDMA *dma, int x)
|
||||
static int ide_nop_int(IDEDMA *dma, bool is_write)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue