mirror of
https://github.com/tailix/libclayer.git
synced 2024-11-20 11:06:24 -05:00
370 lines
8.9 KiB
Text
370 lines
8.9 KiB
Text
|
Multiboot 2 info {
|
||
|
u32 size: 1816
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 1 (boot cmd line)
|
||
|
u32 size: 23
|
||
|
char cmdline[]: "Hello, Kernel!"
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 2 (boot loader name)
|
||
|
u32 size: 30
|
||
|
char name[]: "GRUB 2.02-2ubuntu8.20"
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 3 (module)
|
||
|
u32 size: 33
|
||
|
u32 mod_start: 0x7b
|
||
|
u32 mod_end: 0x1c8
|
||
|
char cmdline[]: "Hello, Module 1!"
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 3 (module)
|
||
|
u32 size: 33
|
||
|
u32 mod_start: 0x7b
|
||
|
u32 mod_end: 0x1c8
|
||
|
char cmdline[]: "Hello, Module 2!"
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 4 (basic memory info)
|
||
|
u32 size: 16
|
||
|
u32 mem_lower: 123
|
||
|
u32 mem_upper: 456
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 5 (BIOS boot device)
|
||
|
u32 size: 20
|
||
|
u32 biosdev: 0
|
||
|
u32 partition: 1
|
||
|
u32 sub_partition: 2
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 6 (memory map)
|
||
|
u32 size: 160
|
||
|
u32 entry_size: 24
|
||
|
u32 entry_version: 0
|
||
|
varies(entry_size) entries[]: [
|
||
|
[0]: {
|
||
|
u64 base_addr: 0x0
|
||
|
u64 length: 654336
|
||
|
u32 type: 1 (available)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
[1]: {
|
||
|
u64 base_addr: 0x9fc00
|
||
|
u64 length: 1024
|
||
|
u32 type: 2 (reserved)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
[2]: {
|
||
|
u64 base_addr: 0xf0000
|
||
|
u64 length: 65536
|
||
|
u32 type: 2 (reserved)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
[3]: {
|
||
|
u64 base_addr: 0x100000
|
||
|
u64 length: 133038080
|
||
|
u32 type: 1 (available)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
[4]: {
|
||
|
u64 base_addr: 0x7fe0000
|
||
|
u64 length: 131072
|
||
|
u32 type: 2 (reserved)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
[5]: {
|
||
|
u64 base_addr: 0xfffc0000
|
||
|
u64 length: 262144
|
||
|
u32 type: 2 (reserved)
|
||
|
u32 reserved: 0x0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 7 (VBE info)
|
||
|
u32 size: 784
|
||
|
u16 vbe_mode: 0
|
||
|
u16 vbe_interface_seg: 123
|
||
|
u16 vbe_interface_off: 456
|
||
|
u16 vbe_interface_len: 789
|
||
|
u8 vbe_control_info[]: [
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
123 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 123
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|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 0 0 0 0 0 0 0 0 0 0 0 0 32
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
||
|
]
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 8 (framebuffer info)
|
||
|
u32 size: 40
|
||
|
u64 framebuffer_addr: 0x7b
|
||
|
u32 framebuffer_pitch: 456
|
||
|
u32 framebuffer_width: 123
|
||
|
u32 framebuffer_height: 456
|
||
|
u8 framebuffer_bpp: 8
|
||
|
u8 framebuffer_type: 1
|
||
|
u16 reserved: 0x0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 9 (ELF symbols)
|
||
|
u32 size: 420
|
||
|
u32 num: 10
|
||
|
u32 entsize: 40
|
||
|
u32 shndx: 9
|
||
|
varies(entsize) section_headers[]: [
|
||
|
[0]: {
|
||
|
name: 0
|
||
|
type: 0 (NULL)
|
||
|
flags: 0x0 ()
|
||
|
addr: 0x0
|
||
|
offset: 0x0
|
||
|
size: 0
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 0
|
||
|
entsize: 0
|
||
|
}
|
||
|
[1]: {
|
||
|
name: 27
|
||
|
type: 1 (PROGBITS)
|
||
|
flags: 0x6 (
|
||
|
ALLOC |
|
||
|
EXECINSTR
|
||
|
)
|
||
|
addr: 0x400000
|
||
|
offset: 0x1000
|
||
|
size: 13718
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 4096
|
||
|
entsize: 0
|
||
|
}
|
||
|
[2]: {
|
||
|
name: 33
|
||
|
type: 1 (PROGBITS)
|
||
|
flags: 0x2 (
|
||
|
ALLOC
|
||
|
)
|
||
|
addr: 0x404000
|
||
|
offset: 0x5000
|
||
|
size: 2824
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 4096
|
||
|
entsize: 0
|
||
|
}
|
||
|
[3]: {
|
||
|
name: 41
|
||
|
type: 1 (PROGBITS)
|
||
|
flags: 0x2 (
|
||
|
ALLOC
|
||
|
)
|
||
|
addr: 0x404b08
|
||
|
offset: 0x5b08
|
||
|
size: 2692
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 4
|
||
|
entsize: 0
|
||
|
}
|
||
|
[4]: {
|
||
|
name: 51
|
||
|
type: 1 (PROGBITS)
|
||
|
flags: 0x3 (
|
||
|
WRITE |
|
||
|
ALLOC
|
||
|
)
|
||
|
addr: 0x406000
|
||
|
offset: 0x7000
|
||
|
size: 1
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 4096
|
||
|
entsize: 0
|
||
|
}
|
||
|
[5]: {
|
||
|
name: 57
|
||
|
type: 8 (NOBITS)
|
||
|
flags: 0x3 (
|
||
|
WRITE |
|
||
|
ALLOC
|
||
|
)
|
||
|
addr: 0x407000
|
||
|
offset: 0x7001
|
||
|
size: 43328
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 4096
|
||
|
entsize: 0
|
||
|
}
|
||
|
[6]: {
|
||
|
name: 62
|
||
|
type: 1 (PROGBITS)
|
||
|
flags: 0x30 ()
|
||
|
addr: 0x100000
|
||
|
offset: 0x7001
|
||
|
size: 17
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 1
|
||
|
entsize: 1
|
||
|
}
|
||
|
[7]: {
|
||
|
name: 1
|
||
|
type: 2 (SYMTAB)
|
||
|
flags: 0x0 ()
|
||
|
addr: 0x100014
|
||
|
offset: 0x7014
|
||
|
size: 3248
|
||
|
link: 8
|
||
|
info: 72
|
||
|
addralign: 4
|
||
|
entsize: 16
|
||
|
}
|
||
|
[8]: {
|
||
|
name: 9
|
||
|
type: 3 (STRTAB)
|
||
|
flags: 0x0 ()
|
||
|
addr: 0x100cc4
|
||
|
offset: 0x7cc4
|
||
|
size: 3536
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 1
|
||
|
entsize: 0
|
||
|
}
|
||
|
[9]: {
|
||
|
name: 17
|
||
|
type: 3 (STRTAB)
|
||
|
flags: 0x0 ()
|
||
|
addr: 0x101a94
|
||
|
offset: 0x8a94
|
||
|
size: 71
|
||
|
link: 0
|
||
|
info: 0
|
||
|
addralign: 1
|
||
|
entsize: 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 10 (APM table)
|
||
|
u32 size: 28
|
||
|
u16 version: 0
|
||
|
u16 cseg: 123
|
||
|
u32 offset: 456
|
||
|
u16 cseg_16: 789
|
||
|
u16 dseg: 123
|
||
|
u16 flags: 1
|
||
|
u16 cseg_len: 456
|
||
|
u16 cseg_16_len: 789
|
||
|
u16 dseg_len: 123
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 11 (EFI 32bit system table ptr)
|
||
|
u32 size: 12
|
||
|
u32 pointer: 0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 12 (EFI 64bit system table ptr)
|
||
|
u32 size: 16
|
||
|
u64 pointer: 0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 13 (SMBIOS tables)
|
||
|
u32 size: 24
|
||
|
u8 major: 1
|
||
|
u8 minor: 2
|
||
|
u8 reserved[6]: [0x0, 0x0, 0x0, 0x0, 0x0, 0x0]
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 14 (ACPI old RSDP)
|
||
|
u32 size: 16
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 15 (ACPI new RSDP)
|
||
|
u32 size: 16
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 16 (networking info)
|
||
|
u32 size: 16
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 17 (EFI memory map)
|
||
|
u32 size: 24
|
||
|
u32 descriptor_size: 123
|
||
|
u32 descriptor_version: 1
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 18 (EFI boot services not terminated)
|
||
|
u32 size: 8
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 19 (EFI 32bit image handle ptr)
|
||
|
u32 size: 12
|
||
|
u32 pointer: 0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 20 (EFI 64bit image handle ptr)
|
||
|
u32 size: 16
|
||
|
u64 pointer: 0
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 21 (image load base phys addr)
|
||
|
u32 size: 12
|
||
|
u32 load_base_addr: 0x7b
|
||
|
}
|
||
|
Multiboot 2 info tag {
|
||
|
u32 type: 0 (none)
|
||
|
u32 size: 8
|
||
|
}
|