VOID
MiProtectMapFileFor4kPage(
  IN  PVOID Base,
  IN  SIZE_T Size,
  IN  ULONG NewProtect,
  IN  PMMPTE PointerPte,
  IN  PEPROCESS Process
  );

Routine Description:

    This routine sets the permissions on the alternate bitmap (based on
    4K page sizes). The base and size are assumed to be aligned for
    4K pages already.

Arguments:

    Base - The base address (assumed to be 4K aligned already)

    Size - The size to be protected (assumed to be 4K aligned already)

    NewProtect - The protection for the new pages

    Commit - True if the page is commited, false otherwise

    Process - Supplies a pointer to the process in which to create the 
            protections on the alternate table

Return Value:
 
    None

Environment:

    Kernel mode.  All arguments are assumed to be in kernel space.