aboutsummaryrefslogtreecommitdiff
path: root/acpi/acpi-ops.c
Commit message (Collapse)AuthorAgeFilesLines
* acpi: Better error handling on S_acpi_get_pci_irqDamien Zammit via Bug reports for the GNU Hurd2024-12-281-1/+1
| | | | | | Return positive error code when return value indicates error. Message-ID: <20241228073512.711999-1-damien@zamaudio.com>
* acpi: Look out for acpi_get_irq_number errorsSamuel Thibault2024-12-231-2/+7
| | | | Otherwise we would take the error as irq number.
* Update server handlers to return kern_return_error to fix ↵Flavio Cruz2023-12-171-2/+2
| | | | | | | -Werror=enum-int-mismatch warnings MiG expects those to return kern_return_t. Message-ID: <ZXqbbXpVqQAwd2qv@jupiter.tail36e24.ts.net>
* acpi: Link translator to libacpica and provide RPCsDamien Zammit2022-09-121-0/+86
Provides two new acpi RPCs to sleep the machine and to get the irq of any pci device. ACPI mode is enabled by default when the translator is started. NB: Merging this commit means libacpica is a build dep. Message-Id: <20220912103837.556815-2-damien@zamaudio.com>