Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch include opt_pmc.h
details: https://anonhg.NetBSD.org/src/rev/8fec959c6b73
branches: trunk
changeset: 355086:8fec959c6b73
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jul 12 16:59:41 2017 +0000
description:
include opt_pmc.h
diffstat:
sys/arch/amd64/conf/files.amd64 | 3 ++-
sys/arch/i386/conf/files.i386 | 4 +++-
sys/arch/x86/x86/pmc.c | 6 ++++--
sys/arch/x86/x86/sys_machdep.c | 5 +++--
sys/arch/xen/conf/files.compat | 4 +++-
5 files changed, 15 insertions(+), 7 deletions(-)
diffs (94 lines):
diff -r 876ce237c73d -r 8fec959c6b73 sys/arch/amd64/conf/files.amd64
--- a/sys/arch/amd64/conf/files.amd64 Wed Jul 12 12:55:41 2017 +0000
+++ b/sys/arch/amd64/conf/files.amd64 Wed Jul 12 16:59:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.amd64,v 1.88 2016/12/15 12:04:17 kamil Exp $
+# $NetBSD: files.amd64,v 1.89 2017/07/12 16:59:41 maxv Exp $
#
# new style config file for amd64 architecture
#
@@ -24,6 +24,7 @@
# with the i386 (they include the opt_*.h for these)
#
+defflag PMC
defflag USER_LDT
defflag eisa.h EISA
diff -r 876ce237c73d -r 8fec959c6b73 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386 Wed Jul 12 12:55:41 2017 +0000
+++ b/sys/arch/i386/conf/files.i386 Wed Jul 12 16:59:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.i386,v 1.378 2017/03/10 14:40:56 maxv Exp $
+# $NetBSD: files.i386,v 1.379 2017/07/12 16:59:41 maxv Exp $
#
# new style config file for i386 architecture
#
@@ -21,6 +21,8 @@
# VM86 emulation
defflag VM86
+defflag PMC
+
# User-settable LDT (used by WINE)
defflag USER_LDT
diff -r 876ce237c73d -r 8fec959c6b73 sys/arch/x86/x86/pmc.c
--- a/sys/arch/x86/x86/pmc.c Wed Jul 12 12:55:41 2017 +0000
+++ b/sys/arch/x86/x86/pmc.c Wed Jul 12 16:59:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmc.c,v 1.8 2017/06/14 17:48:40 maxv Exp $ */
+/* $NetBSD: pmc.c,v 1.9 2017/07/12 16:59:41 maxv Exp $ */
/*
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -67,7 +67,9 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.8 2017/06/14 17:48:40 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.9 2017/07/12 16:59:41 maxv Exp $");
+
+#include "opt_pmc.h"
#include <sys/param.h>
#include <sys/systm.h>
diff -r 876ce237c73d -r 8fec959c6b73 sys/arch/x86/x86/sys_machdep.c
--- a/sys/arch/x86/x86/sys_machdep.c Wed Jul 12 12:55:41 2017 +0000
+++ b/sys/arch/x86/x86/sys_machdep.c Wed Jul 12 16:59:41 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.35 2017/03/10 14:54:12 maxv Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.36 2017/07/12 16:59:41 maxv Exp $ */
/*-
* Copyright (c) 1998, 2007, 2009 The NetBSD Foundation, Inc.
@@ -30,9 +30,10 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.35 2017/03/10 14:54:12 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.36 2017/07/12 16:59:41 maxv Exp $");
#include "opt_mtrr.h"
+#include "opt_pmc.h"
#include "opt_user_ldt.h"
#include "opt_compat_netbsd.h"
#ifdef i386
diff -r 876ce237c73d -r 8fec959c6b73 sys/arch/xen/conf/files.compat
--- a/sys/arch/xen/conf/files.compat Wed Jul 12 12:55:41 2017 +0000
+++ b/sys/arch/xen/conf/files.compat Wed Jul 12 16:59:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.compat,v 1.25 2016/12/13 10:54:27 kamil Exp $
+# $NetBSD: files.compat,v 1.26 2017/07/12 16:59:41 maxv Exp $
# NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp
# options for MP configuration through the MP spec
@@ -28,6 +28,8 @@
# VM86 emulation
defflag opt_vm86.h XXXVM86
+defflag opt_pmc.h XXXPMC
+
# User-settable LDT (used by WINE)
defflag opt_user_ldt.h XXXUSER_LDT
Home |
Main Index |
Thread Index |
Old Index