platform_leave(9)
π platform_leave(9) π
okay bestie, welcome to the Kernel API Manual page for platform_leave(9) β yes, section 9 is having a moment. πβ¨
πΈ NAME πΈ
platform_leave β call platform to prepare a transition to the working state.
β¨ SYNOPSIS β¨
void platform_leave (int platform_mode );
π ARGUMENTS π
platform_modeβ whether or not to use the platform driver. that's literally the whole argument vibe. π«Ά
π¦ DESCRIPTION π¦
okay so here's the assignment: use the platform driver prepare to prepare the machine for switching to the normal mode of operation. that's the move. π
This routine is called on one CPU with interrupts disabled. that's the setup, no cap.
π¨ heads up bestie: this routine is called on one CPU with interrupts disabled. keep that energy in mind. π
π«Ά SEE ALSO π«Ά
Kernel file ./kernel/power/hibernate.c
pm_hibernation_mode_is_suspend(9)hibernation_set_ops(9)platform_begin(9)platform_end(9)platform_pre_snapshot(9)platform_finish(9)platform_pre_restore(9)platform_restore_cleanup(9)platform_recover(9)swsusp_show_speed(9)create_image(9)hibernation_snapshot(9)resume_target_kernel(9)hibernation_restore(9)hibernation_platform_enter(9)power_down(9)hibernate(9)hibernate_quiet_exec(9)software_resume_initcall(9)
xoxo, your platform_leave(9) bestie π source/version: ./kernel/power; date: October 2026. periodt. π
π¦ 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