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

Name:This is the APM thread main loop.

Proto:static void apm_mainloop(void)

Type:void

Parameter:Nothing

1435  DECLARE_WAITQUEUE(wait, current process)
1437  add_wait_queue( & apm_waitqueue, & wait)
1438  set_current_state(TASK_INTERRUPTIBLE)
1439  cycle
1440  schedule_timeout(Need to poll the APM BIOS every second)
1441  If kthread_should_stop() Then Break
1447  set_current_state(TASK_INTERRUPTIBLE)
1448  apm_event_handler()
1450  remove_wait_queue( & apm_waitqueue, & wait)
Caller
NameDescribe
apm