Add another R4000 CPU revision ID. From Christopher SEKIYA.

This commit is contained in:
tsutsui 2003-09-28 08:16:51 +00:00
parent f9acb25560
commit e7500ac4b0
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpuregs.h,v 1.62 2003/08/07 16:28:27 agc Exp $ */
/* $NetBSD: cpuregs.h,v 1.63 2003/09/28 08:16:51 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@ -715,7 +715,8 @@
/* For MIPS_R4000 */
#define MIPS_REV_R4000_A 0x00
#define MIPS_REV_R4000_B 0x30
#define MIPS_REV_R4000_B 0x22
#define MIPS_REV_R4000_C 0x30
#define MIPS_REV_R4400_A 0x40
#define MIPS_REV_R4400_B 0x50
#define MIPS_REV_R4400_C 0x60

View File

@ -1,4 +1,4 @@
/* $NetBSD: mips_machdep.c,v 1.165 2003/06/29 22:28:37 fvdl Exp $ */
/* $NetBSD: mips_machdep.c,v 1.166 2003/09/28 08:16:51 tsutsui Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -119,7 +119,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.165 2003/06/29 22:28:37 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.166 2003/09/28 08:16:51 tsutsui Exp $");
#include "opt_cputype.h"
@ -273,6 +273,9 @@ static const struct pridtab cputab[] = {
{ 0, MIPS_R4000, MIPS_REV_R4000_B, -1, CPU_ARCH_MIPS3, 48,
CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT,
"MIPS R4000 CPU" },
{ 0, MIPS_R4000, MIPS_REV_R4000_C, -1, CPU_ARCH_MIPS3, 48,
CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT,
"MIPS R4000 CPU" },
{ 0, MIPS_R4000, MIPS_REV_R4400_A, -1, CPU_ARCH_MIPS3, 48,
CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT,
"MIPS R4400 CPU" },