Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/27/2006 20:59:35
Module Name: src
Committed By: bouyer
Date: Mon Mar 27 20:59:35 UTC 2006
Modified Files:
src/sys/arch/i386/i386: identcpu.c
src/sys/arch/xen/i386: identcpu.c
Log Message:
For unknown CPU, if family >= CPU_MAXFAMILY set family to CPU_MINFAMILY instead
of CPU_MAXFAMILY. This effectively causes to downgrade to i386 class
instead of a nonexistant class, and overrunning classnames[] by one.
Coverity ID 1472.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/sys/arch/i386/i386/identcpu.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/i386/identcpu.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.