summaryrefslogtreecommitdiff
path: root/emulators/qemu0/patches/patch-ioport.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu0/patches/patch-ioport.c')
-rw-r--r--emulators/qemu0/patches/patch-ioport.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/emulators/qemu0/patches/patch-ioport.c b/emulators/qemu0/patches/patch-ioport.c
deleted file mode 100644
index 6a926f11153..00000000000
--- a/emulators/qemu0/patches/patch-ioport.c
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ioport.c,v 1.1 2012/06/07 21:35:37 ryoon Exp $
-
-Avoid conflicts with SSP read() macro in NetBSD's <ssp/unistd.h>
-
---- ioport.c.orig 2011-08-08 18:28:42 +0000
-+++ ioport.c
-@@ -181,7 +181,7 @@ static uint32_t ioport_readb_thunk(void
- IORange *ioport = opaque;
- uint64_t data;
-
-- ioport->ops->read(ioport, addr - ioport->base, 1, &data);
-+ (*ioport->ops->read)(ioport, addr - ioport->base, 1, &data);
- return data;
- }
-
-@@ -190,7 +190,7 @@ static uint32_t ioport_readw_thunk(void
- IORange *ioport = opaque;
- uint64_t data;
-
-- ioport->ops->read(ioport, addr - ioport->base, 2, &data);
-+ (*ioport->ops->read)(ioport, addr - ioport->base, 2, &data);
- return data;
- }
-
-@@ -199,7 +199,7 @@ static uint32_t ioport_readl_thunk(void
- IORange *ioport = opaque;
- uint64_t data;
-
-- ioport->ops->read(ioport, addr - ioport->base, 4, &data);
-+ (*ioport->ops->read)(ioport, addr - ioport->base, 4, &data);
- return data;
- }
-