freebsd-skq/sys/i386/bios/apm_setup.h
Mike Smith f9c9bbc054 If vm86 services are available, use these to perform the APM BIOS
probe and intialisation.  This will ultimately remove the grubby (but
functional) hack that copies a real-mode function into low memory
early in locore.s.
1998-06-03 01:59:42 +00:00

28 lines
899 B
C

/*
* Copyright (C) 1994 by HOSOKAWA, Tatsumi <hosokawa@jp.FreeBSD.org>
*
* This software may be used, modified, copied, distributed, and sold,
* in both source and binary form provided that the above copyright and
* these terms are retained. Under no circumstances is the author
* responsible for the proper functioning of this software, nor does
* the author assume any responsibility for damages incurred with its
* use.
*
* Sep., 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
* $Id: apm_setup.h,v 1.8 1997/03/29 11:06:38 phk Exp $
*/
extern u_long apm_version;
extern u_long apm_cs_entry;
extern u_short apm_cs32_base;
extern u_short apm_cs16_base;
extern u_short apm_ds_base;
extern u_short apm_cs32_limit;
extern u_short apm_cs16_limit;
extern u_short apm_ds_limit;
extern u_short apm_flags;
extern u_short kernelbase;
int apm_bios_call __P((struct apm_bios_arg *));