zynq_slcr_cpu_state_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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