pub unsafe extern "C" fn _start() -> ! {
    #[allow(dead_code)]
    extern "Rust" {
        fn kernel_init() -> !;
    }

    asm!(
        "   mov     x1, 0x50000000 // top of 256MB memory
            mov     sp, x1
            b       kernel_init",
        options(noreturn)
    );
}
/// Entry point for OS
///
/// Positioned at magic address by linker.ld.
///
/// NOTE: must not use stack before SP set.
Entry point for OS
Positioned at magic address by linker.ld.

must not use stack before SP set.
Entry point for OS Positioned at magic address by linker . ld . must not use stack before SP set .
pub unsafe extern "C" fn _start() -> ! {
    #[allow(dead_code)]
    extern "Rust" {
        fn kernel_init() -> !;
    }
    asm!(
        "   mov     x1, 0x50000000 // top of 256MB memory
            mov     sp, x1
            b       kernel_init",
        options(noreturn)
    );
}
pub unsafe extern " " fn _start ( ) -> ! { # [ allow ( dead_code ) ] extern " " { fn kernel_init ( ) -> ! ; } asm ! ( " " options ( noreturn ) ) ; }
Entry point for OS
Positioned at magic address by linker.ld.
Entry point for OS Positioned at magic address by linker . ld .