apm_power_off(9)
apm_power_off(9)
okay so this page is from the Kernel API Manual, bestie, and it's all about asking the BIOS to power off π
β¨ NAME β¨
apm_power_off β ask the BIOS to power off β‘
β¨ SYNOPSIS β¨
void apm_power_off (void );
β¨ ARGUMENTS β¨
voidβ no arguments, like literally none, bestie π«Ά
β¨ DESCRIPTION β¨
Handle the power off sequence. This is the one piece of code we will execute even on SMP machines ππ₯
In order to deal with BIOS bugs we support real mode APM BIOS power off calls π§β¨
We also make the SMP call on CPU0 as some systems will only honour this call on their first cpu π
β¨ SEE ALSO β¨
Kernel file: ./arch/x86/kernel/apm_32.c β and here's the whole bestie squad of references:
apm_error(9)__apm_bios_call(9)apm_bios_call(9)__apm_bios_call_simple(9)apm_bios_call_simple(9)apm_driver_version(9)apm_get_event(9)set_power_state(9)set_system_power_state(9)apm_do_idle(9)apm_do_busy(9)apm_cpu_idle(9)apm_enable_power_management(9)apm_get_power_status(9)apm_engage_power_management(9)apm_console_blank(9)
okay bye bestie β this page lives in ./arch/x86/kernel and is dated October 2026 ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms