...
- Command line is in first argument
- Disable interrupts
- Store command line
- Call
bsp_start()
- Determine RTEMS work area and heap
- Initialize RTEMS data structures
- Initialize the C library
- Call
bsp_pretasking_hook()
- Optional: Enable RTEMS debugging capabilities
- RTEMS initialization before loading device drivers
- Call
bsp_predriver_hook()
- Initialize device drivers
- Call
bsp_postdriver_hook()
- Start multitasking
- Thread with entry point
Init
runs - Not clear how this returns. Perhaps when the last task is deleted?
- Thread with entry point
- Call
bsp_cleanup()
- Return to start code
- Not clear what's in the
lr
at this point, i.e., where do we return to?
- Not clear what's in the
...