Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

5.2.6.  C Initialization Functions

Now that the C infrastructure is set up, it is appropriate to call any C functions that are used during initialization. In the OpenRISC 1000  case this is a function to initialize a UART. Only one version of the library actually has a UART. However it is easiest to substitute a dummy version of the initialization function in the version of the library without a UART, rather than making this function conditional.

        l.jal    __uart_init
        l.nop
	  
Embecosm divider strip