[NTOS]: Misc typo and cleanup fixes.

svn path=/trunk/; revision=49441
This commit is contained in:
Sir Richard
2010-11-02 14:58:39 +00:00
parent dae4714960
commit 3a3d75946e
6 changed files with 8 additions and 17 deletions
+2 -2
View File
@@ -1150,8 +1150,8 @@ MmInitializePageList(
VOID
NTAPI
MmDumpPfnDatabase(
VOID
MmDumpArmPfnDatabase(
IN BOOLEAN StatusOnly
);
PFN_NUMBER
+2 -2
View File
@@ -72,8 +72,8 @@ KdpServiceDispatcher(ULONG Service,
DbgBreakPoint();
break;
case ThatsWhatSheSaid:
MmDumpPfnDatabase();
case KdSpare3:
MmDumpArmPfnDatabase(FALSE);
break;
default:
+1 -2
View File
@@ -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;
+1 -1
View File
@@ -1215,7 +1215,7 @@ MiAddHalIoMappings(VOID)
VOID
NTAPI
MmDumpArmPfnDatabase(VOID)
MmDumpArmPfnDatabase(IN BOOLEAN StatusOnly)
{
ULONG i;
PMMPFN Pfn1;
+2 -2
View File
@@ -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;
}
-8
View File
@@ -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)