expose the ioctl internal function now used by the acpi_apm code.
This commit is contained in:
parent
4998e59f23
commit
3c00d4c7e1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sysmon_envsys.c,v 1.10 2006/03/20 03:23:35 lukem Exp $ */
|
||||
/* $NetBSD: sysmon_envsys.c,v 1.11 2006/07/08 20:26:06 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Zembu Labs, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.10 2006/03/20 03:23:35 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.11 2006/07/08 20:26:06 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
@ -75,8 +75,6 @@ struct simplelock sysmon_envsys_initialized_slock = SIMPLELOCK_INITIALIZER;
|
||||
#define SYSMON_ENVSYS_UNLOCK() \
|
||||
lockmgr(&sysmon_envsys_lock, LK_RELEASE, NULL)
|
||||
|
||||
int sysmonioctl_envsys(dev_t, u_long, caddr_t, int, struct lwp *);
|
||||
|
||||
struct sysmon_envsys *sysmon_envsys_find(u_int);
|
||||
void sysmon_envsys_release(struct sysmon_envsys *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sysmonvar.h,v 1.11 2005/12/11 12:23:56 christos Exp $ */
|
||||
/* $NetBSD: sysmonvar.h,v 1.12 2006/07/08 20:26:06 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Zembu Labs, Inc.
|
||||
@ -135,4 +135,6 @@ void sysmon_pswitch_unregister(struct sysmon_pswitch *);
|
||||
|
||||
void sysmon_pswitch_event(struct sysmon_pswitch *, int);
|
||||
|
||||
int sysmonioctl_envsys(dev_t, u_long, caddr_t, int, struct lwp *);
|
||||
|
||||
#endif /* _DEV_SYSMON_SYSMONVAR_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user