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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "[email protected]"

Reply via email to