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:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_event

Proto:static apm_event_t get_event(void)

Type:apm_event_t

Parameter:Nothing

1304  event = APM_NO_EVENTS
1310  error = 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
1311  If error == Error codes Then Return event
1314  If error != APM_NO_EVENTS && notified++ == 0 Then apm_error - display an APM error*@str: information string*@err: APM BIOS return code* Write a meaningful log entry to the kernel log in the event of* an APM error. Note that this also handles (negative) kernel errors.
1317  Return 0
Caller
NameDescribe
check_events