pc: Save size of RAM below 4GB
commitf30ee8a9682be4abfcb05c6389894f8cfc35c3f0
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 9 Jan 2014 19:12:42 +0000 (9 17:12 -0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 26 Jan 2014 11:11:45 +0000 (26 13:11 +0200)
tree9a766eede0ae25fe39f6fd6dd6eb19201f4756e9
parent306077640a652e090779498aadbeb0c605feaacd
pc: Save size of RAM below 4GB

The ram_below_4g value will be useful in other places, such as the ACPI
table code, and other code that currently requires passing
below_4g_mem_size around in function arguments.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
include/hw/i386/pc.h