x86: qemu: Support getting high memory size
authorBin Meng <bmeng.cn@gmail.com>
Thu, 29 Aug 2019 09:53:05 +0000 (02:53 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 10 Sep 2019 06:19:39 +0000 (14:19 +0800)
commitea67d549b89dbfee2bc78ba75c5b1406950f5e46
treeead0dec3dc4a0c41b7dc3450236020f678e6f5ed
parentf4c0030074544e8d3105bc9e4debb82e964ab126
x86: qemu: Support getting high memory size

At present only size of memory that is below 4GiB is retrieved from
QEMU. Add a function that gets size of memory that is above 4GiB.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Aiden Park <aiden.park@intel.com>
arch/x86/cpu/qemu/dram.c
arch/x86/include/asm/arch-qemu/qemu.h