[][src]Macro bootloader::entry_point

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

Defines the entry point function.

The function must have the signature fn(&'static BootInfo) -> !.

This macro just creates a function named _start, which the linker will use as the entry point. The advantage of using this macro instead of providing an own _start function is that the macro ensures that the function and argument types are correct.