RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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>
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,
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 Support.
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
rtems_isr_entry set_vector(rtems_isr_entry handler, rtems_vector_number vector, int type)
Install an interrupt handler.
Definition: setvec.c:28