overdue-scratch

Author Topic: Remove from ACPI and SMBIOS non mac tables  (Read 5167 times)

0 Members and 1 Guest are viewing this topic.

toitione

  • Guest
Remove from ACPI and SMBIOS non mac tables
« 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.

Kabyl

  • VoodooLabs
  • Posts: 158
Re: Remove from ACPI and SMBIOS non mac tables
« Reply #1 on: October 22, 2010, 03:51:38 PM »
Why?

toitione

  • Guest
Re: Remove from ACPI and SMBIOS non mac tables
« Reply #2 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.

Kabyl

  • VoodooLabs
  • Posts: 158
Re: Remove from ACPI and SMBIOS non mac tables
« Reply #3 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 :)



toitione

  • Guest
Re: Remove from ACPI and SMBIOS non mac tables
« Reply #4 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;
}