summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-20 17:29:19 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-20 17:29:19 +0000
commit1dab7883a960c53c254f760ae4af4024f2cf55c6 (patch)
tree54642474ae52e98eec98b63aee37bbfead06ae97 /c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
parent2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-1dab7883a960c53c254f760ae4af4024f2cf55c6.tar.bz2
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/fec/fec.c: Added copyright information. * mpc55xx/dspi/dspi.c, mpc55xx/edma/edma.c, mpc55xx/esci/esci.c: Fixed nexted extern declarations. Fixed integer conversion warnings. * shared/include/cpuIdent.c: Added missing initializers.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
index 3f02a710f2..7245b6b3b0 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
+++ b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
@@ -25,7 +25,18 @@ SPR_RO(PVR)
ppc_cpu_id_t current_ppc_cpu = PPC_UNKNOWN;
ppc_cpu_revision_t current_ppc_revision = 0xff;
-ppc_feature_t current_ppc_features = {0};
+ppc_feature_t current_ppc_features = {
+ .has_altivec = 0,
+ .has_fpu = 0,
+ .has_hw_ptbl_lkup = 0,
+ .is_bookE = 0,
+ .has_16byte_clne = 0,
+ .is_60x = 0,
+ .has_8_bats = 0,
+ .has_epic = 0,
+ .has_shadowed_gprs = 0,
+ .has_ivpr_and_ivor = 0
+};
char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
{