STRUCT KEYSTONE_RPROC_MEM(9)
π struct keystone_rproc_mem(9) π
okay so bestie, welcome to the struct keystone_rproc_mem(9) page from the Kernel API Manual β yes that's the manual name, we're being fancy today β¨ this is the little struct that holds all the internal memory bookkeeping for the keystone remoteproc driver, and honestly? she's doing a lot with only four fields. icon.
πΈ NAME πΈ
struct keystone_rproc_mem β the internal memory structure, aka the receipts for one chunk of memory. no cap, that's literally her whole job π
β¨ SYNOPSIS β¨
here's the shape of her, exactly, don't touch the formatting, she's perfect:
struct keystone_rproc_mem {
void __iomem *cpu_addr;
phys_addr_t bus_addr;
u32 dev_addr;
size_t size;
};
four members, zero filler, main character energy π
π¦ Members π¦
cpu_addrβ the MPU virtual address of the memory region. this is the address we (the MPU) use when we want to poke at it,void __iomem *and all π«Άbus_addrβ the bus address used to access the memory region. different address, same memory, it's giving "same girl different outfit" π it's aphys_addr_t.dev_addrβ the device address of the memory region, but from the DSP's point of view π so when the DSP looks at this memory it sees this address. au32, keep that in mind bestie.sizeβ the size of the memory region. asize_t. yes. that's it. that's the field. sometimes the simplest ones ate π
lowkey the whole point here: three different addresses for the same region (CPU view, bus view, DSP view) plus a size. if you mix them up, that's on you, not on her π
π₯ SEE ALSO π₯
- the kernel file
./drivers/remoteproc/keystone_remoteproc.cβ go read the source, iykyk β struct keystone_rproc(9)β her bestie, the big one π
and that's the page!! remember everything above was served to you straight from ./drivers/remoteproc in October 2026 β so when you cite her, cite her right, mwah ππ§π
π¦ 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