- Fix build of NTOS and FreeLDR on ARM.

svn path=/trunk/; revision=34889
This commit is contained in:
ReactOS Portable Systems Group 2008-07-28 03:07:03 +00:00
parent 4eb79d6d88
commit e34e342d45
2 changed files with 3 additions and 3 deletions

View file

@ -164,6 +164,6 @@ typedef enum _ARM_DOMAIN
#define PTE_BASE 0xC0000000 #define PTE_BASE 0xC0000000
#define PDE_BASE 0xC1000000 #define PDE_BASE 0xC1000000
#define HYPER_SPACE ((PVOID)0xC1100000) #define HYPER_SPACE 0xC1100000
#endif #endif

View file

@ -619,7 +619,7 @@ MmCreateHyperspaceMapping(IN PFN_TYPE Page)
// //
// Loop hyperspace PTEs (1MB) // Loop hyperspace PTEs (1MB)
// //
FirstPte = PointerPte = MiGetPteAddress(HYPER_SPACE); FirstPte = PointerPte = MiGetPteAddress((PVOID)HYPER_SPACE);
LastPte = PointerPte + 256; LastPte = PointerPte + 256;
while (PointerPte <= LastPte) while (PointerPte <= LastPte)
{ {
@ -657,7 +657,7 @@ MmCreateHyperspaceMapping(IN PFN_TYPE Page)
// //
// Return the address // Return the address
// //
Address = HYPER_SPACE + ((PointerPte - FirstPte) * PAGE_SIZE); Address = (PVOID)(HYPER_SPACE + ((PointerPte - FirstPte) * PAGE_SIZE));
KeArmInvalidateTlbEntry(Address); KeArmInvalidateTlbEntry(Address);
DPRINT("[HMAP]: %p %lx\n", Address, Page); DPRINT("[HMAP]: %p %lx\n", Address, Page);
return Address; return Address;