Chameleon

Chameleon Commit Details

Date:2010-07-22 21:10:29 (9 years 2 months ago)
Author:mozo
Commit:200
Parents: 199
Message:Modified RSDT now allocated with proper length, fixes unwanted effects like dropped SSDT appears in ACPI tables list, not working dumpacpitbls (command line utility)
Changes:
M/branches/mozodojo/i386/libsaio/acpi_patcher.c

File differences

branches/mozodojo/i386/libsaio/acpi_patcher.c
906906
907907
908908
909
909
910910
911911
912912
DBG("\n");
// Allocate rsdt in Kernel memory area
rsdt_mod->Length += rsdt_mod->Length + 4*ssdt_count - 4*dropoffset;
rsdt_mod->Length += 4*ssdt_count - 4*dropoffset;
struct acpi_2_rsdt *rsdt_copy = (struct acpi_2_rsdt *)AllocateKernelMemory(rsdt_mod->Length);
memcpy (rsdt_copy, rsdt_mod, rsdt_mod->Length);
free(rsdt_mod); rsdt_mod = rsdt_copy;

Archive Download the corresponding diff file

Revision: 200