Skip to content

Commit cf29802

Browse files
committed
multiboot2: release v0.18.1
1 parent 22a8a5b commit cf29802

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

multiboot2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Multiboot2-compliant bootloaders, such as GRUB. It supports all tags from the
66
specification including full support for the sections of ELF files. This library
77
is `no_std` and can be used in a Multiboot2-kernel.
88
"""
9-
version = "0.18.0"
9+
version = "0.18.1"
1010
authors = [
1111
"Philipp Oppermann <[email protected]>",
1212
"Calvin Lee <[email protected]>",

multiboot2/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG for crate `multiboot2`
22

3+
## 0.18.1 (2023-07-13)
4+
- Documentation improvements
5+
36
## 0.18.0 (2023-07-13)
47
- **BREAKING** The `TagTrait` was enhanced and now has an associated `ID`
58
constant. This is only breaking to users that used `BootInformation::get_tag`

multiboot2/src/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,9 @@ use crate::builder::AsBytes;
9999
use crate::framebuffer::UnknownFramebufferType;
100100
use tag::TagIter;
101101

102-
/// Magic number that a multiboot2-compliant boot loader will store in `eax` register
103-
/// right before handoff to the payload (the kernel). This value can be used to check,
104-
/// that the kernel was indeed booted via multiboot2.
105-
///
106-
/// Caution: You might need some assembly code (e.g. GAS or NASM) first, which
107-
/// moves `eax` to another register, like `edi`. Otherwise it probably happens,
108-
/// that the Rust compiler output changes `eax` before you can access it.
102+
/// Magic number that a Multiboot2-compliant boot loader will use to identify
103+
/// the handoff. The location depends on the architecture and the targeted
104+
/// machine state.
109105
pub const MAGIC: u32 = 0x36d76289;
110106

111107
/// Error type that describes errors while loading/parsing a multiboot2 information structure

multiboot2/src/tag_trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{Tag, TagType};
44
use ptr_meta::Pointee;
55

66
/// A trait to abstract over all sized and unsized tags (DSTs). For sized tags,
7-
/// this trait does not much. For DSTs, a `TagTrait::dst_size` implementation
7+
/// this trait does not much. For DSTs, a [`TagTrait::dst_size`] implementation
88
/// must me provided, which returns the right size hint for the dynamically
99
/// sized portion of the struct.
1010
///

0 commit comments

Comments
 (0)