OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [shared/] [motorola/] [motorola.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/* 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: motorola.h,v 1.2 2001-09-27 12:01:07 chris Exp $
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
 
20
typedef enum {
21
  PREP_IBM      = 0,
22
  PREP_Radstone = 1,
23
  PREP_Motorola = 2
24
}prep_t;
25
 
26
typedef 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
 
50
typedef 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
 
59
extern prep_t                   checkPrepBoardType(RESIDUAL *res);
60
extern prep_t                   currentPrepType;
61
extern motorolaBoard            getMotorolaBoard();
62
extern motorolaBoard            currentBoard;
63
extern const char*              motorolaBoardToString(motorolaBoard);
64
 
65
 
66
#endif /* LIBBSP_POWERPC_SHARED_MOTOROLA_MOTOROLA_H */
67
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.