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

4.104.114.84.95
Last change on this file since 4e36a2f was acc25ee, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 2, 1999 at 2:31:19 PM

Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@…>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.

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