device_error (client, "memory map %d:0x%lx..0x%lx (%ld bytes) overlaps %d:0x%lx..0x%lx (%ld bytes)",
space,
(long) addr,
+ (long) (addr + nr_bytes - 1),
(long) nr_bytes,
- (long) (addr + (nr_bytes - 1)),
next_mapping->space,
(long) next_mapping->base,
(long) next_mapping->bound,
sim_hw_abort (sd, client, "memory map %d:0x%lx..0x%lx (%ld bytes) overlaps %d:0x%lx..0x%lx (%ld bytes)",
space,
(long) addr,
- (long) nr_bytes,
(long) (addr + (nr_bytes - 1)),
+ (long) nr_bytes,
next_mapping->space,
(long) next_mapping->base,
(long) next_mapping->bound,
sim_io_error (sd, "memory map %d:0x%lx..0x%lx (%ld bytes) overlaps %d:0x%lx..0x%lx (%ld bytes)",
space,
(long) addr,
- (long) nr_bytes,
(long) (addr + (nr_bytes - 1)),
+ (long) nr_bytes,
next_mapping->space,
(long) next_mapping->base,
(long) next_mapping->bound,