STRUCT PCI_EPC_MEM_WINDOW(9)
π struct pci_epc_mem_window(9)
okay bestie, so this is a page straight outta the Kernel API Manual β it's struct pci_epc_mem_window(9), and it's genuinely one of the more chill structs you'll meet today. no cap.
β¨ NAME β¨
struct pci_epc_mem_window β literally just describes the address window of the endpoint controller π
π¦ SYNOPSIS π¦
struct pci_epc_mem_window {
phys_addr_t phys_base;
size_t size;
size_t page_size;
};
that's the whole thing. three fields. iconic, tbh. πΈ
π Members π
π phys_base
the physical base address of the PCI address window β like, where it physically starts, fr fr.
π size
the size of the PCI address window. how much room we're working with, bestie.
π§ page_size
size of each page β¨ (yes, that's it β one page's worth of page-ness).
lowkey the whole struct is just "where it starts, how big it is, and how it's paged." vibe check passed π―
π₯ SEE ALSO π₯
- Kernel file
./include/linux/pci-epc.h struct pci_epc_map(9)enum pci_epc_aux_resource_type(9)struct pci_epc_aux_resource(9)struct pci_epc_ops(9)struct pci_epc_mem(9)struct pci_epc(9)enum pci_epc_bar_type(9)enum pci_epc_bar_rsvd_region_type(9)struct pci_epc_bar_rsvd_region(9)struct pci_epc_bar_desc(9)struct pci_epc_features(9)
like, go read all of those too, iykyk π«Ά
mwah π β this cutie lives in ./include/linux, and the version/date stamp on it is October 2026. so it's giving very much future-forward main character energy. mark your calendars bestie ποΈβ¨
π¦ 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