Showing changes from revision #1 to #2:
Added | Removed | Changed
void HAL_Init(unsigned int *riscos_header, void *unacheable_ws)
Entry | |
---|---|
riscos_header | Pointer to OS image header |
uncacheable_ws | Pointer to the HAL’s uncacheable workspace (if requested in the HAL descriptor) |
Exit | |
---|---|
- |
The OS will call HAL_Init after enabling the MMU, and initialising the HAL workspace (filled with 0). At this point any initialisation for the main HAL routines (rather than the early bootstrap code in the HAL) can be done.
This call must only be made by the kernel during OS startup, and must not be called at any other time.