Skip to content

Commit 1932269

Browse files
committed
multiboot2: rename MULTIBOOT2_BOOTLOADER_MAGIC
1 parent 52fd0f4 commit 1932269

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

multiboot2/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
name tag. However, this might also be relevant for users of custom multiboot2
77
tags that use DSTs as types. See the example provided in the doc of the
88
`get_tag` method.
9+
- renamed `MULTIBOOT2_BOOTLOADER_MAGIC` to `MAGIC`
10+
- added a `builder` feature and a `builder` module with a `Multiboot2InformationBuilder`
11+
struct
912

1013
## 0.15.1 (2023-03-18)
1114
- **BREAKING** `MemoryMapTag::all_memory_areas()` was renamed to `memory_areas`

multiboot2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub mod builder;
9696
/// Caution: You might need some assembly code (e.g. GAS or NASM) first, which
9797
/// moves `eax` to another register, like `edi`. Otherwise it probably happens,
9898
/// that the Rust compiler output changes `eax` before you can access it.
99-
pub const MULTIBOOT2_BOOTLOADER_MAGIC: u32 = 0x36d76289;
99+
pub const MAGIC: u32 = 0x36d76289;
100100

101101
/// Load the multiboot boot information struct from an address.
102102
///

0 commit comments

Comments
 (0)