Build - Restructured configuration
[tpg/acess2.git] / Kernel / arch / x86 / mm_phys.c
index cd4187e..81edcf2 100644 (file)
@@ -12,7 +12,7 @@
 
 
 // === IMPORTS ===
-extern void    gKernelEnd;
+extern char    gKernelEnd[];
 extern void    Proc_PrintBacktrace(void);
 
 // === PROTOTYPES ===
@@ -420,10 +420,10 @@ void MM_RefPhys(tPAddr PAddr)
                {
                         int    i, base;
                        tVAddr  addr = ((tVAddr)&gaPageReferences[PAddr]) & ~0xFFF;
-                       Log_Debug("PMem", "MM_RefPhys: Allocating info for %X", PAddr);
+//                     Log_Debug("PMem", "MM_RefPhys: Allocating info for %X", PAddr);
                        Mutex_Release( &glPhysAlloc );
                        if( MM_Allocate( addr ) == 0 ) {
-                               Log_KernelPanic("PMem", "MM_RefPhys: Out of physical memory");
+                               Log_KernelPanic("PMem", "MM_RefPhys: Out of physical memory allocating info for %X", PAddr*PAGE_SIZE);
                        }
                        Mutex_Acquire( &glPhysAlloc );
                        

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