Displaying 1 result from an estimated 1 matches for "8df3c145923f".
2009 Feb 07
0
[PATCH] minios: fix p2m on x86
minios: fix p2m on x86
15675:bf85b467ee89 Fixed p2m on x86_64, but instead broke it on x86.
Signed-off-by: Samuel Thibault <samuel.thibaut@ens-lyon.org>
diff -r 8df3c145923f extras/mini-os/arch/x86/mm.c
--- a/extras/mini-os/arch/x86/mm.c Mon Jan 19 17:40:28 2009 +0000
+++ b/extras/mini-os/arch/x86/mm.c Sat Feb 07 03:44:41 2009 +0100
@@ -550,9 +550,15 @@
void arch_init_p2m(unsigned long max_pfn)
{
+#ifdef __x86_64__
#define L1_P2M_SHIFT 9
#define L2_P2M_SHIFT...