Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Nov 2010 12:10:47 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        "Moore, Robert" <robert.moore@intel.com>
Cc:        "Therien, Guy" <guy.therien@intel.com>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: MacBookPro 5,1
Message-ID:  <4CD529A7.7080206@icyb.net.ua>
In-Reply-To: <4911F71203A09E4D9981D27F9D830858BC46A4B1@orsmsx503.amr.corp.intel.com>
References:  <201010121209.06397.hselasky@c2i.net>	<4CD02E6D.1070106@freebsd.org>	<201011021529.05977.jkim@FreeBSD.org>	<201011040844.17109.hselasky@c2i.net> <4911F71203A09E4D9981D27F9D830858BC46A4B1@orsmsx503.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CD529A7.7080206>