RTEMS: bsps/m68k/gen68340/include/bsp.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
bsp.h
Go to the documentation of this file.
1
9/*
10 * Board Support Package for `Generic' Motorola MC68340
11 *
12 * Based on the `gen68360' board support package, and covered by the
13 * original distribution terms.
14 */
15
16/* bsp.h
17 *
18 * COPYRIGHT (c) 1989-1999.
19 * On-Line Applications Research Corporation (OAR).
20 *
21 * The license and distribution terms for this file may be
22 * found in the file LICENSE in this distribution or at
23 * http://www.rtems.org/license/LICENSE.
24 */
25
26#ifndef LIBBSP_M68K_GEN68340_BSP_H
27#define LIBBSP_M68K_GEN68340_BSP_H
28
39#ifndef ASM
40
41#include <bspopts.h>
42#include <bsp/default-initial-extension.h>
43
44#include <rtems.h>
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50/* Constants */
51
52/* Structures */
53
54extern rtems_isr_entry M68Kvec[]; /* vector table address */
55
56/* functions */
57
58rtems_isr_entry set_vector(
59 rtems_isr_entry handler,
60 rtems_vector_number vector,
61 int type
62);
63
64/*
65 * Methods used across files inside the BSP
66 */
67int dbug_in_char( int minor );
68void dbug_out_char( int minor, int ch );
69int dbug_char_present( int minor );
70void _dbug_dumpanic(void);
71
72/*
73 * Only called from .S but prototyped here to capture the dependecy.
74 */
75void _Init68340 (void);
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* !ASM */
82
85#endif
default-initial-extension.h
DEFAULT_INITIAL_EXTENSION Support.
rtems_vector_number
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
rtems.h