SSDT table

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
JulienDarc
Member
Member
Posts: 97
Joined: Tue Mar 10, 2015 10:08 am

SSDT table

Post by JulienDarc »

Hello,

I am reading the acpi (5a) specification.

If I get the DSDT table and the purpose of a SSDT table, which is to complement a DSDT table, I am not sure if the SSDT should be placed right after its DSDT.
A SSDT can only rely on the DSDT being loaded prior to it.
Is prior just timely based (SSDT coming after but at a random memory position the DSDT) or time and space based (SSDT coming right after the DSDT in memory)?

If the first, I should check the ID of the device/maker. If second, no need, we can deduce it from the last DSDT.

Maybe I got something wrong, and overlooked something.

Thanks for your help,
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: SSDT table

Post by Brendan »

Hi,
JulienDarc wrote:Is prior just timely based (SSDT coming after but at a random memory position the DSDT) or time and space based (SSDT coming right after the DSDT in memory)?

If the first, I should check the ID of the device/maker. If second, no need, we can deduce it from the last DSDT.

Maybe I got something wrong, and overlooked something.
You'd search the list of ACPI tables looking for the DSDT and use it to populate an initial "AML namespace"; then you'd search the list of ACPI tables looking for any SSDTs and merge them into your "AML namespace".

It shouldn't matter much where any of the tables are in memory; you still have to search anyway.


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
JulienDarc
Member
Member
Posts: 97
Joined: Tue Mar 10, 2015 10:08 am

Re: SSDT table

Post by JulienDarc »

Bingo,

Thanks Brendan :)
Post Reply