Cleanup and Bugfixes
[tpg/acess2.git] / Kernel / binary.c
index 2237d1b..43d8cb3 100644 (file)
@@ -9,6 +9,7 @@
 // === CONSTANTS ===\r
 #define BIN_LOWEST     MM_USER_MIN             // 1MiB\r
 #define BIN_GRANUALITY 0x10000         // 64KiB\r
+//! \todo Move 0xBC000000 to mm_virt.h\r
 #define BIN_HIGHEST    (0xBC000000-BIN_GRANUALITY)             // Just below the kernel\r
 #define        KLIB_LOWEST     MM_MODULE_MIN\r
 #define KLIB_GRANUALITY        0x8000          // 32KiB\r
@@ -322,6 +323,8 @@ Uint Binary_MapIn(tBinary *binary)
                        MM_SetFlags( addr, MM_PFLAG_COW, -1 );\r
        }\r
        \r
+       //Log("Mapped '%s' to 0x%x", binary->TruePath, base);\r
+       \r
        //LOG("*0x%x = 0x%x\n", binary->Pages[0].Virtual, *(Uint*)binary->Pages[0].Virtual);\r
        \r
        return base;\r

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