mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv: relocate ACPI DATA address to 0x7fe00000
Relocate ACPI address to 0x7fe00000 and ACPI NVS to 0x7ff00000 correspondingly. In this case, we could include TPM event log region [0x7ffb0000, 0x80000000) into ACPI NVS. Tracked-On: #6320 Signed-off-by: Fei Li <fei1.li@intel.com>
This commit is contained in:
@@ -199,17 +199,17 @@ static const struct e820_entry pre_ve820_template[E820_MAX_ENTRIES] = {
|
||||
},
|
||||
{ /* part2 of lowmem of hpa1*/
|
||||
.baseaddr = PRE_RTVM_SW_SRAM_BASE_GPA + PRE_RTVM_SW_SRAM_MAX_SIZE,
|
||||
.length = MEM_2G - MEM_1M - (PRE_RTVM_SW_SRAM_BASE_GPA + PRE_RTVM_SW_SRAM_MAX_SIZE),
|
||||
.length = VIRT_ACPI_DATA_ADDR - (PRE_RTVM_SW_SRAM_BASE_GPA + PRE_RTVM_SW_SRAM_MAX_SIZE),
|
||||
.type = E820_TYPE_RAM
|
||||
},
|
||||
{ /* ACPI Reclaim */
|
||||
.baseaddr = VIRT_ACPI_DATA_ADDR,/* consecutive from 0x7fff0000UL */
|
||||
.baseaddr = VIRT_ACPI_DATA_ADDR,/* consecutive from 0x7fe00000UL */
|
||||
.length = (960U * MEM_1K), /* 960KB */
|
||||
.type = E820_TYPE_ACPI_RECLAIM
|
||||
},
|
||||
{ /* ACPI NVS */
|
||||
.baseaddr = VIRT_ACPI_NVS_ADDR, /* consecutive after ACPI Reclaim */
|
||||
.length = 0x10000, /* 64KB */
|
||||
.length = MEM_1M, /* only the first 64KB is used for NVS */
|
||||
.type = E820_TYPE_ACPI_NVS
|
||||
},
|
||||
{ /* 32bit PCI hole */
|
||||
|
Reference in New Issue
Block a user