Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apm_32.c Create Date:2022-07-28 08:22:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apm_get_event - get an APM event from the BIOS*@event: pointer to the event*@info: point to the event information* The APM BIOS provides a polled information for event* reporting. The BIOS expects to be polled at least every second

Proto:static int apm_get_event(apm_event_t *event, apm_eventinfo_t *info)

Type:int

Parameter:

TypeParameterName
apm_event_t *event
apm_eventinfo_t *info
776  func = APM_FUNC_GET_EVENT
777  In and out = ecx = 0
779  If apm_bios_call - Make an APM BIOS 32bit call (on CPU 0)*@call: the apm_bios_call registers.* If there is an error, it is returned in @call.err. Then Return Error: -ENOMEM, or bits 8-15 of eax
782  event = In and out
783  If connection_version < 0x0102 Then info = ~0
785  Else info = ecx
787  Return Error codes
Caller
NameDescribe
get_event