Kernel - Fix compilation on x86_64 and armv7 (for MM changes)
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / mm_phys.c
index cd5a33d..8241560 100644 (file)
@@ -8,6 +8,7 @@
 #include <pmemmap.h>
 #include <hal_proc.h>
 #include <semaphore.h>
+#include <debug_hooks.h>
 
 //#define USE_STACK    1
 #define TRACE_ALLOCS   0       // Print trace messages on AllocPhys/DerefPhys
@@ -15,9 +16,6 @@
 static const int addrClasses[] = {0,16,20,24,32,64};
 static const int numAddrClasses = sizeof(addrClasses)/sizeof(addrClasses[0]);
 
-// === IMPORTS ===
-extern void    Proc_PrintBacktrace(void);
-
 // === PROTOTYPES ===
 void   MM_Install(int NPMemRanges, tPMemMapEnt *PMemRanges);
 //tPAddr       MM_AllocPhys(void);

UCC git Repository :: git.ucc.asn.au