.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "APM_BIOS_CALL_SIMPLE" "" "06 October 2005" "" ""
.SH NAME
apm_bios_call_simple \- make a simple APM BIOS 32bit call
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
u8 apm_bios_call_simple (u32 \fIfunc\fB, u32 \fIebx_in\fB, u32 \fIecx_in\fB, u32 * \fIeax\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfunc\fB\fR
APM function to invoke
.TP
\fB\fIebx_in\fB\fR
EBX register value for BIOS call
.TP
\fB\fIecx_in\fB\fR
ECX register value for BIOS call
.TP
\fB\fIeax\fB\fR
EAX register on return from the BIOS call
.SH "DESCRIPTION"
.PP
Make a BIOS call that does only returns one value, or just status.
If there is an error, then the error code is returned in AH
(bits 8-15 of eax) and this function returns non-zero. This is
used for simpler BIOS operations. This call may hold interrupts
off for a long time on some laptops.