Fix clippy warning

This commit is contained in:
Berkus Decker 2020-08-10 00:09:28 +03:00
parent a4a3289712
commit 668296b8e0
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ use {
/// The entry to Rust, all things must be initialized
/// This is invoked from the linker script, does arch-specific init
/// and passes control to the kernel boot function kmain().
///
/// # Safety
///
/// Totally unsafe! We're in the hardware land.
///
#[no_mangle]
pub unsafe extern "C" fn karch_start() -> ! {
// Set sp to 0x80000 (just before kernel start)