Skip to content

Commit 341b07e

Browse files
authored
Merge pull request #85 from phip1611/rename-bootloader-magic-component
renamed multiboot2 bootloader magic constant
2 parents bf885c8 + c8eaf01 commit 341b07e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use core::marker::PhantomData;
88
/// Caution: You might need some assembly code (e.g. GAS or NASM) first, which
99
/// moves `eax` to another register, like `edi`. Otherwise it probably happens,
1010
/// that the Rust compiler output changes `eax` before you can access it.
11-
pub const MB2_MAGIC: u32 = 0x36d76289;
11+
pub const MULTIBOOT2_BOOTLOADER_MAGIC: u32 = 0x36d76289;
1212

1313
/// Possible Types of a [`Tag`]. The names and values are taken from the example C code
1414
/// at the bottom of the Multiboot2 specification.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub use elf_sections::{
1616
ElfSection, ElfSectionFlags, ElfSectionIter, ElfSectionType, ElfSectionsTag,
1717
};
1818
pub use framebuffer::{FramebufferColor, FramebufferField, FramebufferTag, FramebufferType};
19-
pub use header::MB2_MAGIC;
19+
pub use header::MULTIBOOT2_BOOTLOADER_MAGIC;
2020
use header::{Tag, TagIter, TagType};
2121
pub use memory_map::{
2222
EFIMemoryAreaType, EFIMemoryDesc, EFIMemoryMapTag, MemoryArea, MemoryAreaIter, MemoryAreaType,

0 commit comments

Comments
 (0)