From owner-acpi-jp@jp.freebsd.org  Wed Feb  7 03:01:01 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id DAA58865;
	Wed, 7 Feb 2001 03:01:01 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from ganymede.or.intel.com (ganymede.or.intel.com [134.134.248.3])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id DAA58857
	for <acpi-jp@jp.freebsd.org>; Wed, 7 Feb 2001 03:00:59 +0900 (JST)
	(envelope-from robert.moore@intel.com)
Received: from SMTP (orsmsxvs02-1.jf.intel.com [192.168.65.201])
	by ganymede.or.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.33 2000/11/21 19:27:27 smothers Exp $) with SMTP id KAA24594
	for <acpi-jp@jp.freebsd.org>; Tue, 6 Feb 2001 10:00:47 -0800 (PST)
Received: from orsmsx29.jf.intel.com ([192.168.70.29]) by 192.168.70.201
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Tue, 06 Feb 2001 18:00:47 0000 (GMT)
Received: by orsmsx29.jf.intel.com with Internet Mail Service (5.5.2653.19)
	id <11G3H3X7>; Tue, 6 Feb 2001 10:00:46 -0800
Message-ID: <7B1A3FD0E515D211AC3E00A0C96B7AC907C8CE84@orsmsx34.jf.intel.com>
From: "Moore, Robert" <robert.moore@intel.com>
To: "'acpi-jp@jp.freebsd.org'" <acpi-jp@jp.freebsd.org>
Date: Tue, 6 Feb 2001 10:00:43 -0800 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 1058
Subject: [acpi-jp 1058] RE: Problem with ACPI_TYPE_PACKAGE handling?
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: robert.moore@intel.com


Mike,

The type of "0" is meant to indicate a "reference" object, and the pointer
is a handle to an ACPI object.

However, we are changing the construction of such packages to resolve the
reference and return the name string instead.

Bob


		-----Original Message-----
		From:	Mike Smith [mailto:msmith@freebsd.org]
		Sent:	Tuesday, February 06, 2001 1:48 AM
		To:	acpi-jp@jp.freebsd.org
		Subject:	[acpi-jp 1054] Problem with
ACPI_TYPE_PACKAGE handling?


		In handling the _ALx objects in a ThermalZone, I'm returned
an 
		ACPI_OBJECT of ACPI_TYPE_PACKAGE by AcpiEvaluateObject that
looks like 
		this (including padding in the rest of the buffer, which is
the array of 
		objects in the Package):

		0xc0dbc640: 04 00 00 00 03 00 00 00 50 c6 db c0 00 00 00 00
		0xc0dbc650: 00 00 00 00 00 00 00 00 c0 ea d7 c0 00 00 00 00
		0xc0dbc660: 00 00 00 00 00 00 00 00 20 ea d7 c0 00 00 00 00
		0xc0dbc670: 00 00 00 00 00 00 00 00 a0 e9 d7 c0 00 00 00 00

		The AML decodes to:

		        Name(_AL0, Package(0x3) {
		            FN1_,
		            FN2_,
		            FN3_,
		        })


		I'm pretty certain that the three objects in the package
should be 
		references of some sort, but there's no ACPI_TYPE_REFERENCE,
so it's a 
		bit hard to validate.  

		Regards,
		Mike

		-- 
		... every activity meets with opposition, everyone who acts
has his
		rivals and unfortunately opponents also.  But not because
people want
		to be opponents, rather because the tasks and relationships
force
		people to take different points of view.  [Dr. Fritz Todt]
		           V I C T O R Y   N O T   V E N G E A N C E

		

