summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/include/cpu.h')
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/cpu.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/cpu.h b/c/src/lib/libcpu/powerpc/shared/include/cpu.h
index 417ba0fd81..cc8a1e1d1b 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/cpu.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/cpu.h
@@ -175,29 +175,8 @@ n:
#define SR14 14
#define SR15 15
-#ifndef ASM
-typedef enum {
- PPC_601 = 0x1,
- PPC_603 = 0x3,
- PPC_604 = 0x4,
- PPC_603e = 0x6,
- PPC_603ev = 0x7,
- PPC_750 = 0x8,
- PPC_604e = 0x9,
- PPC_604r = 0xA,
- PPC_620 = 0x16,
- PPC_860 = 0x50,
- PPC_821 = PPC_860,
- PPC_8260 = 0x81,
- PPC_UNKNOWN = 0xff
-} ppc_cpu_id_t;
-
-typedef unsigned short ppc_cpu_revision_t;
-
-extern ppc_cpu_id_t get_ppc_cpu_type();
-extern ppc_cpu_id_t current_ppc_cpu;
-extern ppc_cpu_revision_t get_ppc_cpu_revision();
-extern ppc_cpu_revision_t current_ppc_revision;
+#include <libcpu/cpuIdent.h>
+
/*
* Routines to access the time base register
*/