[Top][All Lists]

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

Re: [PATCH] hurd - ACPI tables netfs translator

From: Damien Zammit
Subject: Re: [PATCH] hurd - ACPI tables netfs translator
Date: Tue, 13 Nov 2018 19:40:14 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 13/11/18 05:39, Almudena Garcia wrote:
> In my docs, I've written the procedure to get this:
> /- How to find APIC table
> To find APIC table, we can read RSDT table RSDT reference. To get the
> address of RSDT, we need to read RDSP table./
> /Once got RSDT table, we need to read Entry field, and search the
> pointer to the APIC table in the array referenced in this field./

You could reuse some of the code I wrote in acpi.{c,h} and modify it as
you need to only get the required table(s), my function gets all the
tables, but you can restrict it to ones that match the four byte
"signature" that you need and clean it up so it only supports the
minimum required.  Also, considering you are in kernel land, it would be
probably easier to read physical pointers you don't need mmap or /dev/mem.


reply via email to

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