// 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(mylog: Arc<Log<usize>>, initialized: &AtomicBool) {
        crate::arch::enable_sse();
        crate::arch::enable_fsgsbase();
        mylog.append(&[0usize, 1usize], 1, |_o: usize, _i: usize| {});
        //assert!(r.is_some());
        // Don't change this string otherwise the test will fail:
        sprintln!("Hello from the other side");
        initialized.store(true, Ordering::SeqCst);
        loop {}
    }
fn nrk_init_ap ( mylog : Arc < Log < usize > > , initialized : & AtomicBool ) { crate :: arch :: enable_sse ( ) ; crate :: arch :: enable_fsgsbase ( ) ; mylog . append ( & [ 0usize , 1usize ] , 1 , | _o : usize , _i : usize | { } ) ; //assert!(r.is_some()); // Don't change this string otherwise the test will fail: sprintln ! ( " " ) ; initialized . store ( true , Ordering :: SeqCst ) ; loop { } }
Entry point for app.
Entry point for app .
mylog
Arc<Log<usize>>
initialized
&AtomicBool