blob: 37734fbcc0d6064c23f0ebe901318b3a90cd8b1c [file] [log] [blame]
#include "cpu.h"
#include "exec/exec-all.h"
#include "qemu/host-utils.h"
uint64_t old_io_mem_read(int io_index, hwaddr addr, unsigned size)
{
return _io_mem_read[io_index][ctzl(size)](io_mem_opaque[io_index],
addr);
}
void old_io_mem_write(int io_index, hwaddr addr,
uint64_t val, unsigned size)
{
_io_mem_write[io_index][ctzl(size)](io_mem_opaque[io_index],
addr, val);
}