on 29/10/2010 08:23 Andriy Gapon said the following: > on 29/10/2010 08:19 Andriy Gapon said the following: [snip] >> l_prs_template is populated in link_add_prs() function, which called to walk >> over resources returned by _PRS: >> http://fxr.watson.org/fxr/source/dev/acpica/acpi_pci_link.c#L499 >> http://fxr.watson.org/fxr/source/dev/acpica/acpi_pci_link.c#L269 >> http://fxr.watson.org/fxr/source/dev/acpica/acpi_pci_link.c#L324 >> >> So, it would seem that those incorrect lengths would come from evaluation of >> _PRS by ACPICA code. But that's probably a naive conclusion, it could be >> that >> we incorrectly manipulate a received resource.
I guess that a general problem here is that it is incorrect to merely use memcpy/bcopy to create a copy of a resource if the resource has ACPI_RESOURCE_SOURCE field in it. Is there a helper function for making such a copy? -- Andriy Gapon _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to "[email protected]"
