diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-10-16 14:42:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-10-16 14:42:44 +0000 |
commit | 4de49eafb2027e341e8682a8d0a9b5ec18c90f67 (patch) | |
tree | 67e7887a06fce028bd77646b84a7119c07944ffb | |
parent | 8118b1efe1cabd74946be7ff45873b22cb19f586 (diff) |
remove false crap
-rw-r--r-- | share/man/man9/man9.i386/Makefile | 7 | ||||
-rw-r--r-- | share/man/man9/man9.i386/bioscall.9 | 123 |
2 files changed, 0 insertions, 130 deletions
diff --git a/share/man/man9/man9.i386/Makefile b/share/man/man9/man9.i386/Makefile deleted file mode 100644 index e66aeb85815..00000000000 --- a/share/man/man9/man9.i386/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $OpenBSD: Makefile,v 1.1 1999/09/22 03:16:47 csapuntz Exp $ -# $NetBSD: Makefile,v 1.1 1998/10/01 02:33:50 jtk Exp $ - -MAN= bioscall.9 -MANSUBDIR=/i386 - -.include <bsd.prog.mk> diff --git a/share/man/man9/man9.i386/bioscall.9 b/share/man/man9/man9.i386/bioscall.9 deleted file mode 100644 index 0ab5f204ef1..00000000000 --- a/share/man/man9/man9.i386/bioscall.9 +++ /dev/null @@ -1,123 +0,0 @@ -.\" $OpenBSD: bioscall.9,v 1.2 2000/04/12 16:50:52 aaron Exp $ -.\" $NetBSD: bioscall.9,v 1.1 1998/10/01 02:33:51 jtk Exp $ -.\" -.\" Copyright (c) 1998 The NetBSD Foundation, Inc. -.\" All rights reserved. -.\" -.\" This code is derived from software contributed to The NetBSD Foundation -.\" by John Kohl. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the NetBSD -.\" Foundation, Inc. and its contributors. -.\" 4. Neither the name of The NetBSD Foundation nor the names of its -.\" contributors may be used to endorse or promote products derived -.\" from this software without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -.\" POSSIBILITY OF SUCH DAMAGE. -.\" -.Dd October 1, 1998 -.Dt BIOSCALL 9 i386 -.Os -.Sh NAME -.Nm bioscall -.Nd call system BIOS function from real mode -.Sh SYNOPSIS -.Fd #include <i386/bioscall.h> -.Ft void -.Fn bioscall "int function" "struct bioscallregs *regs" -.Sh DESCRIPTION -The -.Nm -function switches the processor into real mode, calls the BIOS interrupt -numbered -.Fa function , -and returns to protected mode. -.Pp -This function is intended to be called during the initial system -bootstrap when necessary to probe devices or pseudo-devices. -.Pp -The register values specified by -.Fa *regs -(with one exception) are installed before the BIOS interrupt is called. -The processor flags are handled specially. Only the following flags are -passed to the -BIOS from the registers in -.Fa regs -(the remainder come from the processor's flags register at the time -of the call): -.Ar PSL_C , -.Ar PSL_PF , -.Ar PSL_AF , -.Ar PSL_Z , -.Ar PSL_N , -.Ar PSL_D , -.Ar PSL_V . -.Pp -The -.Va bioscallregs -structure is defined to contain structures for each register, to allow -access to 32-, 16- or 8-bit wide sections of the registers. -Definitions are provided which simplify access to the union members. -.Sh RETURN VALUE -.Nm -fills in -.Fa *regs -with the processor registers as returned from the BIOS call. -.Sh EXAMPLES -The Advanced Power Management driver calls -.Nm -by setting up a register structure with the APM installation check and -device types in registers -.Fa ax -and -.Fa bx , -then calls the BIOS to fetch the details for calling the APM support -through a protected-mode interface. The BIOS returns these details in -the registers: -.Pp -.Bd -literal -#include <i386/bioscall.h> -#include <i386/apmvar.h> -struct bioscallregs regs; - -regs.AX = APM_BIOS_FN(APM_INSTALLATION_CHECK); -regs.BX = APM_DEV_APM_BIOS; -regs.CX = regs.DX = 0; -regs.ESI = regs.EDI = regs.EFLAGS = 0; -bioscall(APM_SYSTEM_BIOS, ®s); -.Ed -.Pp -.Sh CODE REFERENCES -.Pa sys/arch/i386/i386/bioscall.s , -.Pa sys/arch/i386/bioscall/biostramp.S -.Sh REFERENCES -.Xr apm 4 -.Sh HISTORY -.Nm -first appeared in NetBSD-1.3. -.Sh BUGS -Not all BIOS functions are safe to call through the trampoline, as they -may depend on system state which has been disturbed or used for other -purposes once the -.Nx -kernel is running. |