summaryrefslogtreecommitdiffstats
path: root/doc/bsp_howto/bspstruct.t
blob: b957b1e035476512c4f6d4889cb18fe16d3910db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@c
@c  COPYRIGHT (c) 1988-1998.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Board Support Package Structure

The BSP are all kept in the $RTEMS_ROOT/c/src/lib/libbsp directory. They
are filed under the processor family (m68k, powerpc, etc.). A given BSP
consists in the following directories: 

@itemize @bullet

@item clock : support for the realtime clock, which provides a regular
time basis to the kernel,

@item console : rather the serial driver than only a console driver, it
deals with the board UARTs (i.e. serial devices),

@item include : the include files,

@item startup : the board initialization code,

@item timer : support of timer devices,

@item shmsupp : support of shared memory in a multiprocessor system,

@item network : the KA9Q ethernet driver. 

@end itemize

Another important element are the makefiles, which have to be provided by
the user. 


Rem : You should have a copy of the gen68340 BSP
($RTEMS_ROOT/c/src/lib/libbsp/m68k/gen68340) in hand while reading this
piece of documentation. 

Further in this document we'll use the $BSP340_ROOT label for
$RTEMS_ROOT/c/src/lib/libbsp/m68k/gen68340.