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
)(
19 // Type of memory detected by LLB
30 // Firmware Memory Map
38 } BIOS_MEMORY_MAP
, *PBIOS_MEMORY_MAP
;
42 // Information sent from LLB to OS Loader
44 #define ARM_BOARD_CONFIGURATION_MAJOR_VERSION 1
45 #define ARM_BOARD_CONFIGURATION_MINOR_VERSION 4
46 typedef struct _ARM_BOARD_CONFIGURATION_BLOCK
52 ULONG TimerRegisterBase
;
53 ULONG UartRegisterBase
;
54 ULONG MemoryMapEntryCount
;
55 PBIOS_MEMORY_MAP MemoryMap
;
56 CHAR CommandLine
[256];
60 PVOID VideoClearScreen
;
61 PVOID VideoSetDisplayMode
;
62 PVOID VideoGetDisplaySize
;
63 PVOID VideoGetBufferSize
;
64 PVOID VideoSetTextCursorPosition
;
65 PVOID VideoHideShowTextCursor
;
67 PVOID VideoCopyOffScreenBufferToVRAM
;
68 PVOID VideoIsPaletteFixed
;
69 PVOID VideoSetPaletteColor
;
70 PVOID VideoGetPaletteColor
;
73 } ARM_BOARD_CONFIGURATION_BLOCK
, *PARM_BOARD_CONFIGURATION_BLOCK
;
77 LlbAllocateMemoryEntry(
78 IN BIOS_MEMORY_TYPE Type
,