Skip to main content

secondary_entry

Attribute Macro secondary_entry 

Source
#[secondary_entry]
Expand description

Attribute to declare the secondary entry point of the program

§Examples

  • Simple entry point
#[entry]
fn secondary(cpu_id: usize) -> ! {
    loop { /* .. */ }
}