| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Message-Id: <20220912103837.556815-5-damien@zamaudio.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Reading the man page for mmap, MAP_FIXED needs to be removed,
because we do not want the mapping to be placed at 0.
Message-Id: <20220212215736.28433-1-damien@zamaudio.com>
|
|
|
|
| |
* acpi/acpi.c (acpi_get_tables): Factorize code.
|
|
|
|
| |
* acpi/acpi.c (acpi_get_num_tables): Do not ignore mmap failure.
|
|
|
|
|
| |
* acpi/acpi.c (acpi_get_num_tables, acpi_get_tables): Munmap is not needed,
because when mmap_phys_acpi_header returns non-zero, no mmap is performed.
|
|
|
|
|
|
|
| |
These were writing to an array and then never using it. Maybe they were
useful for debugging.
Message-Id: <87sfvtmn6r.fsf@autistici.org>
|
|
Exposes x86 ACPI tables as a netfs on a mount point
* acpi: New directory.
* Makefile (prog-subdirs): Add acpi.
* hurd/hurd_types.h (FSTYPE_ACPI): New macro.
|