ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

osloader.h
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS Boot Loader
00003  * LICENSE:         BSD - See COPYING.ARM in the top level directory
00004  * FILE:            boot/armllb/inc/osloader.h
00005  * PURPOSE:         Shared header between LLB and OS Loader
00006  * PROGRAMMERS:     ReactOS Portable Systems Group
00007  */
00008 
00009 //
00010 // OS Loader Main Routine
00011 // 
00012 typedef
00013 VOID (*POSLOADER_INIT)(
00014     IN PVOID BoardInit
00015 );
00016 
00017 #ifndef __REGISTRY_H
00018 //
00019 // Type of memory detected by LLB
00020 //
00021 typedef enum
00022 {
00023     BiosMemoryUsable = 1,
00024     BiosMemoryBootLoader,
00025     BiosMemoryBootStrap,
00026     BiosMemoryReserved
00027 } BIOS_MEMORY_TYPE;
00028 
00029 //
00030 // Firmware Memory Map
00031 //
00032 typedef struct
00033 {
00034     LONGLONG BaseAddress;
00035     LONGLONG Length;
00036     ULONG Type;
00037     ULONG Reserved;
00038 } BIOS_MEMORY_MAP, *PBIOS_MEMORY_MAP;
00039 #endif
00040 
00041 //
00042 // Information sent from LLB to OS Loader
00043 //
00044 #define ARM_BOARD_CONFIGURATION_MAJOR_VERSION 1
00045 #define ARM_BOARD_CONFIGURATION_MINOR_VERSION 4
00046 typedef struct _ARM_BOARD_CONFIGURATION_BLOCK
00047 {
00048     ULONG MajorVersion;
00049     ULONG MinorVersion;
00050     ULONG BoardType;
00051     ULONG ClockRate;
00052     ULONG TimerRegisterBase;
00053     ULONG UartRegisterBase;
00054     ULONG MemoryMapEntryCount;
00055     PBIOS_MEMORY_MAP MemoryMap;
00056     CHAR CommandLine[256];
00057     PVOID ConsPutChar;
00058     PVOID ConsKbHit;
00059     PVOID ConsGetCh;
00060     PVOID VideoClearScreen;
00061     PVOID VideoSetDisplayMode;
00062     PVOID VideoGetDisplaySize;
00063     PVOID VideoGetBufferSize;
00064     PVOID VideoSetTextCursorPosition;
00065     PVOID VideoHideShowTextCursor;
00066     PVOID VideoPutChar;
00067     PVOID VideoCopyOffScreenBufferToVRAM;
00068     PVOID VideoIsPaletteFixed;
00069     PVOID VideoSetPaletteColor;
00070     PVOID VideoGetPaletteColor;
00071     PVOID VideoSync;
00072     PVOID GetTime;
00073 } ARM_BOARD_CONFIGURATION_BLOCK, *PARM_BOARD_CONFIGURATION_BLOCK;
00074 
00075 VOID
00076 NTAPI
00077 LlbAllocateMemoryEntry(
00078     IN BIOS_MEMORY_TYPE Type,
00079     IN ULONG BaseAddress,
00080     IN ULONG Length
00081 );
00082 
00083 VOID
00084 NTAPI
00085 LlbSetCommandLine(
00086     IN PCHAR CommandLine
00087 );
00088 
00089 VOID
00090 NTAPI
00091 LlbBuildArmBlock(
00092     VOID
00093 );
00094 
00095 VOID
00096 NTAPI
00097 LlbBuildMemoryMap(
00098     VOID
00099 );
00100 
00101 VOID
00102 NTAPI
00103 LlbLoadOsLoader(
00104     VOID
00105 );
00106 
00107 VOID
00108 NTAPI
00109 LlbBoot(
00110     VOID
00111 );
00112 
00113 /* EOF */

Generated on Sun May 27 2012 04:19:01 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.