import gdb-19990422 snapshot
[deliverable/binutils-gdb.git] / sim / common / sim-n-core.h
index 46eca0355fd87ad3252e24e3f8f07ed5deefc45c..7a04a9fb4bc1d65ef66b16f82da80f40c44eff60 100644 (file)
@@ -167,7 +167,7 @@ sim_core_read_aligned_N(sim_cpu *cpu,
       if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
        {
          unsigned_M data;
-         if (device_io_read_buffer (mapping->device, &data, mapping->space, addr, N, cpu, cia) != N)
+         if (device_io_read_buffer (mapping->device, &data, mapping->space, addr, N, CPU_STATE (cpu), cpu, cia) != N)
            device_error (mapping->device, "internal error - %s - io_read_buffer should not fail",
                          XSTRING (sim_core_read_aligned_N));
          val = T2H_M (data);
@@ -298,7 +298,7 @@ sim_core_write_aligned_N(sim_cpu *cpu,
       if (WITH_CALLBACK_MEMORY && mapping->device != NULL)
        {
          unsigned_M data = H2T_M (val);
-         if (device_io_write_buffer (mapping->device, &data, mapping->space, addr, N, cpu, cia) != N)
+         if (device_io_write_buffer (mapping->device, &data, mapping->space, addr, N, CPU_STATE (cpu), cpu, cia) != N)
            device_error (mapping->device, "internal error - %s - io_write_buffer should not fail",
                          XSTRING (sim_core_write_aligned_N));
          break;
This page took 0.028362 seconds and 4 git commands to generate.