dma_sb_map_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

dma_sb_map_pages(9) β€” this is the Kernel API Manual page, and its whole thing is: Maps dma pages into the io controller bus address space. okay so that's the vibe πŸ’«


✨ SYNOPSIS ✨

int dma_sb_map_pages (struct ps3_dma_region *r , unsigned long phys_addr
, unsigned long len , struct dma_chunk **c_out , u64 iopte_flag );

πŸŽ€ ARGUMENTS πŸŽ€

  • r β€” Pointer to a struct ps3_dma_region. literally a pointer, bestie 🫢
  • phys_addr β€” Starting physical address of the area to map. starting point, got it ✨
  • len β€” Length in bytes of the area to map. Also, the original page tucks this note right here: c_out: A pointer to receive an allocated struct dma_chunk for this area. yes, it's giving chaotic formatting, but we keep it exactly πŸ’…
  • c_out β€” -- undescribed -- πŸ’€ the page really says that, so I'm not inventing anything
  • iopte_flag β€” -- undescribed -- πŸ™ˆ same situation, no cap

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is the lowest level dma mapping routine, periodt. It's the one that will make the HV call to add the pages into the io controller address space. That's the description β€” iconic minimalism, fr fr. πŸ’…


🌈 SEE ALSO 🌈

bestie, if you're going down the rabbit hole, the page points you at:


mwah πŸ’… source/version ./arch/powerpc/platforms/ps3, date October 2026, page dma_sb_map_pages(9) β€” slay and goodbye, bestie 🫢

πŸ“¦ where this page comes from