Module Name: src Committed By: maxv Date: Wed Mar 8 16:09:27 UTC 2017
Modified Files: src/lib/libarch/i386: i386_pmc.c Log Message: Deprecate the pmc functions in libi386. The parameters will be updated, and we are not interested in maintaining this anyway. Now i386's pmc interface is opaque, which is good. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libarch/i386/i386_pmc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libarch/i386/i386_pmc.c diff -u src/lib/libarch/i386/i386_pmc.c:1.3 src/lib/libarch/i386/i386_pmc.c:1.4 --- src/lib/libarch/i386/i386_pmc.c:1.3 Wed Sep 13 05:22:12 2000 +++ src/lib/libarch/i386/i386_pmc.c Wed Mar 8 16:09:27 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: i386_pmc.c,v 1.3 2000/09/13 05:22:12 thorpej Exp $ */ +/* $NetBSD: i386_pmc.c,v 1.4 2017/03/08 16:09:27 maxv Exp $ */ /*- * Copyright (c) 2000 Zembu Labs, Inc. @@ -44,29 +44,17 @@ int i386_pmc_info(struct i386_pmc_info_args *args) { - - if (sysarch(I386_PMC_INFO, args) == -1) - return (-1); - - return (0); + return -1; } int i386_pmc_startstop(struct i386_pmc_startstop_args *args) { - - if (sysarch(I386_PMC_STARTSTOP, args) == -1) - return (-1); - - return (0); + return -1; } int i386_pmc_read(struct i386_pmc_read_args *args) { - - if (sysarch(I386_PMC_READ, args) == -1) - return (-1); - - return (0); + return -1; }