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.
This commit is contained in:
maxv 2017-03-08 16:09:27 +00:00
parent 0446600dd7
commit f8e693e577
1 changed files with 4 additions and 16 deletions

View File

@ -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;
}