Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2

From: Jeremy Fitzhardinge
Date: Wed May 28 2008 - 17:25:29 EST


Yinghai Lu wrote:
===================================================================
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1266,6 +1266,15 @@
add_preferred_console("hvc", 0, NULL);
}

+ /*
+ * Reserve Xen bits:
+ * - mfn_list
+ * - xen_start_info
+ * See comment above "struct start_info" in <xen/interface/xen.h>
+ */
+ reserve_early(__pa(xen_start_info->mfn_list),
+ __pa(xen_start_info->pt_base), "XEN");
+

can we use e820 entries for that? So the domain builder could have
several entries for E820_RAM and E820_RESERVED...

Yeah, seems reasonable. I'll try it out.

will need x86_64_start_kernel there, maybe we should change all name
to x86_start_kernel

We can do that later. For now it's better to give them distinct names.

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/