zynq_slcr_cpu_state_write(9)
πΈ zynq_slcr_cpu_state_write(9) πΈ
okay bestie, this page is from the Kernel API Manual, and today weβre reading zynq_slcr_cpu_state_write(9) together. itβs giving tiny-function-with-big-βplease donβt crashβ energy. π
β¨ NAME β¨
zynq_slcr_cpu_state_write β Write cpu state. literally the name, no plot twist. π
π¦ SYNOPSIS π¦
void zynq_slcr_cpu_state_write (int cpu , bool die );
π ARGUMENTS π
cpuβ cpu number.dieβ cpu state - true if cpu is going to die.
π DESCRIPTION π
so the vibe check is all about SLCR_REBOOT_STATUS. it saves the upper 2 bits (31/30 cpu states for cpu0 and cpu1). 0 means cpu is running, and 1 cpu is going to die. thatβs the whole lore, bestie. π₯
no cap: those upper 2 bits are the cpu-state gossip, andcpu0/cpu1are the main characters. π
π SEE ALSO π
- Kernel file
./arch/arm/mach-zynq/slcr.c zynq_slcr_write(9)zynq_slcr_read(9)zynq_slcr_unlock(9)zynq_slcr_get_device_id(9)zynq_slcr_system_restart(9)zynq_slcr_cpu_start(9)zynq_slcr_cpu_stop(9)zynq_slcr_cpu_state_read(9)zynq_early_slcr_init(9)
okay bye bestie π«Ά β source/version: ./arch/arm/mach-zynq; date: October 2026; page: zynq_slcr_cpu_state_write(9) πβ¨
π¦ 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