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 Comment out rcr0 use until the weak symbol ...
details: https://anonhg.NetBSD.org/src/rev/623d470f069a
branches: trunk
changeset: 447258:623d470f069a
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 05 20:32:02 2019 +0000
description:
Comment out rcr0 use until the weak symbol mess is undone.
diffstat:
sys/arch/x86/x86/procfs_machdep.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 7b6a74c5b04b -r 623d470f069a sys/arch/x86/x86/procfs_machdep.c
--- a/sys/arch/x86/x86/procfs_machdep.c Sat Jan 05 18:03:41 2019 +0000
+++ b/sys/arch/x86/x86/procfs_machdep.c Sat Jan 05 20:32:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_machdep.c,v 1.25 2018/11/15 04:53:54 msaitoh Exp $ */
+/* $NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 christos Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.25 2018/11/15 04:53:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.26 2019/01/05 20:32:02 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -447,7 +447,12 @@
i386_fpu_fdivbug ? "yes" : "no", /* an old pentium */
#endif
ci->ci_max_cpuid,
+#ifdef notyet
+ // XXX: Fixme Weak symbols are not supported in modules
(rcr0() & CR0_WP) ? "yes" : "no",
+#else
+ "no",
+#endif
featurebuf,
ci->ci_cflush_lsize
);
Home |
Main Index |
Thread Index |
Old Index