4.104.114.84.95
Last change
on this file since 408bb71 was
408bb71,
checked in by Till Straumann <strauman@…>, on 11/02/05 at 23:24:48
|
2005-11-02 straumanatslacdotstanford.edu
- ChangeLog?, configure.ac, mpc6xx/exceptions/raw_exception.c,
shared/include/cpuIdent.c, shared/include/cpuIdent.h: recognize
mpc7457 CPU; added definitions for high bats (#4..7) on 7450 CPUs
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[f054b51] | 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 |
---|
[21e1c44] | 11 | * http://www.rtems.com/license/LICENSE. |
---|
[f054b51] | 12 | * |
---|
| 13 | * $Id$ |
---|
| 14 | */ |
---|
| 15 | |
---|
[a859df85] | 16 | #ifndef _LIBCPU_CPUIDENT_H |
---|
| 17 | #define _LIBCPU_CPUIDENT_H |
---|
[f054b51] | 18 | |
---|
| 19 | #ifndef ASM |
---|
| 20 | typedef enum |
---|
| 21 | { |
---|
| 22 | PPC_601 = 0x1, |
---|
[9c4a30e2] | 23 | PPC_5XX = 0x2, |
---|
[f054b51] | 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, |
---|
[d49389a] | 31 | PPC_7400 = 0xC, |
---|
[83d7232] | 32 | PPC_7455 = 0x8001, /* Kate Feng */ |
---|
[408bb71] | 33 | PPC_7457 = 0x8002, |
---|
[f054b51] | 34 | PPC_620 = 0x16, |
---|
| 35 | PPC_860 = 0x50, |
---|
| 36 | PPC_821 = PPC_860, |
---|
[9c4a30e2] | 37 | PPC_823 = PPC_860, |
---|
[f054b51] | 38 | PPC_8260 = 0x81, |
---|
[a84392d] | 39 | PPC_8240 = PPC_8260, |
---|
| 40 | PPC_8245 = 0x8081, |
---|
[56c4cae] | 41 | PPC_603le = 0x8082, /* 603le core, in MGT5100 and MPC5200 */ |
---|
[faed5fa] | 42 | PPC_PSIM = 0xfffe, /* GDB PowerPC simulator -- fake version */ |
---|
[a84392d] | 43 | PPC_UNKNOWN = 0xffff |
---|
[f054b51] | 44 | } ppc_cpu_id_t; |
---|
| 45 | |
---|
| 46 | typedef unsigned short ppc_cpu_revision_t; |
---|
| 47 | |
---|
| 48 | extern ppc_cpu_id_t get_ppc_cpu_type (); |
---|
| 49 | extern ppc_cpu_id_t current_ppc_cpu; |
---|
[0d776cd2] | 50 | extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu); |
---|
[f054b51] | 51 | extern ppc_cpu_revision_t get_ppc_cpu_revision (); |
---|
| 52 | extern ppc_cpu_revision_t current_ppc_revision; |
---|
| 53 | #endif /* ASM */ |
---|
| 54 | |
---|
| 55 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.