summaryrefslogtreecommitdiffstats
path: root/hw/ide/macio.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-02-19 19:08:49 +0100
committerPhilippe Mathieu-Daudé2020-02-20 14:47:08 +0100
commit9842a9cfdddfdc983f2ec09772a896be10c7373e (patch)
tree02891c1897010c3a94080304c2fafee986847aa7 /hw/ide/macio.c
parenthw/ide/internal: Remove unused DMARestartFunc typedef (diff)
downloadqemu-9842a9cfdddfdc983f2ec09772a896be10c7373e.tar.gz
qemu-9842a9cfdddfdc983f2ec09772a896be10c7373e.tar.xz
qemu-9842a9cfdddfdc983f2ec09772a896be10c7373e.zip
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>
Diffstat (limited to 'hw/ide/macio.c')
-rw-r--r--hw/ide/macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index 7a8470e921..a9f25e5d02 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -376,7 +376,7 @@ static void macio_ide_reset(DeviceState *dev)
ide_bus_reset(&d->bus);
}
-static int ide_nop_int(IDEDMA *dma, int x)
+static int ide_nop_int(IDEDMA *dma, bool is_write)
{
return 0;
}