HV: modify ve820 to enable low mem at 0x100000

Some OS like Zephyr need to run at 0x100000, so modify the ve820 table
accordingly;

Tracked-On: #3214

Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Victor Sun 2019-05-31 09:59:22 +08:00 committed by wenlingz
parent ea7ca8595c
commit 6940cabd22
3 changed files with 6 additions and 6 deletions

View File

@ -22,8 +22,8 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_APL_MRB] = {
},
{ /* lowmem */
.baseaddr = 0x200000UL, /* 2MB */
.length = 0x1FE00000UL, /* 510MB */
.baseaddr = 0x100000UL, /* 1MB */
.length = 0x1FF00000UL, /* 511MB */
.type = E820_TYPE_RAM
},

View File

@ -22,8 +22,8 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_DNV_CB2] = {
},
{ /* lowmem */
.baseaddr = 0x200000UL, /* 2MB */
.length = 0x7FE00000UL, /* 2046MB */
.baseaddr = 0x100000UL, /* 1MB */
.length = 0x7FF00000UL, /* 2047MB */
.type = E820_TYPE_RAM
},

View File

@ -22,8 +22,8 @@ static const struct e820_entry ve820_entry[VE820_ENTRIES_KBL_NUC_i7] = {
},
{ /* lowmem */
.baseaddr = 0x200000UL, /* 2MB */
.length = 0x1FE00000UL, /* 510MB */
.baseaddr = 0x100000UL, /* 1MB */
.length = 0x1FF00000UL, /* 511MB */
.type = E820_TYPE_RAM
},