Remove unassigned_io_write from ioport.c

This commit is contained in:
lazymio 2022-04-04 11:25:40 +02:00
parent 2f113b11d1
commit 7e64e620d2
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -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)
{