ReactOS 0.4.15-dev-7994-gb388cb6
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
47 _Out_opt_ PULONG CachingFlags
48 )
49{
50 EfiPrintf(L" MmMapPhysicalAddress NOT IMPLEMENTED for this platform\r\n");
51 return FALSE;
52}
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS MmMapPhysicalAddress(_Inout_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_ PVOID *VirtualAddress, _Inout_ PULONGLONG Size, _In_ ULONG CacheAttributes)
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
NTSTATUS MmArchInitialize(_In_ ULONG Phase, _In_ PBL_MEMORY_DATA MemoryData, _In_ BL_TRANSLATION_TYPE TranslationType, _In_ BL_TRANSLATION_TYPE LibraryTranslationType)
Definition: mmx86.c:1028
BOOLEAN MmArchTranslateVirtualAddress(_In_ PVOID VirtualAddress, _Out_opt_ PPHYSICAL_ADDRESS PhysicalAddress, _Out_opt_ PULONG CachingFlags)
Definition: mmx86.c:108
enum _BL_TRANSLATION_TYPE BL_TRANSLATION_TYPE
#define FALSE
Definition: types.h:117
ULONG_PTR MmArchTopOfApplicationAddressSpace
Definition: mm.c:14
BL_ADDRESS_RANGE MmArchKsegAddressRange
Definition: mm.c:13
ULONG MmArchLargePageSize
Definition: mm.c:15
#define _Out_opt_
Definition: ms_sal.h:346
#define _Inout_
Definition: ms_sal.h:378
#define _In_
Definition: ms_sal.h:308
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
Definition: ntbasedef.h:383
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define L(x)
Definition: ntvdm.h:50
uint32_t * PULONG
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDMATRANSACTION _In_ PFN_WDF_PROGRAM_DMA _In_ WDF_DMA_DIRECTION _In_ PMDL _In_ PVOID VirtualAddress
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS PhysicalAddress
Definition: iotypes.h:1098