Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The functions prefixed with app_ are supplied by the RTEMS application, i.e., the RCE project, in our case.

  1. bsp_start()
    • Set up default character output function
    • Get CPU type and revision cached
    • Initialize device driver parameters
      • Rate of timer source for clock.c
      • bsp_timer_internal_clock (question)
      • bsp_timer_average_overhead (question)
      • bsp_timer_least_valid (question)
    • Initialize default raw exception handlers
    • Call app_bsp_start()
    • Return to boot_code()
  2. bsp_pretasking_hook()
  3. bsp_predriver_hook()
  4. bsp_postdriver_hook()
  5. bsp_cleanup()

RCE BSP

This is the portion of the BSP that is specific to the RCE project. It can be found in release/rce/init/src/Init.cc.

  1. app_bsp_start()
    • This routine should set up the processor and board as needed for the task at hand, i.e., it is not generic.
    • Replace the character output function with one that writes to the syslog
    • Return to bsp_start()
  2. app_bsp_pretasking_hook()
  3. app_bsp_predriver_hook()
  4. app_bsp_postdriver_hook()
  5. app_bsp_cleanup()
RceDebug

...