Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 when complaining we don't support this many...
details: https://anonhg.NetBSD.org/src/rev/e5d72bbb79cc
branches: trunk
changeset: 755710:e5d72bbb79cc
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 17 06:38:19 2010 +0000
description:
when complaining we don't support this many MTRR's, say how many there are.
diffstat:
sys/arch/x86/x86/mtrr_i686.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 5a0cbd79ce5f -r e5d72bbb79cc sys/arch/x86/x86/mtrr_i686.c
--- a/sys/arch/x86/x86/mtrr_i686.c Thu Jun 17 06:29:16 2010 +0000
+++ b/sys/arch/x86/x86/mtrr_i686.c Thu Jun 17 06:38:19 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mtrr_i686.c,v 1.20 2009/11/21 03:11:01 rmind Exp $ */
+/* $NetBSD: mtrr_i686.c,v 1.21 2010/06/17 06:38:19 mrg Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.20 2009/11/21 03:11:01 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mtrr_i686.c,v 1.21 2010/06/17 06:38:19 mrg Exp $");
#include "opt_multiprocessor.h"
@@ -301,8 +301,8 @@
i686_mtrr_vcnt = i686_mtrr_cap & MTRR_I686_CAP_VCNT_MASK;
if (i686_mtrr_vcnt > MTRR_I686_NVAR_MAX)
- printf("\%s: FIXME: more than %d MTRRs\n", __FILE__,
- MTRR_I686_NVAR_MAX);
+ printf("\%s: FIXME: more than %d MTRRs (%d)\n", __FILE__,
+ MTRR_I686_NVAR_MAX, i686_mtrr_vcnt);
else if (i686_mtrr_vcnt < MTRR_I686_NVAR_MAX) {
for (i = MTRR_I686_NVAR_MAX - i686_mtrr_vcnt; i; i--) {
mtrr_raw[16 - (i*2)].msraddr = 0;
Home |
Main Index |
Thread Index |
Old Index