acpi_dev_re...ddress_space(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual ✨ this page is acpi_dev_resource_ext_address_space(9), and the vibe is extract ACPI address space information without losing your mind πŸ’…

🌸 NAME 🌸

acpi_dev_resource_ext_address_space β€” extract ACPI address space information. periodt.


✨ SYNOPSIS ✨

bool acpi_dev_resource_ext_address_space (struct acpi_resource *ares ,
       struct resource_win *win );

πŸŽ€ ARGUMENTS πŸŽ€

  • ares β€” input ACPI resource object. literally the resource we're checking, bestie.
  • win β€” output generic resource object. this is where the populated info goes.

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, it checks if the given ACPI resource object represents an extended address space resource. If that's the case, it uses the information in it to populate the generic resource object pointed to by win. That's the whole plot, no cap ✨

πŸ”₯ RETURN πŸ”₯

  1. false with win->res.flags setting to zero β€” not the expected resource type 😭
  2. false with IORESOURCE_DISABLED in win->res.flags β€” valid unassigned resource
  3. true β€” valid assigned resource πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/acpi/resource.c β€” go peek at it, then check out these besties:


mwah πŸ’‹ β€” source/version: ./drivers/acpi; date: October 2026. that's the page, ily, bye 🫢

πŸ“¦ where this page comes from