RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
powerpc
include
bsp
motorola.h
1
/* motorola.h
2
*
3
* This include file describe the data structure and the functions implemented
4
* by rtems to identify motorola boards.
5
*
6
* CopyRight (C) 1999 valette@crf.canon.fr
7
*
8
* The license and distribution terms for this file may be
9
* found in the file LICENSE in this distribution or at
10
* http://www.rtems.org/license/LICENSE.
11
*/
12
13
#ifndef LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H
14
#define LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H
15
16
#include <bsp/residual.h>
17
#include <bsp/pci.h>
18
19
typedef
enum
{
20
PREP_IBM = 0,
21
PREP_Radstone = 1,
22
PREP_Motorola = 2
23
} prep_t;
24
25
typedef
enum
{
26
MVME_2400 = 0,
27
MVME_2400_750 = 1,
28
GENESIS = 2,
29
POWERSTACK_E = 3,
30
BLACKAWK = 4,
31
OMAHA = 5,
32
UTAH = 6,
33
POWERSTACK_EX = 7,
34
MESQUITE = 8,
35
SITKA = 9,
36
MESQUITE_W_HAC = 10,
37
MTX_PLUS = 11,
38
MTX_WO_PP = 12,
39
MTX_W_PP = 13,
40
MVME_2300 = 14,
41
MVME_2300SC_2600 = 15,
42
MVME_2600_W_MVME712M = 16,
43
MVME_2600_2700_W_MVME761 = 17,
44
MVME_3600_W_MVME712M = 18,
45
MVME_3600_W_MVME761 = 19,
46
MVME_1600 = 20,
47
/* In the table, slot 21 is the marker for end of automatic probe and scan */
48
MVME_2100 = 22,
49
MVME_5100 = 23,
50
MOTOROLA_UNKNOWN = 255
51
} motorolaBoard;
52
53
typedef
enum
{
54
HOST_BRIDGE_RAVEN = 0,
55
HOST_BRIDGE_HAWK = 1,
56
HOST_BRIDGE_UNKNOWN = 255
57
} motorolaHostBridge;
58
59
#define MOTOROLA_CPUTYPE_REG 0x800
60
#define MOTOROLA_BASETYPE_REG 0x803
61
62
extern
prep_t checkPrepBoardType(RESIDUAL *res);
63
extern
prep_t currentPrepType;
64
extern
motorolaBoard getMotorolaBoard(
void
);
65
extern
motorolaBoard currentBoard;
66
extern
const
char
* motorolaBoardToString(motorolaBoard);
67
extern
const
struct
_int_map
*motorolaIntMap(motorolaBoard board);
68
extern
const
void
*motorolaIntSwizzle(motorolaBoard board);
69
70
#endif
/* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
_int_map
Definition
pci.h:41
Generated by
1.18.0