RTEMS Logo

RTEMS 4.9.3 On-Line Library


Initialization Code Required Global Variables

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

7.2: Required Global Variables

Although not strictly part of initialization, there are a few global variables assumed to exist by reusable device drivers. These global variables should only defined by the BSP when using one of these device drivers.

The BSP author probably should be aware of the Configuration Table structure generated by <rtems/confdefs.h> during debug but should not explicitly reference it in the source code. There are helper routines provided by RTEMS to access individual fields.

In older RTEMS versions, the BSP included a number of required global variables. We have made every attempt to eliminate these in the interest of simplicity.


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2008 OAR Corporation