ReactOS 0.4.16-dev-297-gc569aee
mm.c File Reference
#include "bl.h"
Include dependency graph for mm.c:

Go to the source code of this file.

Functions

NTSTATUS MmArchInitialize (_In_ ULONG Phase, _In_ PBL_MEMORY_DATA MemoryData, _In_ BL_TRANSLATION_TYPE TranslationType, _In_ BL_TRANSLATION_TYPE RequestedTranslationType)
 
NTSTATUS MmMapPhysicalAddress (_Inout_ PPHYSICAL_ADDRESS PhysicalAddressPtr, _Inout_ PVOID *VirtualAddressPtr, _Inout_ PULONGLONG SizePtr, _In_ ULONG CacheAttributes)
 
BOOLEAN MmArchTranslateVirtualAddress (_In_ PVOID VirtualAddress, _Out_opt_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_opt_ PULONG CachingFlags)
 

Variables

BL_ADDRESS_RANGE MmArchKsegAddressRange
 
ULONG_PTR MmArchTopOfApplicationAddressSpace
 
ULONG MmArchLargePageSize
 

Function Documentation

◆ MmArchInitialize()

NTSTATUS MmArchInitialize ( _In_ ULONG  Phase,
_In_ PBL_MEMORY_DATA  MemoryData,
_In_ BL_TRANSLATION_TYPE  TranslationType,
_In_ BL_TRANSLATION_TYPE  RequestedTranslationType 
)

Definition at line 20 of file mm.c.

26{
27 EfiPrintf(L" MmArchInitialize NOT IMPLEMENTED for this platform\r\n");
29}
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
#define STATUS_NOT_IMPLEMENTED
Definition: d3dkmdt.h:42
#define L(x)
Definition: ntvdm.h:50

Referenced by BlpMmInitialize().

◆ MmArchTranslateVirtualAddress()

BOOLEAN MmArchTranslateVirtualAddress ( _In_ PVOID  VirtualAddress,
_Out_opt_ PPHYSICAL_ADDRESS  PhysicalAddress,
_Out_opt_ PULONG  CachingFlags 
)

Definition at line 44 of file mm.c.

49{
50 EfiPrintf(L" MmMapPhysicalAddress NOT IMPLEMENTED for this platform\r\n");
51 return FALSE;
52}
#define FALSE
Definition: types.h:117

Referenced by BlMmTranslateVirtualAddress().

◆ MmMapPhysicalAddress()

NTSTATUS MmMapPhysicalAddress ( _Inout_ PPHYSICAL_ADDRESS  PhysicalAddressPtr,
_Inout_ PVOID VirtualAddressPtr,
_Inout_ PULONGLONG  SizePtr,
_In_ ULONG  CacheAttributes 
)

Definition at line 32 of file mm.c.

38{
39 EfiPrintf(L" MmMapPhysicalAddress NOT IMPLEMENTED for this platform\r\n");
41}

Variable Documentation

◆ MmArchKsegAddressRange

BL_ADDRESS_RANGE MmArchKsegAddressRange

Definition at line 13 of file mm.c.

Referenced by MmPapAllocatePagesInRange(), and MmSelectMappingAddress().

◆ MmArchLargePageSize

ULONG MmArchLargePageSize

Definition at line 15 of file mm.c.

Referenced by MmPapPageAllocatorExtend().

◆ MmArchTopOfApplicationAddressSpace

ULONG_PTR MmArchTopOfApplicationAddressSpace

Definition at line 14 of file mm.c.

Referenced by MmSelectMappingAddress().