mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
- Fix build of NTOS and FreeLDR on ARM.
svn path=/trunk/; revision=34889
This commit is contained in:
parent
4eb79d6d88
commit
e34e342d45
2 changed files with 3 additions and 3 deletions
|
@ -164,6 +164,6 @@ typedef enum _ARM_DOMAIN
|
|||
|
||||
#define PTE_BASE 0xC0000000
|
||||
#define PDE_BASE 0xC1000000
|
||||
#define HYPER_SPACE ((PVOID)0xC1100000)
|
||||
#define HYPER_SPACE 0xC1100000
|
||||
|
||||
#endif
|
||||
|
|
|
@ -619,7 +619,7 @@ MmCreateHyperspaceMapping(IN PFN_TYPE Page)
|
|||
//
|
||||
// Loop hyperspace PTEs (1MB)
|
||||
//
|
||||
FirstPte = PointerPte = MiGetPteAddress(HYPER_SPACE);
|
||||
FirstPte = PointerPte = MiGetPteAddress((PVOID)HYPER_SPACE);
|
||||
LastPte = PointerPte + 256;
|
||||
while (PointerPte <= LastPte)
|
||||
{
|
||||
|
@ -657,7 +657,7 @@ MmCreateHyperspaceMapping(IN PFN_TYPE Page)
|
|||
//
|
||||
// Return the address
|
||||
//
|
||||
Address = HYPER_SPACE + ((PointerPte - FirstPte) * PAGE_SIZE);
|
||||
Address = (PVOID)(HYPER_SPACE + ((PointerPte - FirstPte) * PAGE_SIZE));
|
||||
KeArmInvalidateTlbEntry(Address);
|
||||
DPRINT("[HMAP]: %p %lx\n", Address, Page);
|
||||
return Address;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue