ReactOS  0.4.14-dev-376-gaedba84
mm.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING.ARM in the top level directory
3  * PROJECT: ReactOS UEFI Boot Library
4  * FILE: boot/environ/lib/mm/stub/mm.c
5  * PURPOSE: Boot Library Memory Manager Skeleton Code
6  * PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
7  */
8 
9 /* INCLUDES ******************************************************************/
10 
11 #include "bl.h"
12 
16 
17 /* FUNCTIONS *****************************************************************/
18 
21  _In_ ULONG Phase,
22  _In_ PBL_MEMORY_DATA MemoryData,
23  _In_ BL_TRANSLATION_TYPE TranslationType,
24  _In_ BL_TRANSLATION_TYPE RequestedTranslationType
25  )
26 {
27  EfiPrintf(L" MmArchInitialize NOT IMPLEMENTED for this platform\r\n");
29 }
30 
33  _Inout_ PPHYSICAL_ADDRESS PhysicalAddressPtr,
34  _Inout_ PVOID* VirtualAddressPtr,
35  _Inout_ PULONGLONG SizePtr,
36  _In_ ULONG CacheAttributes
37  )
38 {
39  EfiPrintf(L" MmMapPhysicalAddress NOT IMPLEMENTED for this platform\r\n");
41 }
42 
43 BOOLEAN
47  _Out_opt_ PULONG CachingFlags
48  )
49 {
50  EfiPrintf(L" MmMapPhysicalAddress NOT IMPLEMENTED for this platform\r\n");
51  return FALSE;
52 }
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
BOOLEAN MmArchTranslateVirtualAddress(_In_ PVOID VirtualAddress, _Out_opt_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_opt_ PULONG CachingFlags)
Definition: mm.c:44
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS MmArchInitialize(_In_ ULONG Phase, _In_ PBL_MEMORY_DATA MemoryData, _In_ BL_TRANSLATION_TYPE TranslationType, _In_ BL_TRANSLATION_TYPE RequestedTranslationType)
Definition: mm.c:20
enum _BL_TRANSLATION_TYPE BL_TRANSLATION_TYPE
uint32_t ULONG_PTR
Definition: typedefs.h:63
unsigned char BOOLEAN
#define _Out_opt_
Definition: no_sal2.h:339
ULONG MmArchLargePageSize
Definition: mm.c:15
#define _Inout_
Definition: no_sal2.h:244
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1061
static const WCHAR L[]
Definition: oid.c:1250
BL_ADDRESS_RANGE MmArchKsegAddressRange
Definition: mm.c:13
ULONG_PTR MmArchTopOfApplicationAddressSpace
Definition: mm.c:14
_In_ ULONG _In_ BOOLEAN _Must_inspect_result_ PVOID * VirtualAddress
Definition: ndis.h:3791
#define _In_
Definition: no_sal2.h:204
unsigned int * PULONG
Definition: retypes.h:1
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
Definition: ntbasedef.h:390
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS MmMapPhysicalAddress(_Inout_ PPHYSICAL_ADDRESS PhysicalAddressPtr, _Inout_ PVOID *VirtualAddressPtr, _Inout_ PULONGLONG SizePtr, _In_ ULONG CacheAttributes)
Definition: mm.c:32