From 1d77b209d2aec7bc28c080dd9807f549a13e309d Mon Sep 17 00:00:00 2001 From: fridtjof Date: Mon, 25 Aug 2025 22:21:48 +0200 Subject: [PATCH] virt: fix mmio region size --- hw/cr16c/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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