Added allocate address to MM_Allocate's OOM fail
[tpg/acess2.git] / Kernel / arch / x86 / mm_virt.c
index 3f23d35..a022da2 100644 (file)
@@ -232,7 +232,8 @@ tPAddr MM_Allocate(Uint VAddr)
        // Allocate
        paddr = MM_AllocPhys();
        if( paddr == 0 ) {
-               Warning("MM_Allocate - Out of Memory (Called by %p)", __builtin_return_address(0));
+               Warning("MM_Allocate - Out of Memory when allocating at %p (Called by %p)",
+                       VAddr, __builtin_return_address(0));
                return 0;
        }
        // Map

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