APM_BIOS_CALL

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

apm_bios_call - Make an APM BIOS 32bit call  

SYNOPSIS

"SYNOPSIS"

u8 apm_bios_call (u32 func, u32 ebx_in, u32 ecx_in, u32 * eax, u32 * ebx, u32 * ecx, u32 * edx, u32 * esi);  

ARGUMENTS

func
APM function to execute
ebx_in
EBX register for call entry
ecx_in
ECX register for call entry
eax
EAX register return
ebx
EBX register return
ecx
ECX register return
edx
EDX register return
esi
ESI register return
 

DESCRIPTION

Make an APM call using the 32bit protected mode interface. The caller is responsible for knowing if APM BIOS is configured and enabled. This call can disable interrupts for a long period of time on some laptops. The return value is in AH and the carry flag is loaded into AL. If there is an error, then the error code is returned in AH (bits 8-15 of eax) and this function returns non-zero.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:23 GMT, October 06, 2005