BSP and Device Driver Development Guide
The file include/bsp.h
contains prototypes and definitions
specific to this board. Every BSP is required to provide a bsp.h
.
The best approach to writing a bsp.h
is copying an existing one
as a starting point.
Many bsp.h
files provide prototypes of variables defined
in the linker script (linkcmds
).
There are a number of fields in this file that are used only by the RTEMS Test Suites. The following is a list of these:
MAX_LONG_TEST_DURATION
- the longest length of time a
"long running" test should run.
MAX_SHORT_TEST_DURATION
- the longest length of time a
"short running" test should run.
MUST_WAIT_FOR_INTERRUPT
- modifies behavior of tm27
.
Install_tm27_vector
- installs the interrupt service
routine for the Interrupt Benchmark Test (tm27
).
Cause_tm27_intr
- generates the interrupt source
used in the Interrupt Benchmark Test (tm27
).
Clear_tm27_intr
- clears the interrupt source
used in the Interrupt Benchmark Test (tm27
).
Lower_tm27_intr
- lowers the interrupt mask so the
interrupt source used in the Interrupt Benchmark Test (tm27
)
can generate a nested interrupt.
BSP and Device Driver Development Guide
Copyright © 1988-2004 OAR Corporation