ReactOS 0.4.16-dev-92-g0c2cdca
osloader.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: boot/armllb/inc/osloader.h
5 * PURPOSE: Shared header between LLB and OS Loader
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9//
10// OS Loader Main Routine
11//
12typedef
14 IN PVOID BoardInit
15);
16
17//
18// Type of memory detected by LLB
19//
20typedef enum
21{
27
28//
29// Firmware Memory Map
30//
31typedef struct
32{
38
39//
40// Information sent from LLB to OS Loader
41//
42#define ARM_BOARD_CONFIGURATION_MAJOR_VERSION 1
43#define ARM_BOARD_CONFIGURATION_MINOR_VERSION 4
45{
72
73VOID
79);
80
81VOID
84 IN PCHAR CommandLine
85);
86
87VOID
90 VOID
91);
92
93VOID
96 VOID
97);
98
99VOID
100NTAPI
102 VOID
103);
104
105VOID
106NTAPI
107LlbBoot(
108 VOID
109);
110
111/* EOF */
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
VOID NTAPI LlbBuildMemoryMap(VOID)
Definition: loader.c:85
VOID NTAPI LlbAllocateMemoryEntry(IN BIOS_MEMORY_TYPE Type, IN ULONG BaseAddress, IN ULONG Length)
Definition: loader.c:17
VOID NTAPI LlbSetCommandLine(IN PCHAR CommandLine)
Definition: loader.c:38
VOID NTAPI LlbBoot(VOID)
Definition: loader.c:163
BIOS_MEMORY_TYPE
Definition: osloader.h:21
@ BiosMemoryUsable
Definition: osloader.h:22
@ BiosMemoryBootStrap
Definition: osloader.h:24
@ BiosMemoryBootLoader
Definition: osloader.h:23
@ BiosMemoryReserved
Definition: osloader.h:25
struct _ARM_BOARD_CONFIGURATION_BLOCK * PARM_BOARD_CONFIGURATION_BLOCK
VOID NTAPI LlbLoadOsLoader(VOID)
Definition: loader.c:128
struct _ARM_BOARD_CONFIGURATION_BLOCK ARM_BOARD_CONFIGURATION_BLOCK
struct BIOS_MEMORY_MAP * PBIOS_MEMORY_MAP
VOID NTAPI LlbBuildArmBlock(VOID)
Definition: loader.c:46
VOID(* POSLOADER_INIT)(IN PVOID BoardInit)
Definition: osloader.h:13
LONGLONG BaseAddress
Definition: osloader.h:33
LONGLONG Length
Definition: osloader.h:34
ULONG Reserved
Definition: osloader.h:36
PBIOS_MEMORY_MAP MemoryMap
Definition: osloader.h:53
int64_t LONGLONG
Definition: typedefs.h:68
#define NTAPI
Definition: typedefs.h:36
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
char CHAR
Definition: xmlstorage.h:175