ReactOS  0.4.15-dev-506-ga3ec01c
arch.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/arch/stub/arch.c
5  * PURPOSE: Boot Library Architectural Initialization Skeleton Code
6  * PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
7  */
8 
9 /* INCLUDES ******************************************************************/
10 
11 #include "bl.h"
12 
13 /* DATA VARIABLES ************************************************************/
14 
19 
20 /* FUNCTIONS *****************************************************************/
21 
22 VOID
24  _In_ BL_ARCH_MODE NewMode
25  )
26 {
27 }
28 
29 /*++
30 * @name BlpArchInitialize
31 *
32 * The BlpArchInitialize function initializes the Boot Library.
33 *
34 * @param Phase
35 * Pointer to the Boot Application Parameter Block.
36 *
37 * @return NT_SUCCESS if the boot library was loaded correctly, relevant error
38 * otherwise.
39 *
40 *--*/
43  _In_ ULONG Phase
44  )
45 {
46  EfiPrintf(L" BlpArchInitialize NOT IMPLEMENTED for this platform\r\n");
48 }
49 
50 VOID
52 {
53  EfiPrintf(L" Archx86TransferTo32BitApplicationAsm NOT IMPLEMENTED for this platform\r\n");
54 }
55 
58  _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
59  _In_ PVOID KernelEntrypoint
60  )
61 {
62  EfiPrintf(L" OslArchTransferToKernel NOT IMPLEMENTED for this platform\r\n");
64 }
65 
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:225
NTSTATUS(* PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE)(_In_ PVOID DestinationAddress, _In_ ULONGLONG Size)
Definition: bl.h:696
LONG NTSTATUS
Definition: precomp.h:26
VOID(* PBL_MM_RELOCATE_SELF_MAP)(VOID)
Definition: bl.h:684
NTSTATUS BlpArchInitialize(_In_ ULONG Phase)
Definition: arch.c:235
PBL_MM_RELOCATE_SELF_MAP BlMmRelocateSelfMap
Definition: arch.c:16
NTSTATUS(* PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE)(_In_ PVOID DestinationAddress, _In_ PVOID SourceAddress, _In_ ULONGLONG Size)
Definition: bl.h:689
PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE BlMmMoveVirtualAddressRange
Definition: arch.c:17
NTSTATUS OslArchTransferToKernel(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ PVOID KernelEntrypoint)
Definition: arch.c:57
PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE BlMmZeroVirtualAddressRange
Definition: arch.c:18
enum _BL_ARCH_MODE BL_ARCH_MODE
VOID BlpArchSwitchContext(_In_ BL_ARCH_MODE NewMode)
Definition: arch.c:166
static const WCHAR L[]
Definition: oid.c:1250
#define _In_
Definition: no_sal2.h:204
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
PBL_ARCH_CONTEXT CurrentExecutionContext
Definition: arch.c:17
unsigned int ULONG
Definition: retypes.h:1
VOID Archx86TransferTo32BitApplicationAsm(VOID)
Definition: arch.c:51