Voodooprojects

Chameleon => Feature Requests => Topic started by: toitione on October 22, 2010, 12:44:27 PM

Title: Remove from ACPI and SMBIOS non mac tables
Post by: toitione on October 22, 2010, 12:44:27 PM
The idea is to remove all the unnecessary tables you can find in ACPI and SMBIOS that are unneeded for darwin.
We can use darwin dumper on real mac to make a white list of table and kick the others (SLIC, OEMB...) from RSDT.
The same idea can apply to SMBIOS I think.
For paranoiacs, we can also write zeros on the headers of unreferenced tables to foil a deep memory scan.
Title: Re: Remove from ACPI and SMBIOS non mac tables
Post by: Kabyl on October 22, 2010, 03:51:38 PM
Why?
Title: Re: Remove from ACPI and SMBIOS non mac tables
Post by: toitione on October 22, 2010, 05:57:27 PM
Just to be more "vanilla", it is not a functional need (for the moment...), just a cosmetic enhancement, and it is always useful to make the cleaning.
Title: Re: Remove from ACPI and SMBIOS non mac tables
Post by: Kabyl on October 22, 2010, 06:24:52 PM
Just to be more "vanilla",
Don't worry, whatever you do, it's never going to be "vanilla".

Quote
it is not a functional need (for the moment...),
And I don't see it ever going to be.

Quote
just a cosmetic enhancement, and it is always useful to make the cleaning.
hmm.. I think it's just a manic.

Sorry :)


Title: Re: Remove from ACPI and SMBIOS non mac tables
Post by: toitione on October 22, 2010, 08:09:57 PM
And it's easy to code when I saw this  ;D :

if (drop_ssdt && tableSign(table, "SSDT"))
{
    dropoffset++;
    continue;
}