diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-13 21:46:04 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-11-13 21:46:04 +0000 |
commit | 5003993de181a30a4c610d3d2261f8815dbcb502 (patch) | |
tree | f0bc548b169a5a71fd6cfa39a41f27aa2ec09868 | |
parent | bbfdbda99e262257125977a1512392f510ceae66 (diff) |
Recognized 970MP processor.
-rw-r--r-- | sys/arch/macppc/macppc/cpu.c | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/include/cpu.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/cpu.c b/sys/arch/macppc/macppc/cpu.c index 7d6838000d3..0d6117912c9 100644 --- a/sys/arch/macppc/macppc/cpu.c +++ b/sys/arch/macppc/macppc/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.32 2005/11/08 20:32:41 kettenis Exp $ */ +/* $OpenBSD: cpu.c,v 1.33 2005/11/13 21:46:03 drahn Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -135,6 +135,7 @@ ppc_check_procid() switch (cpu) { case PPC_CPU_IBM970FX: + case PPC_CPU_IBM970MP: ppc_proc_is_64b = 1; for (p = &rfi_start; p->s; p++) { for (inst = p->s; inst < p->e; inst++) diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h index 89fab8a2b45..d9a23242a13 100644 --- a/sys/arch/powerpc/include/cpu.h +++ b/sys/arch/powerpc/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.24 2005/11/08 20:30:47 kettenis Exp $ */ +/* $OpenBSD: cpu.h,v 1.25 2005/11/13 21:46:03 drahn Exp $ */ /* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */ /* @@ -240,6 +240,7 @@ extern int ppc_proc_is_64b; #define PPC_CPU_MPC604ev 9 #define PPC_CPU_MPC7400 12 #define PPC_CPU_IBM970FX 0x003c +#define PPC_CPU_IBM970MP 0x0044 #define PPC_CPU_IBM750FX 0x7000 #define PPC_CPU_MPC7410 0x800c #define PPC_CPU_MPC7447A 0x8003 |