apm_power_off(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


okay bye bestie β€” this page lives in ./arch/x86/kernel and is dated October 2026 πŸ’–πŸŽ€

πŸ“¦ where this page comes from