summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2020-10-28 11:24:22 +0100
committerPaolo Bonzini2020-12-10 18:15:10 +0100
commitb326b6ea7998912d0bb0565ffef34efdfe9016dc (patch)
tree0c4dab1f43755ae5aee10d3a9257338ead2dc720 /include/exec
parentsparc64: do not use ram_size global (diff)
downloadqemu-b326b6ea7998912d0bb0565ffef34efdfe9016dc.tar.gz
qemu-b326b6ea7998912d0bb0565ffef34efdfe9016dc.tar.xz
qemu-b326b6ea7998912d0bb0565ffef34efdfe9016dc.zip
make ram_size local to vl.c
Use the machine properties for the leftovers too. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/cpu-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index 19805ed6db..bd5e15dd7d 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -42,8 +42,6 @@ typedef uintptr_t ram_addr_t;
# define RAM_ADDR_FMT "%" PRIxPTR
#endif
-extern ram_addr_t ram_size;
-
/* memory API */
void qemu_ram_remap(ram_addr_t addr, ram_addr_t length);