stdlib/multibootView source ↗
multiboot
19 items · generated by scribe fromstdlib/multiboot.fd· synced 2026-11-15
Contents
- mb_u32 (function)
- MB_TAG_END (function)
- MB_TAG_CMDLINE (function)
- MB_TAG_BOOTLOADER (function)
- MB_TAG_MODULE (function)
- MB_TAG_MEM_BASIC (function)
- MB_TAG_BOOTDEV (function)
- MB_TAG_MMAP (function)
- MB_TAG_FRAMEBUFFER (function)
- mbi_valid (function)
- mbi_tag_count (function)
- mbi_tag (function)
- mbi_tag_find (function)
- mb_str (function)
- E820Entry (struct)
- mmap_count (function)
- mmap_entry (function)
- FbInfo (struct)
- fb_info (function)
mb_u32
pub fn mb_u32(b: Vec<i64>, o: i64) -> i64 {Parameters:
b:Vec<i64>o:i64
Returns: i64
Defined at line 7
MB_TAG_END
pub fn MB_TAG_END() -> i64 {Returns: i64
Defined at line 15
MB_TAG_CMDLINE
pub fn MB_TAG_CMDLINE() -> i64 {Returns: i64
Defined at line 18
MB_TAG_BOOTLOADER
pub fn MB_TAG_BOOTLOADER() -> i64 {Returns: i64
Defined at line 21
MB_TAG_MODULE
pub fn MB_TAG_MODULE() -> i64 {Returns: i64
Defined at line 24
MB_TAG_MEM_BASIC
pub fn MB_TAG_MEM_BASIC() -> i64 {Returns: i64
Defined at line 27
MB_TAG_BOOTDEV
pub fn MB_TAG_BOOTDEV() -> i64 {Returns: i64
Defined at line 30
MB_TAG_MMAP
pub fn MB_TAG_MMAP() -> i64 {Returns: i64
Defined at line 33
MB_TAG_FRAMEBUFFER
pub fn MB_TAG_FRAMEBUFFER() -> i64 {Returns: i64
Defined at line 36
mbi_valid
Valid mbi? (total_size u32 then reserved u32; the byte following the tags is always an END tag pair).
pub fn mbi_valid(b: Vec<i64>) -> bool {Parameters:
b:Vec<i64>
Returns: bool
Defined at line 42
mbi_tag_count
Total tag count (END tag excluded).
pub fn mbi_tag_count(b: Vec<i64>) -> i64 {Parameters:
b:Vec<i64>
Returns: i64
Defined at line 48
mbi_tag
Offset of tag i’s payload (its type and size fields are the 8 bytes just before), or -1.
pub fn mbi_tag(b: Vec<i64>, i: i64) -> i64 {Parameters:
b:Vec<i64>i:i64
Returns: i64
Defined at line 66
mbi_tag_find
Offset of the first tag of want type’s payload, or -1.
pub fn mbi_tag_find(b: Vec<i64>, want: i64) -> i64 {Parameters:
b:Vec<i64>want:i64
Returns: i64
Defined at line 85
mb_str
NUL-terminated string at payload offset p (cmdline/bootloader tags).
pub fn mb_str(b: Vec<i64>, p: i64) -> str {Parameters:
b:Vec<i64>p:i64
Returns: str
Defined at line 102
E820Entry
pub struct E820Entry {Fields:
| Name | Type |
|---|---|
base | i64 |
length | i64 |
etype | i64 |
Defined at line 118
mmap_count
Number of e820 entries in the mmap tag payload at p.
pub fn mmap_count(b: Vec<i64>, p: i64) -> i64 {Parameters:
b:Vec<i64>p:i64
Returns: i64
Defined at line 125
mmap_entry
e820 entry i: {base u64, length u64, type u32, reserved u32}.
pub fn mmap_entry(b: Vec<i64>, p: i64, i: i64) -> E820Entry {Parameters:
b:Vec<i64>p:i64i:i64
Returns: E820Entry
Defined at line 138
FbInfo
pub struct FbInfo {Fields:
| Name | Type |
|---|---|
addr | i64 |
pitch | i64 |
width | i64 |
height | i64 |
bpp | i64 |
fbtype | i64 |
Defined at line 163
fb_info
Framebuffer tag payload at p.
pub fn fb_info(b: Vec<i64>, p: i64) -> FbInfo {Parameters:
b:Vec<i64>p:i64
Returns: FbInfo
Defined at line 173
Generated by scribe, the Fides documentation generator