zynq_slcr_cpu_state_read(9)
πΈ NAME πΈ
Okay so bestie, this is zynq_slcr_cpu_state_read(9) from the Kernel API Manual, and its whole name is Read cpu state. Thatβs it. Thatβs the name. Iconic. π
π SYNOPSIS π
bool zynq_slcr_cpu_state_read (int cpu );
β¨ ARGUMENTS β¨
cpuβ the cpu number, bestie. Thatβs the whole argument. π«Ά
π¦ DESCRIPTION π¦
So SLCR_REBOOT_STATUS saves the upper 2 bits β thatβs the 31/30 cpu states for cpu0 and cpu1. If itβs 0, the cpu is running. If itβs 1, the cpu is going to die. Not me being dramatic, thatβs literally what it says. ππ
π RETURN π
It returns true if the cpu is running, and false if the cpu is going to die. No cap. β
π SEE ALSO π
Kernel file ./arch/arm/mach-zynq/slcr.c β and the whole squad:
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_write(9)zynq_early_slcr_init(9)
Signed, sealed, and slayed by source/version ./arch/arm/mach-zynq, dated October 2026, and the page is still zynq_slcr_cpu_state_read(9) β 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