pdc_pat_mem_...hys_location(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ pdc_pat_mem_get_dimm_phys_location(9) πŸ’…

okay so bestie, we're deep in the Kernel API Manual today β€” this is page pdc_pat_mem_...hys_location(9) and it's lowkey a whole vibe. it's a PARISC PDC (Processor Dependent Code) thing, iykyk. anyway here's the tea β˜•


✨ NAME ✨

pdc_pat_mem_get_dimm_phys_location β€” literally goes and gets the physical DIMM slot for you, via PAT firmware. that's the whole assignment. slay πŸŽ€


🌸 SYNOPSIS 🌸

int pdc_pat_mem_get_dimm_phys_location (struct
pdc_pat_mem_phys_mem_location *pret , unsigned long phys_addr );

like, yes, it returns an int. yes, the formatting is doing its own thing. we respect it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pret β€” a ptr to hold the returned information πŸ’– this is where the answer lands, so make sure it's actually pointing somewhere real, bestie. no cap.
  • phys_addr β€” the physical address you want to examine πŸ” hand it over and the firmware goes snooping.

πŸ’œ SEE ALSO πŸ’œ

okay this is the part where the manpage goes full main character energy and tags literally everyone in the group chat. the kernel file lives at ./arch/parisc/kernel/firmware.c and here's the entire squad, no one left out, fr fr:

that's sixty whole functions. sixty!! the friend group is huge and honestly we're obsessed πŸ˜­πŸ’•


ngl if you're here you're probably writing kernel code for PA-RISC hardware, and that's genuinely iconic of you. go get that DIMM slot info, queen πŸ‘‘

and that's the page!! πŸ’– it lives in ./arch/parisc/kernel and it's stamped October 2026, so like... future-dated and mysterious and honestly kind of giving time traveler ⭐ bye bestie, drink some water, and may your pret always point somewhere valid πŸŒˆπŸ¦‹πŸ“

πŸ“¦ where this page comes from