MacBookPro 5,1

Andriy Gapon avg at icyb.net.ua
Sat Nov 6 10:10:58 UTC 2010


on 05/11/2010 05:57 Moore, Robert said the following:
> The problem is stale pointers within the structure, yes?
> 
> Cannot copy the structure. I will never do this kind of thing again.

Yes, that was the problem with resource structs that have an
ACPI_RESOURCE_SOURCE field, that field would need a deep copy to handle
StringPtr in it.
Perhaps ACPICA could provide a convenience function for resource copying?
Perhaps with an option to carry on optional fields like ACPI_RESOURCE_SOURCE or
resetting them?

Thank you.
-- 
Andriy Gapon


More information about the freebsd-acpi mailing list