bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] hurd - ACPI tables netfs translator


From: Damien Zammit
Subject: [PATCH] hurd - ACPI tables netfs translator
Date: Sun, 11 Nov 2018 18:28:08 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hello,

This patch provides a translator for mounting x86 ACPI tables under a
path as read-only files.  I believe it is needed so that other things
that depend on ACPI to find the base address such as Intel's IOMMU (DMAR
table), memory mapped PCI space (MCFG table) etc, can be discovered in
userspace.  Otherwise, this functionality would need to be built into
gnumach which would be a burden to maintain.

The basic principle of this translator is that it searches for the ACPI
root table within the PnP Extended System Configuration Data (ESCD)
memory region that is sitting at address 0xE0000, then mmaps into it and
extracts the ACPI tables from other physical pointers.

The crux of my method is in acpi.c and the structure of tables is in acpi.h

Please provide feedback, and I can revise as necessary.

Cheers, Damien

Attachment: 0001-hurd-acpi-tables-translator.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]