ReactOS 0.4.16-dev-292-gbbdcc14
|
#include <freeldr.h>
#include <ndk/asm.h>
#include <internal/amd64/intrin_i.h>
#include "../../winldr.h"
#include <debug.h>
Go to the source code of this file.
Functions | |
DBG_DEFAULT_CHANNEL (WINDOWS) | |
static BOOLEAN | MempAllocatePageTables (VOID) |
static PHARDWARE_PTE | MempGetOrCreatePageDir (PHARDWARE_PTE PdeBase, ULONG Index) |
static BOOLEAN | MempMapSinglePage (ULONG64 VirtualAddress, ULONG64 PhysicalAddress) |
BOOLEAN | MempIsPageMapped (PVOID VirtualAddress) |
static PFN_NUMBER | MempMapRangeOfPages (ULONG64 VirtualAddress, ULONG64 PhysicalAddress, PFN_NUMBER cPages) |
BOOLEAN | MempSetupPaging (IN PFN_NUMBER StartPage, IN PFN_NUMBER NumberOfPages, IN BOOLEAN KernelMapping) |
VOID | MempUnmapPage (PFN_NUMBER Page) |
static VOID | WinLdrpMapApic (VOID) |
static BOOLEAN | WinLdrMapSpecialPages (VOID) |
static VOID | Amd64SetupGdt (PVOID GdtBase, ULONG64 TssBase) |
static VOID | Amd64SetupIdt (PVOID IdtBase) |
VOID | WinLdrSetProcessorContext (_In_ USHORT OperatingSystemVersion) |
void | WinLdrSetupMachineDependent (PLOADER_PARAMETER_BLOCK LoaderBlock) |
VOID | MempDump (VOID) |
Variables | |
PHARDWARE_PTE | PxeBase |
PVOID | GdtIdt |
PFN_NUMBER | SharedUserDataPfn |
ULONG_PTR | TssBasePage |
Definition at line 270 of file winldr.c.
Referenced by WinLdrSetProcessorContext().
Definition at line 319 of file winldr.c.
Referenced by WinLdrSetProcessorContext().
DBG_DEFAULT_CHANNEL | ( | WINDOWS | ) |
Definition at line 34 of file winldr.c.
Referenced by WinLdrSetupMachineDependent().
|
static |
Definition at line 67 of file winldr.c.
Referenced by MempMapSinglePage(), and WinLdrMapSpecialPages().
Definition at line 123 of file winldr.c.
|
static |
Definition at line 152 of file winldr.c.
Referenced by MempSetupPaging().
Definition at line 93 of file winldr.c.
Referenced by MempMapRangeOfPages(), WinLdrMapSpecialPages(), and WinLdrpMapApic().
BOOLEAN MempSetupPaging | ( | IN PFN_NUMBER | StartPage, |
IN PFN_NUMBER | NumberOfPages, | ||
IN BOOLEAN | KernelMapping | ||
) |
Definition at line 171 of file winldr.c.
Referenced by MempSetupPagingForRegion(), and WinLdrSetupMemoryLayout().
VOID MempUnmapPage | ( | PFN_NUMBER | Page | ) |
Definition at line 245 of file winldr.c.
Definition at line 212 of file winldr.c.
Referenced by WinLdrMapSpecialPages().
Definition at line 342 of file winldr.c.
Referenced by LoadAndBootWindowsCommon().
void WinLdrSetupMachineDependent | ( | PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 374 of file winldr.c.
Referenced by LoadAndBootWindowsCommon().
PVOID GdtIdt |
Definition at line 26 of file winldr.c.
Referenced by WinLdrSetProcessorContext(), and WinLdrSetupMachineDependent().
PHARDWARE_PTE PxeBase |
Definition at line 23 of file winldr.c.
Referenced by MempAllocatePageTables(), MempIsPageMapped(), MempMapSinglePage(), WinLdrMapSpecialPages(), and WinLdrSetProcessorContext().
PFN_NUMBER SharedUserDataPfn |
Definition at line 27 of file winldr.c.
Referenced by WinLdrMapSpecialPages(), and WinLdrSetupMachineDependent().
ULONG_PTR TssBasePage |
Definition at line 28 of file winldr.c.
Referenced by WinLdrSetProcessorContext(), and WinLdrSetupMachineDependent().