From 7e64e620d2c53f563ff934e880a88fc08f642405 Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 4 Apr 2022 11:25:40 +0200 Subject: [PATCH] Remove unassigned_io_write from ioport.c --- qemu/softmmu/ioport.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/qemu/softmmu/ioport.c b/qemu/softmmu/ioport.c index e55d0295..64e1a2e5 100644 --- a/qemu/softmmu/ioport.c +++ b/qemu/softmmu/ioport.c @@ -30,24 +30,6 @@ #include "exec/memory.h" #include "uc_priv.h" -static uint64_t unassigned_io_read(struct uc_struct *uc, void* opaque, hwaddr addr, unsigned size) -{ -#ifdef _MSC_VER - return (uint64_t)0xffffffffffffffffULL; -#else - return (uint64_t)-1ULL; -#endif -} - -static void unassigned_io_write(struct uc_struct *uc, void* opaque, hwaddr addr, uint64_t data, unsigned size) -{ -} - -const MemoryRegionOps unassigned_io_ops = { - .read = unassigned_io_read, - .write = unassigned_io_write, - .endianness = DEVICE_NATIVE_ENDIAN, -}; void cpu_outb(struct uc_struct *uc, uint32_t addr, uint8_t val) {