Module Name: src
Committed By: maxv
Date: Sat Aug 12 08:21:30 UTC 2017
Modified Files:
src/distrib/sets/lists/comp: mi
src/lib/libarch/i386: Makefile.inc
Removed Files:
src/lib/libarch/i386: i386_pmc.c i386_pmc_info.2
Log Message:
All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.
(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
To generate a diff of this commit:
cvs rdiff -u -r1.2144 -r1.2145 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.16 -r1.17 src/lib/libarch/i386/Makefile.inc
cvs rdiff -u -r1.4 -r0 src/lib/libarch/i386/i386_pmc.c
cvs rdiff -u -r1.12 -r0 src/lib/libarch/i386/i386_pmc_info.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2144 src/distrib/sets/lists/comp/mi:1.2145
--- src/distrib/sets/lists/comp/mi:1.2144 Sat Aug 12 07:59:42 2017
+++ src/distrib/sets/lists/comp/mi Sat Aug 12 08:21:30 2017
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2144 2017/08/12 07:59:42 maxv Exp $
+# $NetBSD: mi,v 1.2145 2017/08/12 08:21:30 maxv Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -4161,9 +4161,9 @@
./usr/share/man/cat2/i386_get_ldt.0 comp-c-catman .cat
./usr/share/man/cat2/i386_get_mtrr.0 comp-c-catman .cat
./usr/share/man/cat2/i386_iopl.0 comp-c-catman .cat
-./usr/share/man/cat2/i386_pmc_info.0 comp-c-catman .cat
-./usr/share/man/cat2/i386_pmc_read.0 comp-c-catman .cat
-./usr/share/man/cat2/i386_pmc_startstop.0 comp-c-catman .cat
+./usr/share/man/cat2/i386_pmc_info.0 comp-obsolete obsolete
+./usr/share/man/cat2/i386_pmc_read.0 comp-obsolete obsolete
+./usr/share/man/cat2/i386_pmc_startstop.0 comp-obsolete obsolete
./usr/share/man/cat2/i386_set_ioperm.0 comp-obsolete obsolete
./usr/share/man/cat2/i386_set_ldt.0 comp-c-catman .cat
./usr/share/man/cat2/i386_set_mtrr.0 comp-c-catman .cat
@@ -11814,9 +11814,9 @@
./usr/share/man/html2/i386_get_ldt.html comp-c-htmlman html
./usr/share/man/html2/i386_get_mtrr.html comp-c-htmlman html
./usr/share/man/html2/i386_iopl.html comp-c-htmlman html
-./usr/share/man/html2/i386_pmc_info.html comp-c-htmlman html
-./usr/share/man/html2/i386_pmc_read.html comp-c-htmlman html
-./usr/share/man/html2/i386_pmc_startstop.html comp-c-htmlman html
+./usr/share/man/html2/i386_pmc_info.html comp-obsolete obsolete
+./usr/share/man/html2/i386_pmc_read.html comp-obsolete obsolete
+./usr/share/man/html2/i386_pmc_startstop.html comp-obsolete obsolete
./usr/share/man/html2/i386_set_ldt.html comp-c-htmlman html
./usr/share/man/html2/i386_set_mtrr.html comp-c-htmlman html
./usr/share/man/html2/i386_vm86.html comp-obsolete obsolete
@@ -19245,9 +19245,9 @@
./usr/share/man/man2/i386_get_ldt.2 comp-c-man .man
./usr/share/man/man2/i386_get_mtrr.2 comp-c-man .man
./usr/share/man/man2/i386_iopl.2 comp-c-man .man
-./usr/share/man/man2/i386_pmc_info.2 comp-c-man .man
-./usr/share/man/man2/i386_pmc_read.2 comp-c-man .man
-./usr/share/man/man2/i386_pmc_startstop.2 comp-c-man .man
+./usr/share/man/man2/i386_pmc_info.2 comp-obsolete obsolete
+./usr/share/man/man2/i386_pmc_read.2 comp-obsolete obsolete
+./usr/share/man/man2/i386_pmc_startstop.2 comp-obsolete obsolete
./usr/share/man/man2/i386_set_ioperm.2 comp-obsolete obsolete
./usr/share/man/man2/i386_set_ldt.2 comp-c-man .man
./usr/share/man/man2/i386_set_mtrr.2 comp-c-man .man
Index: src/lib/libarch/i386/Makefile.inc
diff -u src/lib/libarch/i386/Makefile.inc:1.16 src/lib/libarch/i386/Makefile.inc:1.17
--- src/lib/libarch/i386/Makefile.inc:1.16 Sat Aug 12 07:59:42 2017
+++ src/lib/libarch/i386/Makefile.inc Sat Aug 12 08:21:30 2017
@@ -1,17 +1,14 @@
-# $NetBSD: Makefile.inc,v 1.16 2017/08/12 07:59:42 maxv Exp $
+# $NetBSD: Makefile.inc,v 1.17 2017/08/12 08:21:30 maxv Exp $
.if (${MACHINE_ARCH} == "i386" || ${MLIBDIR:Unone} == "i386")
SRCS+= i386_get_ldt.c i386_set_ldt.c \
i386_iopl.c i386_get_ioperm.c i386_set_ioperm.c \
- i386_pmc.c i386_mtrr.c
+ i386_mtrr.c
.endif
MAN+= i386_get_ldt.2 \
i386_get_mtrr.2 \
- i386_iopl.2 \
- i386_pmc_info.2
+ i386_iopl.2
MLINKS+=i386_get_ldt.2 i386_set_ldt.2 \
- i386_get_mtrr.2 i386_set_mtrr.2 \
- i386_pmc_info.2 i386_pmc_startstop.2 \
- i386_pmc_info.2 i386_pmc_read.2
+ i386_get_mtrr.2 i386_set_mtrr.2