fn process_exit(code: u64) -> Result<(u64, u64), KError> {
    debug!("Process got exit, we are done for now...");
    // TODO: For now just a dummy version that exits Qemu
    if code != 0 {
        // When testing we want to indicate to our integration
        // test that our user-space test failed with a non-zero exit
        super::debug::shutdown(crate::ExitReason::UserSpaceError);
    } else {
        super::debug::shutdown(crate::ExitReason::Ok);
    }
}
/// System call handler for process exit
System call handler for process exit
System call handler for process exit
fn process_exit(code: u64) -> Result<(u64, u64), KError> {
    debug!("Process got exit, we are done for now...");
    // TODO: For now just a dummy version that exits Qemu
    if code != 0 {
        // When testing we want to indicate to our integration
        // test that our user-space test failed with a non-zero exit
        super::debug::shutdown(crate::ExitReason::UserSpaceError);
    } else {
        super::debug::shutdown(crate::ExitReason::Ok);
    }
}
fn process_exit ( code : u64 ) -> Result < ( u64 , u64 ) , KError > { debug ! ( " " ) ; // TODO: For now just a dummy version that exits Qemu if code != 0 { // When testing we want to indicate to our integration // test that our user-space test failed with a non-zero exit super :: debug :: shutdown ( crate :: ExitReason :: UserSpaceError ) ; } else { super :: debug :: shutdown ( crate :: ExitReason :: Ok ) ; } }
System call handler for process exit
System call handler for process exit
code
u64
code
u64