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

Last change on this file since 3605c4e was 12838559, checked in by Joel Sherrill <joel.sherrill@…>, on 06/13/03 at 17:40:41

2003-06-13 Greg Menke <gregory.menke@…>

PR 405/bsps

  • bootloader/pci.c: Added support for configuring devices for pci busses > 0
  • pci/pci.c, pci/pci.h: Added FixupPCI() to store vectors in the INTERRUPT_LINE register of pci devices any # of hops away from the host processor.
  • motorola/motorola.c, motorola/motorola.h: Added interrupt routing tables in support of FixupPCI. This is board-specific, each board will have to supply information for FixupPCI() to do anything for it.
  • startup/bspstart.c: Extended bat2 to cover entire PCI address space.
  • irq/irq.c, irq/irq.h: Added support for shared interrupts. Existing single hander vectors are undisturbed, a new function added to allow adding/removing handlers from a vector.
  • 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.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#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 */
77
Note: See TracBrowser for help on using the repository browser.