STRUCT ACRN_PIO_REQUEST(9)
π struct acrn_pio_request(9) β from the Kernel API Manual, bestie
okay so picture this: it's giving "one tiny struct that tells the kernel literally everything about a PIO I/O request" and honestly? iconic. β¨
πΈ NAME πΈ
struct acrn_pio_request β all the info about one PIO I/O request, no cap π
β¨ SYNOPSIS β¨
struct acrn_pio_request {
__u32 direction;
__u32 reserved;
__u64 address;
__u64 size;
__u32 value;
};
that's it. that's the whole vibe. five fields, zero drama. π¦
π MEMBERS π
bestie, let's go field by field, because every single one of these matters:
directionβ the access direction for this request (theACRN_IOREQ_DIR_*family π). is it a read? is it a write? this field knows.reservedβ reserved for alignment, and it should be0. not me telling you to leave it aloneβ¦ but leave it alone. πaddressβ the access address of this PIO I/O request. literally where the action happens.sizeβ the access size of this PIO I/O request. how many bytes we're talking about.valueβ the read/write value of this PIO I/O request. the actual payload, the main character of the whole struct ngl π
friendly reminder from your girl:reservedshould be0. that's a "should be", not a "maybe", so just set it to0and we move on π«Ά
π¦ SEE ALSO π¦
so many siblings, and we stan a big family π. these all live in the kernel file ./include/uapi/linux/acrn.h:
struct acrn_mmio_request(9)struct acrn_pci_request(9)struct acrn_io_request(9)struct acrn_ioreq_notify(9)struct acrn_vm_creation(9)struct acrn_gp_regs(9)struct acrn_descriptor_ptr(9)struct acrn_regs(9)struct acrn_vcpu_regs(9)struct acrn_vm_memmap(9)struct acrn_ptdev_irq(9)struct acrn_pcidev(9)struct acrn_mmio_dev_res(9)struct acrn_mmiodev(9)struct acrn_vdev(9)struct acrn_msi_entry(9)struct acrn_cstate_data(9)struct acrn_pstate_data(9)struct acrn_ioeventfd(9)struct acrn_irqfd(9)
iykyk β go read them all, they're all connected π
and that's the whole page, bestie π this one comes from ./include/uapi/linux, dated October 2026, and it's filed under the Kernel API Manual. mwah πβ¨
π¦ 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