4.104.114.84.95
Last change
on this file since 9c4a30e2 was
9c4a30e2,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/08/04 at 15:40:40
|
2004-03-08 Ralf Corsepius <corsepiu@…>
PR 587/bsps
- shared/include/cpuIdent.h, shared/include/cpuIdent.c: Add defines
for MPC_5XX.
|
-
Property mode set to
100644
|
File size:
1.4 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 |
---|
20 | typedef enum |
---|
21 | { |
---|
22 | PPC_601 = 0x1, |
---|
23 | PPC_5XX = 0x2, |
---|
24 | PPC_509 = PPC_5XX, |
---|
25 | PPC_533 = PPC_5XX, |
---|
26 | PPC_534 = PPC_5XX, |
---|
27 | PPC_535 = PPC_5XX, |
---|
28 | PPC_536 = PPC_5XX, |
---|
29 | PPC_555 = PPC_5XX, |
---|
30 | PPC_556 = PPC_5XX, |
---|
31 | PPC_561 = PPC_5XX, |
---|
32 | PPC_562 = PPC_5XX, |
---|
33 | PPC_563 = PPC_5XX, |
---|
34 | PPC_564 = PPC_5XX, |
---|
35 | PPC_565 = PPC_5XX, |
---|
36 | PPC_566 = PPC_5XX, |
---|
37 | MPC_5XX = PPC_5XX, |
---|
38 | PPC_603 = 0x3, |
---|
39 | PPC_604 = 0x4, |
---|
40 | PPC_603e = 0x6, |
---|
41 | PPC_603ev = 0x7, |
---|
42 | PPC_750 = 0x8, |
---|
43 | PPC_604e = 0x9, |
---|
44 | PPC_604r = 0xA, |
---|
45 | PPC_7400 = 0xC, |
---|
46 | PPC_620 = 0x16, |
---|
47 | PPC_860 = 0x50, |
---|
48 | PPC_821 = PPC_860, |
---|
49 | PPC_823 = PPC_860, |
---|
50 | PPC_8260 = 0x81, |
---|
51 | PPC_UNKNOWN = 0xff |
---|
52 | } ppc_cpu_id_t; |
---|
53 | |
---|
54 | typedef unsigned short ppc_cpu_revision_t; |
---|
55 | |
---|
56 | extern ppc_cpu_id_t get_ppc_cpu_type (); |
---|
57 | extern ppc_cpu_id_t current_ppc_cpu; |
---|
58 | extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu); |
---|
59 | extern ppc_cpu_revision_t get_ppc_cpu_revision (); |
---|
60 | extern ppc_cpu_revision_t current_ppc_revision; |
---|
61 | #endif /* ASM */ |
---|
62 | |
---|
63 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.