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

4.104.114.84.95
Last change on this file since e79a1947 was e79a1947, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 10, 2004 at 11:51:17 PM

2004-11-10 Richard Campbell <richard.campbell@…>

  • Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h, console/console.c, console/inch.c, console/reboot.c, console/uart.c, console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c, motorola/motorola.c, motorola/motorola.h, openpic/openpic.c, openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c, start/start.S, startup/bspstart.c, vectors/vectors_init.c, vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also a significant amount of spelling and whitespace cleanup.
  • tod/todcfg.c: New file.
  • 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 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  GENESIS                       = 1,
30  POWERSTACK_E                  = 2,
31  BLACKAWK                      = 3,
32  OMAHA                         = 4,
33  UTAH                          = 5,
34  POWERSTACK_EX                 = 6,
35  MESQUITE                      = 7,
36  SITKA                         = 8,
37  MESQUITE_W_HAC                = 9,
38  MTX_PLUS                      = 10,
39  MTX_WO_PP                     = 11,
40  MTX_W_PP                      = 12,
41  MVME_2300                     = 13,
42  MVME_2300SC_2600              = 14,
43  MVME_2600_W_MVME712M          = 15,
44  MVME_2600_2700_W_MVME761      = 16,
45  MVME_3600_W_MVME712M          = 17,
46  MVME_3600_W_MVME761           = 18,
47  MVME_1600                     = 19,
48  /* In the table, slot 20 is the marker for end of automatic probe and scan */
49  MVME_2100                     = 21,
50  MOTOROLA_UNKNOWN              = 255
51} motorolaBoard;
52
53typedef 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
62extern prep_t                   checkPrepBoardType(RESIDUAL *res);
63extern prep_t                   currentPrepType;
64extern motorolaBoard            getMotorolaBoard();
65extern motorolaBoard            currentBoard;
66extern const char*              motorolaBoardToString(motorolaBoard);
67extern const struct _int_map    *motorolaIntMap(motorolaBoard board);
68extern const void               *motorolaIntSwizzle(motorolaBoard board);
69
70#endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
Note: See TracBrowser for help on using the repository browser.