diff --git a/hw/cr16c/virt.c b/hw/cr16c/virt.c index 1a05ba0956..cc52786970 100644 --- a/hw/cr16c/virt.c +++ b/hw/cr16c/virt.c @@ -32,7 +32,7 @@ static void virt_init(MachineState* machine) memory_region_init_ram(&m_state->flash, NULL, "flash", 16*MiB - 64*KiB, &error_fatal); memory_region_add_subregion(get_system_memory(), 0, &m_state->flash); - create_unimplemented_device("mmio", 0xFF0000, 0xFFBFFF - 0xFF0000); + create_unimplemented_device("mmio", 0xFF0000, 0xFFFBFF - 0xFF0000); //memory_region_init_alias(&m_state->mmio_alias, NULL, "mmio_alias", &m_state->flash, 0xF0000, 0xFFFFF - 0xF0000); create_unimplemented_device("icu", 0xFFFC00, 0xFFFFFF - 0xFFFC00); // interrupt controller unit