mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[NTOS]: Misc typo and cleanup fixes.
svn path=/trunk/; revision=49441
This commit is contained in:
parent
dae4714960
commit
3a3d75946e
6 changed files with 8 additions and 17 deletions
|
@ -1150,8 +1150,8 @@ MmInitializePageList(
|
|||
|
||||
VOID
|
||||
NTAPI
|
||||
MmDumpPfnDatabase(
|
||||
VOID
|
||||
MmDumpArmPfnDatabase(
|
||||
IN BOOLEAN StatusOnly
|
||||
);
|
||||
|
||||
PFN_NUMBER
|
||||
|
|
|
@ -72,8 +72,8 @@ KdpServiceDispatcher(ULONG Service,
|
|||
DbgBreakPoint();
|
||||
break;
|
||||
|
||||
case ThatsWhatSheSaid:
|
||||
MmDumpPfnDatabase();
|
||||
case KdSpare3:
|
||||
MmDumpArmPfnDatabase(FALSE);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -307,11 +307,10 @@ MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
|||
MiComputeColorInformation();
|
||||
|
||||
//
|
||||
// Calculate the number of bytes for the PFN database, double it for ARM3,
|
||||
// Calculate the number of bytes for the PFN database
|
||||
// then add the color tables and convert to pages
|
||||
//
|
||||
MxPfnAllocation = (MmHighestPhysicalPage + 1) * sizeof(MMPFN);
|
||||
//MxPfnAllocation <<= 1;
|
||||
MxPfnAllocation += (MmSecondaryColors * sizeof(MMCOLOR_TABLES) * 2);
|
||||
MxPfnAllocation >>= PAGE_SHIFT;
|
||||
|
||||
|
|
|
@ -1215,7 +1215,7 @@ MiAddHalIoMappings(VOID)
|
|||
|
||||
VOID
|
||||
NTAPI
|
||||
MmDumpArmPfnDatabase(VOID)
|
||||
MmDumpArmPfnDatabase(IN BOOLEAN StatusOnly)
|
||||
{
|
||||
ULONG i;
|
||||
PMMPFN Pfn1;
|
||||
|
|
|
@ -594,13 +594,13 @@ MiDispatchFault(IN BOOLEAN StoreInstruction,
|
|||
PointerPte,
|
||||
Process,
|
||||
MM_NOIRQL);
|
||||
ASSERT(KeAreAllApcsDisabled () == TRUE);
|
||||
ASSERT(KeAreAllApcsDisabled() == TRUE);
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
//
|
||||
// Make sure we're returning in a sane state and pass the status down
|
||||
//
|
||||
ASSERT(OldIrql == KeGetCurrentIrql ());
|
||||
ASSERT(OldIrql == KeGetCurrentIrql());
|
||||
ASSERT(KeGetCurrentIrql() <= APC_LEVEL);
|
||||
return Status;
|
||||
}
|
||||
|
|
|
@ -379,14 +379,6 @@ MiAllocatePagesForMdl(IN PHYSICAL_ADDRESS LowAddress,
|
|||
return Mdl;
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
MmDumpPfnDatabase(VOID)
|
||||
{
|
||||
/* Pretty useless for now, to be improved later */
|
||||
return;
|
||||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
MmSetRmapListHeadPage(PFN_NUMBER Pfn, PMM_RMAP_ENTRY ListHead)
|
||||
|
|
Loading…
Reference in a new issue