source: rtems/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h @ 8430205

4.104.114.84.95
Last change on this file since 8430205 was 8430205, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 12, 2004 at 10:04:28 PM

2004-04-12 David Querbach <querbach@…>

  • README, configure.ac, mpc5xx/Makefile.am, mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/timer/timer.c, shared/include/cpuIdent.h: addition of a significant amount of MPC5xx support as part of the addition of the SS555 BSP.
  • mpc5xx/README, mpc5xx/clock/clock.c, mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/irq/irq_init.c, mpc5xx/vectors/vectors.S, mpc5xx/vectors/vectors.h, mpc5xx/vectors/vectors_init.c: New files.
  • mpc5xx/exceptions/asm_utils.S: Removed.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * Copyright (C) 1999  Eric Valette (valette@crf.canon.fr)
3 *                     Canon Centre Recherche France.
4 *
5 *  Added MPC8260 Andy Dachs <a.dachs@sstl.co.uk>
6 *  Surrey Satellite Technology Limited
7 *
8 *
9 *  The license and distribution terms for this file may be
10 *  found in found in the file LICENSE in this distribution or at
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *  $Id$
14 */
15
16#ifndef _libcpu_cpuIdent_h
17#define _libcpu_cpuIdent_h
18
19#ifndef ASM
20typedef enum
21{
22  PPC_601 = 0x1,
23  PPC_5XX = 0x2,
24  PPC_603 = 0x3,
25  PPC_604 = 0x4,
26  PPC_603e = 0x6,
27  PPC_603ev = 0x7,
28  PPC_750 = 0x8,
29  PPC_604e = 0x9,
30  PPC_604r = 0xA,
31  PPC_7400 = 0xC,
32  PPC_620 = 0x16,
33  PPC_860 = 0x50,
34  PPC_821 = PPC_860,
35  PPC_823 = PPC_860,
36  PPC_8260 = 0x81,
37  PPC_UNKNOWN = 0xff
38} ppc_cpu_id_t;
39
40typedef unsigned short ppc_cpu_revision_t;
41
42extern ppc_cpu_id_t get_ppc_cpu_type ();
43extern ppc_cpu_id_t current_ppc_cpu;
44extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu);
45extern ppc_cpu_revision_t get_ppc_cpu_revision ();
46extern ppc_cpu_revision_t current_ppc_revision;
47#endif /* ASM */
48
49#endif
Note: See TracBrowser for help on using the repository browser.