RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
m68k
gen68340
include
bsp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
10
11
/*
12
* Board Support Package for `Generic' Motorola MC68340
13
*
14
* Based on the `gen68360' board support package, and covered by the
15
* original distribution terms.
16
*/
17
18
/* bsp.h
19
*
20
* COPYRIGHT (c) 1989-1999.
21
* On-Line Applications Research Corporation (OAR).
22
*
23
* Redistribution and use in source and binary forms, with or without
24
* modification, are permitted provided that the following conditions
25
* are met:
26
* 1. Redistributions of source code must retain the above copyright
27
* notice, this list of conditions and the following disclaimer.
28
* 2. Redistributions in binary form must reproduce the above copyright
29
* notice, this list of conditions and the following disclaimer in the
30
* documentation and/or other materials provided with the distribution.
31
*
32
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
34
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
35
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
36
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
37
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
38
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
39
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
40
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
41
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42
* POSSIBILITY OF SUCH DAMAGE.
43
*/
44
45
#ifndef LIBBSP_M68K_GEN68340_BSP_H
46
#define LIBBSP_M68K_GEN68340_BSP_H
47
57
58
#ifndef ASM
59
60
#include <bspopts.h>
61
#include <
bsp/default-initial-extension.h
>
62
63
#include <
rtems.h
>
64
65
#ifdef __cplusplus
66
extern
"C"
{
67
#endif
68
69
/* Constants */
70
71
/* Structures */
72
73
extern
rtems_isr_entry
M68Kvec[];
/* vector table address */
74
75
/* functions */
76
77
rtems_isr_entry
set_vector(
78
rtems_isr_entry
handler,
79
rtems_vector_number
vector,
80
int
type
81
);
82
83
/*
84
* Methods used across files inside the BSP
85
*/
86
int
dbug_in_char(
int
minor );
87
void
dbug_out_char(
int
minor,
int
ch );
88
int
dbug_char_present(
int
minor );
89
void
_dbug_dumpanic(
void
);
90
91
/*
92
* Only called from .S but prototyped here to capture the dependecy.
93
*/
94
void
_Init68340 (
void
);
95
96
#ifdef __cplusplus
97
}
98
#endif
99
100
#endif
/* !ASM */
101
103
104
#endif
default-initial-extension.h
This header file provides the default definition of BSP_INITIAL_EXTENSION.
rtems_isr_entry
ISR_Handler_entry rtems_isr_entry
Interrupt service routines installed by rtems_interrupt_catch() shall have this type.
Definition
intr.h:134
rtems_vector_number
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition
intr.h:102
rtems.h
This header file defines the RTEMS Classic API.
Generated by
1.18.0