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

4.115
Last change on this file since e7f95e8 was e7f95e8, checked in by Joel Sherrill <joel.sherrill@…>, on 07/20/11 at 16:39:31

2011-07-20 Till Straumann <strauman@…>

PR 1837/bsps

  • shared/motorola/motorola.c, shared/motorola/motorola.h: Add MVME2400 board with 750 CPU to list of supported Motorola boards.
  • Property mode set to 100644
File size: 1.8 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 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
21typedef enum {
22  PREP_IBM      = 0,
23  PREP_Radstone = 1,
24  PREP_Motorola = 2
25} prep_t;
26
27typedef enum {
28  MVME_2400                     = 0,
29  MVME_2400_750                 = 1,
30  GENESIS                       = 2,
31  POWERSTACK_E                  = 3,
32  BLACKAWK                      = 4,
33  OMAHA                         = 5,
34  UTAH                          = 6,
35  POWERSTACK_EX                 = 7,
36  MESQUITE                      = 8,
37  SITKA                         = 9,
38  MESQUITE_W_HAC                = 10,
39  MTX_PLUS                      = 11,
40  MTX_WO_PP                     = 12,
41  MTX_W_PP                      = 13,
42  MVME_2300                     = 14,
43  MVME_2300SC_2600              = 15,
44  MVME_2600_W_MVME712M          = 16,
45  MVME_2600_2700_W_MVME761      = 17,
46  MVME_3600_W_MVME712M          = 18,
47  MVME_3600_W_MVME761           = 19,
48  MVME_1600                     = 20,
49  /* In the table, slot 21 is the marker for end of automatic probe and scan */
50  MVME_2100                     = 22,
51  MOTOROLA_UNKNOWN              = 255
52} motorolaBoard;
53
54typedef enum {
55  HOST_BRIDGE_RAVEN     = 0,
56  HOST_BRIDGE_HAWK      = 1,
57  HOST_BRIDGE_UNKNOWN   = 255
58} motorolaHostBridge;
59
60#define MOTOROLA_CPUTYPE_REG    0x800
61#define MOTOROLA_BASETYPE_REG   0x803
62
63extern prep_t                   checkPrepBoardType(RESIDUAL *res);
64extern prep_t                   currentPrepType;
65extern motorolaBoard            getMotorolaBoard();
66extern motorolaBoard            currentBoard;
67extern const char*              motorolaBoardToString(motorolaBoard);
68extern const struct _int_map    *motorolaIntMap(motorolaBoard board);
69extern const void               *motorolaIntSwizzle(motorolaBoard board);
70
71#endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
Note: See TracBrowser for help on using the repository browser.