pru_rproc_set_ctable(9)
π pru_rproc_set_ctable(9) β the Kernel API Manual page your bestie needs
okay so picture this: it's a Kernel API Manual page, the title is pru_rproc_set_ctable(9), and it's literally about setting the constant table index for the PRU. that's the whole vibe. let's get into it bestie π«Ά
β¨ NAME β¨
pru_rproc_set_ctable β set the constant table index for the PRU πΈ
like, that's the job. that's the assignment. it ate and left no crumbs.
π SYNOPSIS π
int pru_rproc_set_ctable (struct rproc *rproc , enum pru_ctable_idx c ,
u32 addr );
look at that signature. iconic. returns an int, takes three args, no notes π
π ARGUMENTS π
rprocβ therprocinstance of the PRU. yep, the actual remoteproc thing you're working with, main character energy fr frcβ constant table index to set. it's anenum pru_ctable_idx, so it's giving "pick your index" β¨addrβ physical address to set it to. au32, so no funny business, just the physical address bestie
β RETURN β
0 on success, or errno in error case.
that's it. zero means slay, anything else means the errno is telling you what went wrong. no cap π
π¦ SEE ALSO π¦
go look at the kernel file ./drivers/remoteproc/pru_rproc.c β that's the source of truth, iykyk π
and then these besties right here, all in the same friend group:
enum pru_iomem(9)struct pru_private_data(9)struct pru_rproc(9)pru_rproc_set_firmware(9)pru_rproc_get(9)pru_rproc_put(9)
lowkey a reminder that this whole page lives under ./drivers/remoteproc β that's the home base π‘
and that's the page!! mwah π before you go, the little sign-off at the bottom: this one's from the ./drivers/remoteproc source, October 2026 era, and the page itself is pru_rproc_set_ctable(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