diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-07-06 16:19:55 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-07-06 16:19:55 +0000 |
commit | 399c1f5289953163a21f638fc464196d5317e96a (patch) | |
tree | 756a2a94ec5a721ff275328b730bed17d8085acd | |
parent | 50128eff91eb1c5c189876dafec74a3b2e3c6fe3 (diff) | |
download | FreeBSD-src-399c1f5289953163a21f638fc464196d5317e96a.zip FreeBSD-src-399c1f5289953163a21f638fc464196d5317e96a.tar.gz |
Add a new CPU id for a POWER8 variant.
-rw-r--r-- | sys/powerpc/include/spr.h | 3 | ||||
-rw-r--r-- | sys/powerpc/powerpc/cpu.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/powerpc/include/spr.h b/sys/powerpc/include/spr.h index b9fb3c1..a352025 100644 --- a/sys/powerpc/include/spr.h +++ b/sys/powerpc/include/spr.h @@ -169,7 +169,8 @@ #define IBM970MP 0x0044 #define IBM970GX 0x0045 #define IBMPOWER7PLUS 0x004a -#define IBMPOWER8 0x004b +#define IBMPOWER8E 0x004b +#define IBMPOWER8 0x004d #define MPC860 0x0050 #define IBMCELLBE 0x0070 #define MPC8240 0x0081 diff --git a/sys/powerpc/powerpc/cpu.c b/sys/powerpc/powerpc/cpu.c index 99c8ca1..3a9f913 100644 --- a/sys/powerpc/powerpc/cpu.c +++ b/sys/powerpc/powerpc/cpu.c @@ -146,6 +146,9 @@ static const struct cputab models[] = { { "IBM POWER7+", IBMPOWER7PLUS, REVFMT_MAJMIN, PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU, NULL }, + { "IBM POWER8E", IBMPOWER8E, REVFMT_MAJMIN, + PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU, + NULL }, { "IBM POWER8", IBMPOWER8, REVFMT_MAJMIN, PPC_FEATURE_64 | PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_FPU, NULL }, |