[][src]Macro ruspiro_boot::run_with

macro_rules! run_with {
    ($path:path) => { ... };
}

Use this macro to define the never-returning processing entry point function to be used for the processing after all one-time initializations have been done. This function is intended to never return and is executed on each core individually. Therefore this function is called with the core number it's running on.

Example

This example is not tested
run_with!(my_processing);

fn my_processing(core: u32) -> ! {
    loop { } // safely hang here as we should never return.
}