STRUCT ACRN_DESCRIPTOR_PTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct acrn_descriptor_ptr(9) ✨

okay so this is a page from the Kernel API Manual, and bestie, we're talking about one very specific little struct today. buckle up πŸŽ€


🌸 NAME 🌸

struct acrn_descriptor_ptr β€” the segment descriptor table of a User VM. that's it, that's the vibe πŸ’…


⭐ SYNOPSIS ⭐

here's the whole thing, laid out exactly, no cap:

struct acrn_descriptor_ptr {
    __le16 limit;
    __le64 base;
    __le16 reserved[3];
 };

look at her. three members. iconic. 🫢


πŸ¦‹ Members πŸ¦‹

  • limit β€” the Limit field. literally just the limit, she said what she said ✨
  • base β€” the Base field. yes queen, that's the base πŸŽ€
  • reserved β€” reserved, and it must be 0. not "should", not "maybe", must. keep it zero or else πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./include/uapi/linux, plus the whole friend group of structs that live near her:

  • struct acrn_mmio_request(9)
  • struct acrn_pio_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_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)

go read them all, i'll wait πŸ’–


and that's the whole page! this one shipped from ./include/uapi/linux back in October 2026, and honestly? she ate. mwah πŸ’‹πŸŒΈβœ¨

πŸ“¦ where this page comes from