fn nrk_init_ap(arg1: Arc<u64>, initialized: &AtomicBool) {
        crate::arch::enable_sse();
        crate::arch::enable_fsgsbase();

        // Check that we can pass arguments:
        assert_eq!(*arg1, 0xfefe);
        assert_eq!(initialized.load(Ordering::SeqCst), false);

        // Don't change this string otherwise the test will fail:
        sprintln!("Hello from the other side");

        initialized.store(true, Ordering::SeqCst);
        assert_eq!(initialized.load(Ordering::SeqCst), true);
        loop {}
    }
// Entry point for app. This function is called from start_ap.S:
Entry point for app. This function is called from start_ap.S.
Entry point for app . This function is called from start_ap . S .
fn nrk_init_ap(arg1: Arc<u64>, initialized: &AtomicBool) {
        crate::arch::enable_sse();
        crate::arch::enable_fsgsbase();
        // Check that we can pass arguments:
        assert_eq!(*arg1, 0xfefe);
        assert_eq!(initialized.load(Ordering::SeqCst), false);
        // Don't change this string otherwise the test will fail:
        sprintln!("Hello from the other side");
        initialized.store(true, Ordering::SeqCst);
        assert_eq!(initialized.load(Ordering::SeqCst), true);
        loop {}
    }
fn nrk_init_ap ( arg1 : Arc < u64 > , initialized : & AtomicBool ) { crate :: arch :: enable_sse ( ) ; crate :: arch :: enable_fsgsbase ( ) ; // Check that we can pass arguments: assert_eq ! ( arg1 0xfefe ) ; assert_eq ! ( initialized load ( Ordering SeqCst ) false ) ; // Don't change this string otherwise the test will fail: sprintln ! ( " " ) ; initialized . store ( true , Ordering :: SeqCst ) ; assert_eq ! ( initialized load ( Ordering SeqCst ) true ) ; loop { } }
Entry point for app.
Entry point for app .
arg1
Arc<u64>
initialized
&AtomicBool
arg1
Arc<u64>
initialized
&AtomicBool