Visible to Intel only — GUID: iuj1642668804368
Ixiasoft
Visible to Intel only — GUID: iuj1642668804368
Ixiasoft
6.12.3. Customizing the Boot Sequence
Function alt_main() calls function main(). After main() returns, the default alt_main() enters an infinite loop. Alternatively, your custom alt_main() might terminate by calling exit(). Do not use a return statement.
The following line of code is the prototype for alt_main():
void alt_main (void)
The HAL build environment includes mechanisms to override default HAL BSP code. This lets you override boot loaders, as well as default device drivers and other system code, with your own implementation.
alt_sys_init.c is a generated file, which you must not modify. However, the Nios® V processor tools enables you to control the generated contents of alt_sys_init.c. To specify the initialization sequence in alt_sys_init.c, you manipulate the auto_initialize and alt_sys_init_priority properties of each driver, using the set_sw_property Tcl command.