pbus_size_io(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

pbus_size_io(9) πŸ’…

okay so bestie, we're in the Kernel API Manual and this is pbus_size_io(9) β€” the function that sizes the I/O window of a given bus. 🫢


🌸 NAME 🌸

pbus_size_io β€” Size the I/O window of a given bus. ✨

✨ SYNOPSIS ✨

void pbus_size_io (struct pci_bus *bus , resource_size_t add_size ,
       struct list_head *realloc_head );

πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” the bus. 🚌
  • add_size β€” additional I/O window. βž•
  • realloc_head β€” track the additional I/O window on this list. πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so sizing the I/O windows of the PCI-PCI bridge is literally trivial, because those windows have 1K or 4K granularity, and the I/O ranges of non-bridge PCI devices are limited to 256 bytes. πŸ’…

⚠️ but we absolutely must be careful with the ISA aliasing though β€” that's the one that can sneak up on you. 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/setup-bus.c is right there, and you also gotta peek at these:


xoxo bestie πŸ’– β€” signed from source/version ./drivers/pci, dated October 2026, and this whole page is literally pbus_size_io(9). periodt. πŸ‘‘

πŸ“¦ where this page comes from