+2015-12-25 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-config.h (WITH_CALLBACK_MEMORY): Delete.
+ * sim-core.c (sim_core_write_buffer): Likewise.
+ * sim-n-core.h (sim_core_read_aligned_N): Likewise.
+ (sim_core_write_aligned_N): Likewise.
+
2015-12-25 Mike Frysinger <vapier@gentoo.org>
* dv-pal.c: Include config.h and sim-main.h.
if (mapping == NULL)
break;
#if (WITH_DEVICES)
- if (WITH_CALLBACK_MEMORY
- && mapping->device != NULL)
+ if (mapping->device != NULL)
{
int nr_bytes = len - count;
sim_cia cia = cpu ? CPU_PC_GET (cpu) : NULL_CIA;
}
#endif
#if (WITH_HW)
- if (WITH_CALLBACK_MEMORY
- && mapping->device != NULL)
+ if (mapping->device != NULL)
{
int nr_bytes = len - count;
if (raddr + nr_bytes - 1 > mapping->bound)
do
{
#if (WITH_DEVICES)
- if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
+ if (mapping->device != NULL)
{
unsigned_M data;
if (device_io_read_buffer (mapping->device, &data, mapping->space, addr, N, CPU_STATE (cpu), cpu, cia) != N)
}
#endif
#if (WITH_HW)
- if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
+ if (mapping->device != NULL)
{
unsigned_M data;
sim_cpu_hw_io_read_buffer (cpu, cia, mapping->device, &data, mapping->space, addr, N);
do
{
#if (WITH_DEVICES)
- if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
+ if (mapping->device != NULL)
{
unsigned_M data = H2T_M (val);
if (device_io_write_buffer (mapping->device, &data, mapping->space, addr, N, CPU_STATE (cpu), cpu, cia) != N)
}
#endif
#if (WITH_HW)
- if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
+ if (mapping->device != NULL)
{
unsigned_M data = H2T_M (val);
sim_cpu_hw_io_write_buffer (cpu, cia, mapping->device, &data, mapping->space, addr, N);