dm: e820: reserve memory range for EPC resource

Reserved 128MB memory range for EPC resource in E820 table, starting
from 0x80000000.
Need to align the base address b/t DM and HV.
For hypervisor, the base address will be specified in epc field in
vm_configurations.c

Tracked-On: #3179
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Binbin Wu
2019-05-22 15:36:28 +08:00
committed by ACRN System Integration
parent 7a915dc397
commit a3073175a6
2 changed files with 13 additions and 5 deletions

View File

@@ -39,9 +39,9 @@
#define E820_TYPE_ACPI_NVS 4 /* EFI 10 */
#define E820_TYPE_UNUSABLE 5 /* EFI 8 */
#define NUM_E820_ENTRIES 7
#define NUM_E820_ENTRIES 8
#define LOWRAM_E820_ENTRY 2
#define HIGHRAM_E820_ENTRY 6
#define HIGHRAM_E820_ENTRY 7
/* Defines a single entry in an E820 memory map. */
struct e820_entry {