pub unsafe extern "C" fn _start()
Expand description
This assembly does three functions:
- It initializes the stack pointer, the frame pointer (needed for closures to work in start_rust) and the global pointer.
- It initializes the .bss and .data RAM segments. This must be done before any Rust code runs. See https://github.com/tock/tock/issues/2222 for more information.
- Finally it calls
main()
, the main entry point for Tock boards.