[BOOTLIB] Fix 64 bit issues (#433)
[reactos.git] / boot / environ / lib / arch / stub / arch.c
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
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;
19
20 /* FUNCTIONS *****************************************************************/
21
22 VOID
23 BlpArchSwitchContext (
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 *--*/
41 NTSTATUS
42 BlpArchInitialize (
43 _In_ ULONG Phase
44 )
45 {
46 EfiPrintf(L" BlpArchInitialize NOT IMPLEMENTED for this platform\r\n");
47 return STATUS_NOT_IMPLEMENTED;
48 }
49
50 VOID
51 Archx86TransferTo32BitApplicationAsm (VOID)
52 {
53 EfiPrintf(L" Archx86TransferTo32BitApplicationAsm NOT IMPLEMENTED for this platform\r\n");
54 }
55
56 NTSTATUS
57 OslArchTransferToKernel(
58 _In_ struct _LOADER_PARAMETER_BLOCK *LoaderBlock,
59 _In_ PVOID KernelEntrypoint
60 )
61 {
62 EfiPrintf(L" OslArchTransferToKernel NOT IMPLEMENTED for this platform\r\n");
63 return STATUS_NOT_IMPLEMENTED;
64 }
65