ReactOS  0.4.15-dev-5461-g062a8f2
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 _Inout_
Definition: ms_sal.h:378
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:65
return STATUS_NOT_IMPLEMENTED
#define L(x)
Definition: ntvdm.h:50
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
#define _In_
Definition: ms_sal.h:308
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
ULONG MmArchLargePageSize
Definition: mm.c:15
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1098
BL_ADDRESS_RANGE MmArchKsegAddressRange
Definition: mm.c:13
ULONG_PTR MmArchTopOfApplicationAddressSpace
Definition: mm.c:14
#define _Out_opt_
Definition: ms_sal.h:346
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:383
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