ReactOS  0.4.15-dev-1386-g5cb9f87
envir.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/envir.h
5  * PURPOSE: LLB Environment Functions
6  * PROGRAMMERS: ReactOS Portable Systems Group
7  */
8 
9 typedef struct _ATAG_HEADER
10 {
14 
15 typedef struct _ATAG_CORE
16 {
21 
22 typedef struct _ATAG_MEM
23 {
27 
28 typedef struct _ATAG_REVISION
29 {
32 
33 typedef struct _ATAG_INITRD2
34 {
38 
39 typedef struct _ATAG_CMDLINE
40 {
43 
44 typedef struct _ATAG
45 {
47  union
48  {
54  } u;
55 } ATAG, *PATAG;
56 
57 #define ATAG_NONE 0x00000000
58 #define ATAG_CORE 0x54410001
59 #define ATAG_MEM 0x54410002
60 #define ATAG_VIDEOTEXT 0x54410003
61 #define ATAG_RAMDISK 0x54410004
62 #define ATAG_INITRD2 0x54420005
63 #define ATAG_SERIAL 0x54410006
64 #define ATAG_REVISION 0x54410007
65 #define ATAG_VIDEOLFB 0x54410008
66 #define ATAG_CMDLINE 0x54410009
67 
68 PCHAR
69 NTAPI
71  IN PCHAR Option
72 );
73 
74 BOOLEAN
75 NTAPI
77  IN PULONG Base,
78  IN PULONG Size
79 );
80 
81 VOID
82 NTAPI
84  IN PULONG Base,
85  IN PULONG Size
86 );
87 
88 VOID
89 NTAPI
91  IN PATAG Arguments
92 );
93 
94 /* EOF */
signed char * PCHAR
Definition: retypes.h:7
#define IN
Definition: typedefs.h:39
ULONG Flags
Definition: envir.h:17
struct _ATAG_REVISION * PATAG_REVISION
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
char CHAR
Definition: xmlstorage.h:175
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2373
struct _ATAG_HEADER ATAG_HEADER
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
ULONG Tag
Definition: envir.h:12
ATAG_CORE Core
Definition: envir.h:49
struct _ATAG_CMDLINE * PATAG_CMDLINE
VOID NTAPI LlbEnvParseArguments(IN PATAG Arguments)
Definition: envir.c:22
CHAR CmdLine[ANYSIZE_ARRAY]
Definition: envir.h:41
#define ATAG_INITRD2
Definition: envir.h:62
struct _ATAG_MEM * PATAG_MEM
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG Size
Definition: envir.h:36
unsigned char BOOLEAN
ULONG Size
Definition: envir.h:24
struct _ATAG * PATAG
struct _ATAG_HEADER * PATAG_HEADER
BOOLEAN NTAPI LlbEnvGetRamDiskInformation(IN PULONG Base, IN PULONG Size)
Definition: envir.c:107
ULONG RootDev
Definition: envir.h:19
union _ATAG::@95 u
struct _ATAG_INITRD2 * PATAG_INITRD2
ULONG Start
Definition: envir.h:35
ULONG Size
Definition: envir.h:11
PCHAR NTAPI LlbEnvRead(IN PCHAR Option)
Definition: envir.c:127
#define ATAG_REVISION
Definition: envir.h:64
ULONG Rev
Definition: envir.h:30
#define ATAG_MEM
Definition: envir.h:59
ATAG_INITRD2 InitRd2
Definition: envir.h:52
ULONG PageSize
Definition: envir.h:18
ATAG_MEM Mem
Definition: envir.h:50
unsigned int * PULONG
Definition: retypes.h:1
#define ATAG_CORE
Definition: envir.h:58
struct _ATAG ATAG
#define ATAG_CMDLINE
Definition: envir.h:66
ATAG_CMDLINE CmdLine
Definition: envir.h:53
unsigned int ULONG
Definition: retypes.h:1
Definition: envir.h:44
ULONG Start
Definition: envir.h:25
ATAG_REVISION Revision
Definition: envir.h:51
ATAG_HEADER Hdr
Definition: envir.h:46
struct _ATAG_CORE * PATAG_CORE
VOID NTAPI LlbEnvGetMemoryInformation(IN PULONG Base, IN PULONG Size)
Definition: envir.c:97