source: rtems/c/src/lib/libbsp/powerpc/shared/motorola/motorola.h @ 6128a4a

4.104.114.84.95
Last change on this file since 6128a4a was 6128a4a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/21/04 at 10:43:04

Remove stray white spaces.

  • Property mode set to 100644
File size: 1.7 KB
Line 
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 found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifndef LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H
16#define LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H
17
18#include <bsp/residual.h>
19#include <bsp/pci.h>
20
21
22
23
24
25
26
27
28typedef enum {
29  PREP_IBM      = 0,
30  PREP_Radstone = 1,
31  PREP_Motorola = 2
32}prep_t;
33
34typedef enum {
35  MVME_2400                     = 0,
36  GENESIS                       = 1,
37  POWERSTACK_E                  = 2,
38  BLACKAWK                      = 3,
39  OMAHA                         = 4,
40  UTAH                          = 5,
41  POWERSTACK_EX                 = 6,
42  MESQUITE                      = 7,
43  SITKA                         = 8,
44  MESQUITE_W_HAC                = 9,
45  MTX_PLUS                      = 10,
46  MTX_WO_PP                     = 11,
47  MTX_W_PP                      = 12,
48  MVME_2300                     = 13,
49  MVME_2300SC_2600              = 14,
50  MVME_2600_W_MVME712M          = 15,
51  MVME_2600_2700_W_MVME761      = 16,
52  MVME_3600_W_MVME712M          = 17,
53  MVME_3600_W_MVME761           = 18,
54  MVME_1600                     = 19,
55  MOTOROLA_UNKNOWN              = 255
56} motorolaBoard;
57
58typedef enum {
59  HOST_BRIDGE_RAVEN     = 0,
60  HOST_BRIDGE_HAWK      = 1,
61  HOST_BRIDGE_UNKNOWN   = 255
62}motorolaHostBridge;
63
64#define MOTOROLA_CPUTYPE_REG    0x800
65#define MOTOROLA_BASETYPE_REG   0x803
66
67extern prep_t                   checkPrepBoardType(RESIDUAL *res);
68extern prep_t                   currentPrepType;
69extern motorolaBoard            getMotorolaBoard();
70extern motorolaBoard            currentBoard;
71extern const char*              motorolaBoardToString(motorolaBoard);
72extern const struct _int_map    *motorolaIntMap(motorolaBoard board);
73extern const void               *motorolaIntSwizzle(motorolaBoard board);
74
75
76#endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
Note: See TracBrowser for help on using the repository browser.