DM: Update the default e820 table to reserve 0xF0000~0x100000

The region of MPtable/ACPI table/SMBios resides in
0xF0000 ~ 0x100000. They should be marked as RESERVED instead of
RAM type in e820 table.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei
2018-04-04 11:55:27 +08:00
committed by Jack Ren
parent ee43f23b0e
commit 223efeb986
2 changed files with 26 additions and 11 deletions

View File

@@ -42,9 +42,9 @@
#define E820_TYPE_ACPI_NVS 4 /* EFI 10 */
#define E820_TYPE_UNUSABLE 5 /* EFI 8 */
#define NUM_E820_ENTRIES 4
#define LOWRAM_E820_ENTRIES 0
#define HIGHRAM_E820_ENTRIES 3
#define NUM_E820_ENTRIES 6
#define LOWRAM_E820_ENTRIES 2
#define HIGHRAM_E820_ENTRIES 5
/* Defines a single entry in an E820 memory map. */
struct e820_entry {