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)
9 /* INCLUDES ******************************************************************/
13 /* DATA VARIABLES ************************************************************/
15 PBL_ARCH_CONTEXT CurrentExecutionContext
;
16 PBL_MM_RELOCATE_SELF_MAP BlMmRelocateSelfMap
;
17 PBL_MM_MOVE_VIRTUAL_ADDRESS_RANGE BlMmMoveVirtualAddressRange
;
18 PBL_MM_ZERO_VIRTUAL_ADDRESS_RANGE BlMmZeroVirtualAddressRange
;
20 /* FUNCTIONS *****************************************************************/
23 BlpArchSwitchContext (
24 _In_ BL_ARCH_MODE NewMode
30 * @name BlpArchInitialize
32 * The BlpArchInitialize function initializes the Boot Library.
35 * Pointer to the Boot Application Parameter Block.
37 * @return NT_SUCCESS if the boot library was loaded correctly, relevant error
46 EfiPrintf(L
" BlpArchInitialize NOT IMPLEMENTED for this platform\r\n");
47 return STATUS_NOT_IMPLEMENTED
;
51 Archx86TransferTo32BitApplicationAsm (VOID
)
53 EfiPrintf(L
" Archx86TransferTo32BitApplicationAsm NOT IMPLEMENTED for this platform\r\n");
57 OslArchTransferToKernel(
58 _In_
struct _LOADER_PARAMETER_BLOCK
*LoaderBlock
,
59 _In_ PVOID KernelEntrypoint
62 EfiPrintf(L
" OslArchTransferToKernel NOT IMPLEMENTED for this platform\r\n");
63 return STATUS_NOT_IMPLEMENTED
;