pdc_pat_cell_module(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pdc_pat_cell_module (9) β€” Kernel API Manual ✨

okay bestie, so this is a page from the Kernel API Manual, and honestly it's a little one but it's important β€” it's pdc_pat_cell_module, and it's out here doing the lord's work of asking the firmware to spill the tea about the modules chillin' in your cell.


πŸŽ€ NAME πŸŽ€

pdc_pat_cell_module β€” retrieve the cell's module information. like, that's the whole vibe. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int pdc_pat_cell_module (unsigned long *actcnt , unsigned long ploc ,
       unsigned long mod , unsigned long view_type , void *mem_addr );

🌸 ARGUMENTS 🌸

okay so there are five of these and each one is lowkey doing its own thing:

  • actcnt β€” the number of bytes written to mem_addr. it's a pointer, so this is where it reports back how much it actually wrote. πŸ’«
  • ploc β€” the physical location. yes, physical. like, where the thing literally is.
  • mod β€” the module index. which module we're talking about, bestie. πŸ”’
  • view_type β€” the view of the address type. it's giving very "depends on the view" energy, iykyk. πŸ™ˆ
  • mem_addr β€” the return buffer. this is the cutie that gets filled up with the answer. 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

So this PDC call returns information about each module attached to the cell at the specified location. That's it, that's the whole story β€” one cell, one location, and you get the deets on every module hooked up to it. iconic behavior honestly. ✨


🌈 SEE ALSO 🌈

Kernel file ./arch/parisc/kernel/firmware.c β€” plus a whole friend group of (9) pages, and no I'm not skipping any of them because they're all part of the squad πŸ’œ:

f_extend(9), convert_to_wide(9), set_firmware_width(9), pdc_emergency_unlock(9), pdc_add_valid(9), pdc_instr(9), pdc_chassis_info(9), pdc_pat_chassis_send_log(9), pdc_chassis_disp(9), __pdc_cpu_rendezvous(9), pdc_cpu_rendezvous_lock(9), pdc_cpu_rendezvous_unlock(9), pdc_pat_get_PDC_entrypoint(9), pdc_chassis_warn(9), pdc_coproc_cfg(9), pdc_iodc_read(9), pdc_system_map_find_mods(9), pdc_system_map_find_addrs(9), pdc_model_info(9), pdc_model_sysmodel(9), pdc_model_versions(9), pdc_model_cpuid(9), pdc_model_capabilities(9), pdc_model_platform_info(9), pdc_cache_info(9), pdc_spaceid_bits(9), pdc_btlb_info(9), pdc_mem_map_hpa(9), pdc_lan_station_id(9), pdc_stable_read(9), pdc_stable_write(9), pdc_stable_get_size(9), pdc_stable_verify_contents(9), pdc_stable_initialize(9), pdc_get_initiator(9), pdc_pci_irt_size(9), pdc_pci_irt(9), pdc_pci_config_read(9), pdc_pci_config_write(9), pdc_tod_read(9), pdc_pim_toc11(9), pdc_pim_toc20(9), pdc_tod_set(9), pdc_iodc_print(9), pdc_iodc_getc(9), pdc_pat_cell_get_number(9), pdc_pat_cell_info(9), pdc_pat_cpu_get_number(9), pdc_pat_get_irt_size(9), pdc_pat_get_irt(9), pdc_pat_pd_get_addr_map(9), pdc_pat_pd_get_pdc_revisions(9), pdc_pat_pd_get_platform_counter(9), pdc_pat_io_pci_cfg_read(9), pdc_pat_io_pci_cfg_write(9), pdc_pat_mem_pdt_info(9), pdc_pat_mem_pdt_cell_info(9), pdc_pat_mem_read_cell_pdt(9), pdc_pat_mem_read_pd_pdt(9), pdc_pat_mem_get_dimm_phys_location(9).


and that's the whole page bestie, no filler, all facts, we ate and left zero crumbs πŸ’…βœ¨

this iconic little drop came from ./arch/parisc/kernel, dated October 2026 β€” mwah, bye! πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from