From 75c578dcaae48f239fc87b545022efa8fa13f455 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 2 Jan 2012 15:40:52 +0200 Subject: Drop IO_MEM_ROMD Unlike ->readonly, ->readable is not inherited from aliase, so we can simply query the memory region. Signed-off-by: Avi Kivity Reviewed-by: Richard Henderson --- cpu-common.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpu-common.h') diff --git a/cpu-common.h b/cpu-common.h index ffb0a44..0f3a682 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -114,9 +114,6 @@ extern struct MemoryRegion io_mem_rom; extern struct MemoryRegion io_mem_unassigned; extern struct MemoryRegion io_mem_notdirty; -/* Acts like a ROM when read and like a device when written. */ -#define IO_MEM_ROMD (1) - #endif #endif /* !CPU_COMMON_H */ -- cgit v1.1