mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-04 18:00:55 +00:00
hv: Enlarge E820_MAX_ENTRIES to 64
e820_alloc_memory() splits one E820 entry into two entries. With vEPT enabled, e820_alloc_memory() is called one more. On some platforms, the e820 entries might exceed 32. Enlarge E820_MAX_ENTRIES to 64. Please note, it must be less than 128 due to constrain of zeropage. Linux kernel defines it as 128. Tracked-On: #6168 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
9ae32f96af
commit
d965f6e6a1
@ -16,7 +16,7 @@
|
|||||||
#define E820_TYPE_ACPI_NVS 4U /* EFI 10 */
|
#define E820_TYPE_ACPI_NVS 4U /* EFI 10 */
|
||||||
#define E820_TYPE_UNUSABLE 5U /* EFI 8 */
|
#define E820_TYPE_UNUSABLE 5U /* EFI 8 */
|
||||||
|
|
||||||
#define E820_MAX_ENTRIES 32U
|
#define E820_MAX_ENTRIES 64U
|
||||||
|
|
||||||
/** Defines a single entry in an E820 memory map. */
|
/** Defines a single entry in an E820 memory map. */
|
||||||
struct e820_entry {
|
struct e820_entry {
|
||||||
|
Loading…
Reference in New Issue
Block a user