system/memory: Remove MAX_PHYS_ADDR
Remove MAX_PHYS_ADDR and MAX_PHYS_ADDR_SPACE_BITS as they're not used since the addition by commit 052e87b073cb ("memory: make section size a 128-bit integer"). Signed-off-by: Gavin Shan <gshan@redhat.com> Link: https://lore.kernel.org/r/20260608002303.851456-1-gshan@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Gavin Shan committed
Jun 8, 2026 at 10:23 UTC
cde9c445627af5aa41109dee841b3d4a446b74eb
1 file changed
-3
include/system/memory.h
-3
@@ -36,9 +36,6 @@ enum device_endian {
36
37
#define RAM_ADDR_INVALID (~(ram_addr_t)0)
38
39
-#define MAX_PHYS_ADDR_SPACE_BITS 62
40
-#define MAX_PHYS_ADDR (((hwaddr)1 << MAX_PHYS_ADDR_SPACE_BITS) - 1)
41
-
39
#define TYPE_MEMORY_REGION "memory-region"
40
DECLARE_INSTANCE_CHECKER(MemoryRegion, MEMORY_REGION,
41
TYPE_MEMORY_REGION)