Kernel/x86 - Fixed VMM bug causing ACPI crash
authorJohn Hodge (sonata) <[email protected]>
Sun, 9 Dec 2012 05:00:36 +0000 (13:00 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sun, 9 Dec 2012 05:00:36 +0000 (13:00 +0800)
KernelLand/Kernel/arch/x86/mm_virt.c

index 868fe86..e04b4ae 100644 (file)
@@ -1148,6 +1148,7 @@ void MM_UnmapHWPages(tVAddr VAddr, Uint Number)
        {
                MM_DerefPhys( gaPageTable[ i + j ] & ~0xFFF );
                gaPageTable[ i + j ] = 0;
+               INVLPG( (tVAddr)(i+j) << 12 );
        }
        
        Mutex_Release( &glTempMappings );

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