dma_sb_region_create(9)
π dma_sb_region_create(9) β from the Kernel API Manual, bestie π
okay so picture this: you're down in the ps3 part of the kernel tree, you need a device DMA region to exist, and you've got exactly one function to call. that's her. that's the girl. β¨
πΈ NAME πΈ
dma_sb_region_create β literally just Create a device dma region. π no cap, that's the whole pitch.
π¦ SYNOPSIS π¦
int dma_sb_region_create (struct ps3_dma_region *r );
β¨ ARGUMENTS β¨
rβ Pointer to astruct ps3_dma_region. that's it. hand her the pointer and let her cook π«Ά
π DESCRIPTION π
so this is the lowest level dma region create routine β like, the ground floor, no layers underneath, nothing cute hiding behind it π. she's the one that will make the HV call to create the region. yes, that HV call. main character energy fr fr π₯
π SEE ALSO π
bestie, the lore is deep. go read the kernel file ./arch/powerpc/platforms/ps3/mm.c and then take a little tour through:
struct mem_region(9)struct map(9)ps3_mm_phys_to_lpar(9)ps3_mm_vas_create(9)ps3_mm_vas_destroy(9)ps3_mm_region_create(9)ps3_mm_region_destroy(9)dma_sb_lpar_to_bus(9)dma_sb_map_pages(9)dma_sb_map_area(9)dma_sb_unmap_area(9)dma_sb_region_create_linear(9)dma_sb_region_free_linear(9)dma_sb_map_area_linear(9)ps3_mm_init(9)ps3_mm_shutdown(9)
like a whole friend group of functions, and you will be meeting all of them ππ
that's the whole page!! mwah π this one came from ./arch/powerpc/platforms/ps3 and it's dated October 2026 β so mark your calendar, she's a libra or whatever βπ hope this helped bestie, ily, go create some regions πππ¦
π¦ 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