acpi_dev_resource_memory(9)
πΈ acpi_dev_resource_memory(9) πΈ
okay bestie, welcome to the Kernel API Manual page for acpi_dev_resource_memory β yes, the ACPI memory resource extraction girlie. she checks resource objects and fills in the generic one. periodt. π
π NAME π
acpi_dev_resource_memory β extract ACPI memory resource information. π
π¦ SYNOPSIS π¦
bool acpi_dev_resource_memory (struct acpi_resource *ares , struct
resource *res );
π ARGUMENTS π
aresβ input ACPI resource object. like, the thing being checked. πresβ output generic resource object. this is the one that gets populated. π«Ά
π DESCRIPTION π
okay so the function checks if the given ACPI resource object represents a memory resource. if thatβs the case, it uses the information in it to populate the generic resource object pointed to by res. thatβs the whole vibe. no cap. β¨
π₯ RETURN π₯
falsewithres->flagssetting to zero: not the expected resource type. πfalsewithIORESOURCE_DISABLEDinres->flags: valid unassigned resource. πtrue: valid assigned resource. π
π SEE ALSO π
Kernel file ./drivers/acpi/resource.c β bestie, go look at the source if you want the full lore. π
acpi_dev_resource_io(9)acpi_dev_resource_address_space(9)acpi_dev_resource_ext_address_space(9)acpi_dev_irq_flags(9)acpi_dev_get_irq_type(9)acpi_dev_resource_interrupt(9)acpi_dev_free_resource_list(9)acpi_dev_get_resources(9)acpi_dev_get_dma_resources(9)acpi_dev_get_memory_resources(9)acpi_dev_filter_resource_type(9)acpi_resource_consumer(9)
mwah π this page came from ./drivers/acpi, dated October 2026, and itβs the acpi_dev_resource_memory(9) manual page. bye bestie, go slay some ACPI resources! π
π¦ 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