Displaying 1 result from an estimated 1 matches for "e820_change_range_type".
2011 Jul 19
0
[PATCH 2/3] x86-64/MMCFG: finally make Fam10 enabling work
...return 0;
+ }
+
+ memmove(e820->map + i + 1, e820->map + i,
+ (e820->nr_map - i) * sizeof(*e820->map));
+
+ e820->nr_map++;
+ e820->map[i].addr = s;
+ e820->map[i].size = e - s;
+ e820->map[i].type = type;
+
+ return 1;
+}
+
int __init e820_change_range_type(
struct e820map *e820, uint64_t s, uint64_t e,
uint32_t orig_type, uint32_t new_type)
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -1248,6 +1248,8 @@ void __init __start_xen(unsigned long mb
#ifdef CONFIG_X86_64
vesa_mtrr_init();
+
+ acpi_mmcfg_init();
#endif...