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
10 // OS Loader Main Routine
13 VOID (*POSLOADER_INIT
)(
18 // Type of memory detected by LLB
29 // Firmware Memory Map
37 } BIOS_MEMORY_MAP
, *PBIOS_MEMORY_MAP
;
40 // Information sent from LLB to OS Loader
42 #define ARM_BOARD_CONFIGURATION_MAJOR_VERSION 1
43 #define ARM_BOARD_CONFIGURATION_MINOR_VERSION 4
44 typedef struct _ARM_BOARD_CONFIGURATION_BLOCK
50 ULONG TimerRegisterBase
;
51 ULONG UartRegisterBase
;
52 ULONG MemoryMapEntryCount
;
53 PBIOS_MEMORY_MAP MemoryMap
;
54 CHAR CommandLine
[256];
58 PVOID VideoClearScreen
;
59 PVOID VideoSetDisplayMode
;
60 PVOID VideoGetDisplaySize
;
61 PVOID VideoGetBufferSize
;
62 PVOID VideoSetTextCursorPosition
;
63 PVOID VideoHideShowTextCursor
;
65 PVOID VideoCopyOffScreenBufferToVRAM
;
66 PVOID VideoIsPaletteFixed
;
67 PVOID VideoSetPaletteColor
;
68 PVOID VideoGetPaletteColor
;
71 } ARM_BOARD_CONFIGURATION_BLOCK
, *PARM_BOARD_CONFIGURATION_BLOCK
;
75 LlbAllocateMemoryEntry(
76 IN BIOS_MEMORY_TYPE Type
,