File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use core::{ops, slice};
8
8
/// ```
9
9
/// # use bootloader::BootInfo;
10
10
/// # type _SIGNATURE =
11
- /// extern "C" fn(boot_info: &'static BootInfo) -> !;
11
+ /// extern "C" fn(boot_info: &'static mut BootInfo) -> !;
12
12
/// ```
13
13
///
14
14
/// Note that no type checking occurs for the entry point function, so be careful to
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ compile_error!("This crate only supports the x86_64 architecture.");
104
104
105
105
/// Defines the entry point function.
106
106
///
107
- /// The function must have the signature `fn(&'static BootInfo) -> !`.
107
+ /// The function must have the signature `fn(&'static mut BootInfo) -> !`.
108
108
///
109
109
/// This macro just creates a function named `_start`, which the linker will use as the entry
110
110
/// point. The advantage of using this macro instead of providing an own `_start` function is
You can’t perform that action at this time.
0 commit comments