mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 00:45:49 +00:00
[NTOS]: Remove the Bavarian hack, I no longer think it is needed.
svn path=/trunk/; revision=49195
This commit is contained in:
parent
a81f92c1cb
commit
ba0bd37078
1 changed files with 1 additions and 33 deletions
|
@ -355,31 +355,6 @@ SIZE_T MmTotalCommitLimitMaximum;
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS **********************************************************/
|
/* PRIVATE FUNCTIONS **********************************************************/
|
||||||
|
|
||||||
#ifndef _M_AMD64
|
|
||||||
//
|
|
||||||
// In Bavaria, this is probably a hate crime
|
|
||||||
//
|
|
||||||
VOID
|
|
||||||
FASTCALL
|
|
||||||
MiSyncARM3WithROS(IN PVOID AddressStart,
|
|
||||||
IN PVOID AddressEnd)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
// Puerile piece of junk-grade carbonized horseshit puss sold to the lowest bidder
|
|
||||||
//
|
|
||||||
ULONG Pde = ADDR_TO_PDE_OFFSET(AddressStart);
|
|
||||||
while (Pde <= ADDR_TO_PDE_OFFSET(AddressEnd))
|
|
||||||
{
|
|
||||||
//
|
|
||||||
// This both odious and heinous
|
|
||||||
//
|
|
||||||
extern ULONG MmGlobalKernelPageDirectory[1024];
|
|
||||||
MmGlobalKernelPageDirectory[Pde] = ((PULONG)PDE_BASE)[Pde];
|
|
||||||
Pde++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PFN_NUMBER
|
PFN_NUMBER
|
||||||
NTAPI
|
NTAPI
|
||||||
MxGetNextPage(IN PFN_NUMBER PageCount)
|
MxGetNextPage(IN PFN_NUMBER PageCount)
|
||||||
|
@ -1892,14 +1867,7 @@ MmArmInitSystem(IN ULONG Phase,
|
||||||
|
|
||||||
/* Initialize the platform-specific parts */
|
/* Initialize the platform-specific parts */
|
||||||
MiInitMachineDependent(LoaderBlock);
|
MiInitMachineDependent(LoaderBlock);
|
||||||
|
|
||||||
//
|
|
||||||
// Sync us up with ReactOS Mm
|
|
||||||
//
|
|
||||||
MiSyncARM3WithROS(MmNonPagedSystemStart, (PVOID)((ULONG_PTR)MmNonPagedPoolEnd - 1));
|
|
||||||
MiSyncARM3WithROS(MmPfnDatabase, (PVOID)((ULONG_PTR)MmNonPagedPoolStart + MmSizeOfNonPagedPoolInBytes - 1));
|
|
||||||
MiSyncARM3WithROS((PVOID)HYPER_SPACE, (PVOID)(HYPER_SPACE + PAGE_SIZE - 1));
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Build the physical memory block
|
// Build the physical memory block
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue