omap3xxx_restart(9)
π omap3xxx_restart(9) β like, the Kernel API Manual bestie β¨
okay so welcome to the glow-up of the Kernel API Manual page for omap3xxx_restart β yes that's the header, yes it's a mouthful, no we're not renaming it π
β¨ NAME β¨
omap3xxx_restart β trigger a software restart of the SoC
like, it makes the chip reboot itself. that's the whole vibe. π₯
π¦ SYNOPSIS π¦
void omap3xxx_restart (enum reboot_mode mode , const char *cmd );
no cap, that's the exact signature β spaces and all, don't @ me π
πΈ ARGUMENTS πΈ
modeβ the "reboot mode", bestie. and where do you find out about it? seearch/arm/kernel/{setup,process}.cπ that's literally where it lives.cmdβ this one gets passed in from the userspace program that's rebooting the system (if provided, that is β it's optional energy, not mandatory energy π«Ά).
π DESCRIPTION π
Resets the SoC. periodt. β¨
as for cmd β go peek at the 'reboot' syscall in kernel/sys.c, that's where the lore is π
and no return value. it's giving void, it's giving "I don't owe you a result", it's iconic π
lowkey important: this is a void function. there's literally nothing coming back, so don't go assigning it to anything π
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/omap3-restart.cβ the source of truth, go read it iykyk β
and that's the whole page!! π mwah π
sign-off time: this lil masterpiece lives in ./arch/arm/mach-omap2, dated October 2026 β so like, future-coded but make it kernel ππ¦ see u in the source files bestie π«Άπ
π¦ 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