rockchip_smp_prepare_sram(9)
π rockchip_smp_prepare_sram(9) π
okay bestie, this one is from the Kernel API Manual (section 9) and it's lowkey doing bare-metal choreography β¨ like, it sets up sram so the starting cores have somewhere iconic to land. let's get into it π«Ά
πΈ NAME πΈ
so rockchip_smp_prepare_sram is here to populate the necessary sram block. Starting cores execute the code residing at the start of the on-chip sram after power-on. Therefore make sure, this sram region is reserved and big enough. After this check, copy the trampoline code that directs the core to the real startup code in ram into the sram-region. periodt π
no cap: this sram region has to be reserved and big enough before the copy happens. that's the whole vibe check π₯
β¨ SYNOPSIS β¨
the signature is literally giving:
int rockchip_smp_prepare_sram (struct device_node *node );
π ARGUMENTS π
nodeβ themmio-sramdevice node π that's it, that's the argument, bestie.
π¦ SEE ALSO π¦
- Kernel file
./arch/arm/mach-rockchip/platsmp.cβ go peek, iykyk π
mwah π source/version cutie: ./arch/arm/mach-rockchip Β· date: October 2026 Β· page: rockchip_smp_prepare_sram(9). byeee π«Άβ¨
π¦ 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