Merge branch 'master' of git://github.com/thepowersgang/acess2
[tpg/acess2.git] / KernelLand / Kernel / arch / x86_64 / mm_virt.c
index 42b5e92..23f04ac 100644 (file)
@@ -56,7 +56,7 @@
 // TODO: INVLPG_ALL is expensive
 #define GET_TEMP_MAPPING(cr3) do { \
        __ASM__("cli"); \
-       __AtomicTestSetLoop( (Uint *)TMPCR3(), (cr3) | 3 ); \
+       __AtomicTestSetLoop( (Uint *)&TMPCR3(), (cr3) | 3 ); \
        INVLPG_ALL(); \
 } while(0)
 #define REL_TEMP_MAPPING() do { \
@@ -271,7 +271,7 @@ int MM_PageFault(tVAddr Addr, Uint ErrorCode, tRegs *Regs)
        // Print Stack Backtrace
        Error_Backtrace(Regs->RIP, Regs->RBP);
        
-       MM_DumpTables(0, -1);
+       //MM_DumpTables(0, -1);
 
        return 1;       
 }

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