UbixOS V2 2.0

bootinfo.h
Go to the documentation of this file.
1 #include <sys/types.h>
2
3 #define N_BIOS_GEOM 8
4
5 struct bootinfo {
6 u_int32_t bi_version;
7 u_int32_t bi_kernelname; /* represents a char * */
8 u_int32_t bi_nfs_diskless; /* struct nfs_diskless * */
9 /* End of fields that are always present. */
10 #define bi_endcommon bi_n_bios_used
11 u_int32_t bi_n_bios_used;
12 u_int32_t bi_bios_geom[N_BIOS_GEOM];
13 u_int32_t bi_size;
14 u_int8_t bi_memsizes_valid;
15 u_int8_t bi_bios_dev; /* bootdev BIOS unit number */
16 u_int8_t bi_pad[2];
17 u_int32_t bi_basemem;
18 u_int32_t bi_extmem;
19 u_int32_t bi_symtab; /* struct symtab * */
20 u_int32_t bi_esymtab; /* struct symtab * */
21 /* Items below only from advanced bootloader */
22 u_int32_t bi_kernend; /* end of kernel space */
23 u_int32_t bi_envp; /* environment */
24 u_int32_t bi_modulep; /* preloaded modules */
25 uint32_t bi_memdesc_version; /* EFI memory desc version */
26 uint64_t bi_memdesc_size; /* sizeof EFI memory desc */
27 uint64_t bi_memmap; /* pa of EFI memory map */
28 uint64_t bi_memmap_size; /* size of EFI memory map */
29 uint64_t bi_hcdp; /* DIG64 HCDP table */
30 uint64_t bi_fpswa; /* FPSWA interface */
31 uint64_t bi_systab; /* pa of EFI system table */
32 };
bootinfo::bi_modulep
u_int32_t bi_modulep
Definition: bootinfo.h:24
bootinfo
Definition: bootinfo.h:5
bootinfo::bi_size
u_int32_t bi_size
Definition: bootinfo.h:13
bootinfo::bi_bios_geom
u_int32_t bi_bios_geom[8]
Definition: bootinfo.h:12
bootinfo::bi_basemem
u_int32_t bi_basemem
Definition: bootinfo.h:17
bootinfo::bi_envp
u_int32_t bi_envp
Definition: bootinfo.h:23
uint64_t
__uint64_t uint64_t
Definition: types.h:47
bootinfo::bi_memmap_size
uint64_t bi_memmap_size
Definition: bootinfo.h:28
bootinfo::bi_kernend
u_int32_t bi_kernend
Definition: bootinfo.h:22
bootinfo::bi_kernelname
u_int32_t bi_kernelname
Definition: bootinfo.h:7
bootinfo::bi_symtab
u_int32_t bi_symtab
Definition: bootinfo.h:19
types.h
bootinfo::bi_memmap
uint64_t bi_memmap
Definition: bootinfo.h:27
bootinfo::bi_memsizes_valid
u_int8_t bi_memsizes_valid
Definition: bootinfo.h:14
bootinfo::bi_nfs_diskless
u_int32_t bi_nfs_diskless
Definition: bootinfo.h:8
bootinfo::bi_n_bios_used
u_int32_t bi_n_bios_used
Definition: bootinfo.h:11
u_int8_t
__uint8_t u_int8_t
Definition: types.h:51
bootinfo::bi_bios_dev
u_int8_t bi_bios_dev
Definition: bootinfo.h:15
bootinfo::bi_extmem
u_int32_t bi_extmem
Definition: bootinfo.h:18
uint32_t
__uint32_t uint32_t
Definition: types.h:46
bootinfo::bi_hcdp
uint64_t bi_hcdp
Definition: bootinfo.h:29
bootinfo::bi_memdesc_version
uint32_t bi_memdesc_version
Definition: bootinfo.h:25
bootinfo::bi_fpswa
uint64_t bi_fpswa
Definition: bootinfo.h:30
bootinfo::bi_version
u_int32_t bi_version
Definition: bootinfo.h:6
N_BIOS_GEOM
#define N_BIOS_GEOM
Definition: bootinfo.h:3
u_int32_t
__uint32_t u_int32_t
Definition: types.h:53
bootinfo::bi_esymtab
u_int32_t bi_esymtab
Definition: bootinfo.h:20
bootinfo::bi_memdesc_size
uint64_t bi_memdesc_size
Definition: bootinfo.h:26
bootinfo::bi_systab
uint64_t bi_systab
Definition: bootinfo.h:31
bootinfo::bi_pad
u_int8_t bi_pad[2]
Definition: bootinfo.h:16