[ac7d5ef0] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | Board Support Package library |
---|
| 6 | |
---|
| 7 | This directory contains the source for the libbsp.a library. |
---|
| 8 | For each supported board $(RTEMS_BSP) there is a standard |
---|
| 9 | set of functions which must be provided in the BSP: |
---|
| 10 | |
---|
| 11 | + start up initialization |
---|
| 12 | + exit support |
---|
| 13 | + set vector |
---|
| 14 | + console IO support |
---|
| 15 | + drivers |
---|
| 16 | |
---|
| 17 | In addition, the BSP also determines the memory usage by providing |
---|
| 18 | any necessary linker scripts. |
---|
| 19 | |
---|
| 20 | There are also "generic" drivers in this directory. Currently |
---|
| 21 | they are shmdr and stubdr. |
---|
| 22 | |
---|
| 23 | Some of the supplied generic drivers (for example, shared memory) require |
---|
| 24 | target board specific support routines. |
---|
| 25 | |
---|
| 26 | NOTE: The library libbsp.a is actually built by $(RTEMS_BSP)/wrapup/Makefile. |
---|
| 27 | |
---|
| 28 | To execute all of the test in the RTEMS Tests Suites the following |
---|
| 29 | device drivers must be supplied: |
---|
| 30 | |
---|
| 31 | + Clock Tick |
---|
| 32 | + IO Driver Support |
---|
| 33 | + Timer |
---|
| 34 | + Shared Memory Driver Support |
---|
| 35 | |
---|
| 36 | The Timer Driver is used only by the Timing Test Suite (c/src/tests/tmtests/*). |
---|
| 37 | These tests are used to generate the execution times for RTEMS found in the |
---|
| 38 | flyers. It is recommended that these tests be run to verify a port to a new |
---|
| 39 | CPU or with a newly developed BSP. Looking at the times as compared to a |
---|
| 40 | known CPU and target can yield insights into potential performance problems |
---|
| 41 | in either the port, the BSP, or the target hardware. |
---|
| 42 | |
---|
| 43 | The Shared Memory Support is only required to execute the Multiprocessor |
---|
| 44 | Test Suite (c/src/tests/mptests/*). Multiprocessing is not a required part |
---|
| 45 | of a BSP. |
---|
| 46 | |
---|