RTEMS: bsps/powerpc/include/bsp/motorola.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
19typedef enum {
20 PREP_IBM = 0,
21 PREP_Radstone = 1,
22 PREP_Motorola = 2
23} prep_t;
24
25typedef 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 MOTOROLA_UNKNOWN = 255
50} motorolaBoard;
51
52typedef enum {
53 HOST_BRIDGE_RAVEN = 0,
54 HOST_BRIDGE_HAWK = 1,
55 HOST_BRIDGE_UNKNOWN = 255
56} motorolaHostBridge;
57
58#define MOTOROLA_CPUTYPE_REG 0x800
59#define MOTOROLA_BASETYPE_REG 0x803
60
61extern prep_t checkPrepBoardType(RESIDUAL *res);
62extern prep_t currentPrepType;
63extern motorolaBoard getMotorolaBoard(void);
64extern motorolaBoard currentBoard;
65extern const char* motorolaBoardToString(motorolaBoard);
66extern const struct _int_map *motorolaIntMap(motorolaBoard board);
67extern const void *motorolaIntSwizzle(motorolaBoard board);
68
69#endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
_RESIDUAL
Definition: residual.h:294
_int_map
Definition: pci.h:41