apm_bios.h: removed the equiv-stuff. Not needed now that the kernel module
works correctly. clock.h & reg.h: prototypes.
This commit is contained in:
parent
01d0532b97
commit
abd358cd49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3307
@ -7,6 +7,8 @@
|
||||
#ifndef _MACHINE_CLOCK_H_
|
||||
#define _MACHINE_CLOCK_H_ 1
|
||||
|
||||
void inittodr(time_t base);
|
||||
|
||||
extern int pentium_mhz;
|
||||
|
||||
#ifdef I586_CPU
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)reg.h 5.5 (Berkeley) 1/18/91
|
||||
* $Id: reg.h,v 1.6 1994/01/03 07:55:34 davidg Exp $
|
||||
* $Id: reg.h,v 1.8 1994/05/25 08:56:42 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_REG_H_
|
||||
@ -103,4 +103,8 @@ struct fpreg {
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef KERNEL
|
||||
int set_regs __P((struct proc *p, struct reg *regs));
|
||||
void setregs __P((struct proc *, u_long, u_long));
|
||||
#endif
|
||||
#endif /* _MACHINE_REG_H_ */
|
||||
|
@ -12,7 +12,7 @@
|
||||
*
|
||||
* Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
|
||||
*
|
||||
* $Id$
|
||||
* $Id: apm_bios.h,v 1.2 1994/10/01 05:13:36 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_APM_BIOS_H_
|
||||
@ -173,23 +173,14 @@ typedef struct apm_info {
|
||||
u_int ai_batt_life; /* Remaining battery life */
|
||||
} *apm_info_t;
|
||||
|
||||
typedef struct apm_eqv_event {
|
||||
u_int aee_event; /* Event ID */
|
||||
u_int aee_equiv; /* Equivalent event ID */
|
||||
u_int aee_resume; /* Equivalent event ID when system resumes */
|
||||
} *apm_eqv_event_t;
|
||||
|
||||
#define APMIO_SUSPEND _IO('P', 1)
|
||||
#define APMIO_GETINFO _IOR('P', 2, struct apm_info)
|
||||
#define APMIO_DEFEQV _IOW('P', 3, struct apm_eqv_event)
|
||||
#define APMIO_FLUSHEQV _IO('P', 4)
|
||||
#define APMIO_ENABLE _IO('P', 5)
|
||||
#define APMIO_DISABLE _IO('P', 6)
|
||||
#define APMIO_HALTCPU _IO('P', 7)
|
||||
#define APMIO_NOTHALTCPU _IO('P', 8)
|
||||
|
||||
#define APM_MAX_EQUIV_EVENTS 16
|
||||
|
||||
#endif /* !ASM && !INITIALIZER */
|
||||
|
||||
#endif /* _MACHINE_APM_BIOS_H_ */
|
||||
|
@ -7,6 +7,8 @@
|
||||
#ifndef _MACHINE_CLOCK_H_
|
||||
#define _MACHINE_CLOCK_H_ 1
|
||||
|
||||
void inittodr(time_t base);
|
||||
|
||||
extern int pentium_mhz;
|
||||
|
||||
#ifdef I586_CPU
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)reg.h 5.5 (Berkeley) 1/18/91
|
||||
* $Id: reg.h,v 1.6 1994/01/03 07:55:34 davidg Exp $
|
||||
* $Id: reg.h,v 1.8 1994/05/25 08:56:42 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_REG_H_
|
||||
@ -103,4 +103,8 @@ struct fpreg {
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef KERNEL
|
||||
int set_regs __P((struct proc *p, struct reg *regs));
|
||||
void setregs __P((struct proc *, u_long, u_long));
|
||||
#endif
|
||||
#endif /* _MACHINE_REG_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user