File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,10 @@ static char bootargs[BOOT_ARG_LEN];
56
56
* 2: 0x100000 - lowmem RAM lowmem - 1MB
57
57
* 3: lowmem - 0x80000000 (reserved) 2GB - lowmem
58
58
* 4: 0x80000000 - 0x88000000 (reserved) 128MB
59
- * 5: 0xE0000000 - 0x100000000 MCFG, MMIO 512MB
60
- * 6: 0x100000000 - 0x140000000 64-bit PCI hole 1GB
61
- * 7: 0x140000000 - highmem RAM highmem - 5GB
59
+ * 5: 0xDF000000 - 0xE0000000 (reserved) 16MB
60
+ * 6: 0xE0000000 - 0x100000000 MCFG, MMIO 512MB
61
+ * 7: 0x100000000 - 0x140000000 64-bit PCI hole 1GB
62
+ * 8: 0x140000000 - highmem RAM highmem - 5GB
62
63
*/
63
64
const struct e820_entry e820_default_entries [NUM_E820_ENTRIES ] = {
64
65
{ /* 0 to video memory */
@@ -92,6 +93,13 @@ const struct e820_entry e820_default_entries[NUM_E820_ENTRIES] = {
92
93
.type = E820_TYPE_RESERVED
93
94
},
94
95
96
+ {
97
+ /* reserve for GVT */
98
+ .baseaddr = 0xDF000000 ,
99
+ .length = 0x1000000 ,
100
+ .type = E820_TYPE_RESERVED
101
+ },
102
+
95
103
{ /* ECFG_BASE to 4GB */
96
104
.baseaddr = PCI_EMUL_ECFG_BASE ,
97
105
.length = (4 * GB ) - PCI_EMUL_ECFG_BASE ,
Original file line number Diff line number Diff line change 39
39
#define E820_TYPE_ACPI_NVS 4U /* EFI 10 */
40
40
#define E820_TYPE_UNUSABLE 5U /* EFI 8 */
41
41
42
- #define NUM_E820_ENTRIES 8
42
+ #define NUM_E820_ENTRIES 9
43
43
#define LOWRAM_E820_ENTRY 2
44
- #define HIGHRAM_E820_ENTRY 7
44
+ #define HIGHRAM_E820_ENTRY 8
45
45
46
46
/* Defines a single entry in an E820 memory map. */
47
47
struct e820_entry {
You can’t perform that action at this time.
0 commit comments