Author: fireball
Date: Sat Feb 2 18:15:41 2008
New Revision: 32090
URL:
http://svn.reactos.org/svn/reactos?rev=32090&view=rev
Log:
- Mark APIC's memory as WriteThrough / CacheDisabled.
Modified:
trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c
Modified: trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/windo…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/windows/wlmemory.c Sat Feb 2 18:15:41 2008
@@ -436,6 +436,8 @@
= APICAddress >> MM_PAGE_SHIFT;
HalPageTable[(APIC_BASE - 0xFFC00000) >> MM_PAGE_SHIFT].Valid = 1;
HalPageTable[(APIC_BASE - 0xFFC00000) >> MM_PAGE_SHIFT].Write = 1;
+ HalPageTable[(APIC_BASE - 0xFFC00000) >> MM_PAGE_SHIFT].WriteThrough = 1;
+ HalPageTable[(APIC_BASE - 0xFFC00000) >> MM_PAGE_SHIFT].CacheDisable = 1;
}
#else
VOID
@@ -547,7 +549,7 @@
// TEMP, DEBUG!
// adding special reserved memory zones for vmware workstation
-#if 0
+#if 1
{
Mad[MadCount].BasePage = 0xfec00;
Mad[MadCount].PageCount = 0x10;