ReactOS 0.4.16-dev-88-ga65b6ae
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
22VOID
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
50VOID
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
LONG NTSTATUS
Definition: precomp.h:26
VOID EfiPrintf(_In_ PWCHAR Format,...)
Definition: firmware.c:126
VOID(* PBL_MM_RELOCATE_SELF_MAP)(VOID)
Definition: bl.h:683
NTSTATUS(* PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE)(_In_ PVOID DestinationAddress, _In_ PVOID SourceAddress, _In_ ULONGLONG Size)
Definition: bl.h:688
NTSTATUS(* PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE)(_In_ PVOID DestinationAddress, _In_ ULONGLONG Size)
Definition: bl.h:695
enum _BL_ARCH_MODE BL_ARCH_MODE
VOID BlpArchSwitchContext(_In_ BL_ARCH_MODE NewMode)
Definition: arch.c:166
PBL_ARCH_CONTEXT CurrentExecutionContext
Definition: arch.c:17
NTSTATUS BlpArchInitialize(_In_ ULONG Phase)
Definition: arch.c:235
#define _In_
Definition: ms_sal.h:308
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define L(x)
Definition: ntvdm.h:50
NTSTATUS OslArchTransferToKernel(_In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock, _In_ PVOID KernelEntrypoint)
Definition: arch.c:57
PBL_MM_RELOCATE_SELF_MAP BlMmRelocateSelfMap
Definition: arch.c:16
PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE BlMmMoveVirtualAddressRange
Definition: arch.c:17
PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE BlMmZeroVirtualAddressRange
Definition: arch.c:18
VOID Archx86TransferTo32BitApplicationAsm(VOID)
Definition: arch.c:51
uint32_t ULONG
Definition: typedefs.h:59