loader: Update the memory address of GUEST_CFG_OFFSET

GUEST_CFG_OFFSET is used to pass the memory top info from DM
to HV. The address should be in E820 reserved range to prevent
guest use it for other purpose.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei
2018-07-05 11:26:22 +08:00
committed by lijinxia
parent a91952d3d4
commit 76662a634f
3 changed files with 14 additions and 14 deletions

View File

@@ -262,11 +262,11 @@ struct acrn_vm_pci_msix_remap {
* It's designed to support passing DM config data pointer, based on it,
* hypervisor would parse then pass DM defined configuration to GUEST VCPU
* when booting guest VM.
* the address 0xd0000 here is designed by DM, as it arranged all memory
* layout below 1M, DM should make sure there is no overlap for the address
* 0xd0000 usage.
* the address 0xef000 here is designed by DM, as it arranged all memory
* layout below 1M, DM add this address to E280 reserved range to make sure
* there is no overlap for the address 0xef000 usage.
*/
#define GUEST_CFG_OFFSET 0xd0000
#define GUEST_CFG_OFFSET 0xef000
/**
* @brief Info The power state data of a VCPU.