From owner-acpi-jp@jp.freebsd.org  Fri Nov  9 06:28:53 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id GAA89349;
	Fri, 9 Nov 2001 06:28:53 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail4.nec.com (dns4.nec.com [131.241.15.4])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id GAA89343;
	Fri, 9 Nov 2001 06:28:50 +0900 (JST)
	(envelope-from seno@necsystems.com)
Received: from netkeeper.sj.nec.com (netkeeper.sj.nec.com [131.241.31.2])
	by mail4.nec.com (/) with ESMTP id fA8LNhG06246;
	Thu, 8 Nov 2001 13:23:43 -0800 (PST)
Received: from syl.sj.nec.com (localhost [127.0.0.1])
	by netkeeper.sj.nec.com (8.9.1a/8.9.1) with ESMTP id NAA25250;
	Thu, 8 Nov 2001 13:23:43 -0800 (PST)
Received: from pokemon.syl.sj.nec.com (pokemon [131.241.25.12])
	by syl.sj.nec.com (8.9.1b+Sun/8.8.8) with ESMTP id NAA19244;
	Thu, 8 Nov 2001 13:26:01 -0800 (PST)
Received: from reina (modem1.syl.sj.nec.com [131.241.25.202]) by pokemon.syl.sj.nec.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id WKW9R5KC; Thu, 8 Nov 2001 13:20:52 -0800
Message-ID: <044b01c1689c$52a95320$ca19f183@reina>
From: "Kenichi Senoo" <seno@necsystems.com>
To: <acpi-jp@jp.freebsd.org>, "'Mitsuru IWASAKI'" <iwasaki@jp.freebsd.org>
Cc: "Grover, Andrew" <andrew.grover@intel.com>, <acpi-jp@jp.freebsd.org>,
        "'KOCHI, Takayoshi'" <t-kouchi@mvf.biglobe.ne.jp>
References: <B9ECACBD6885D5119ADC00508B68C1EA2FDFF8@orsmsx107.jf.intel.com>
Date: Thu, 8 Nov 2001 16:21:01 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: acpi-jp 1459
Subject: [acpi-jp 1459] Re: acpica-unix-20011102 is out
Errors-To: owner-acpi-jp@jp.freebsd.org
Sender: owner-acpi-jp@jp.freebsd.org
X-Originator: seno@necsystems.com

Hi,
Since the datum is read from BaseByteOffset and the StartFieldBitOffset
is offset from the datum,  StartFieldBitOffset seems to be 
 (FieldBitPosition - ObjDesc->CommonField.BaseByteOffset * 8);

> I think that the fix for the StartFieldBitOffset problem (included in the
> 11/02 build) must use the address granularity rather than the access bit
> width.

> exprep.c
> /*
>  * StartFieldBitOffset is the offset of the first bit of the field within a
> field datum.
>  */
> ObjDesc->CommonField.StartFieldBitOffset  = (UINT8) (FieldBitPosition %
> Alignment);
-- 
 Kenichi Senoh, NEC Systems, Inc.

