From owner-acpi-jp@jp.freebsd.org  Fri Nov  9 13:15:58 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id NAA14511;
	Fri, 9 Nov 2001 13:15:58 +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 NAA14500;
	Fri, 9 Nov 2001 13:15:54 +0900 (JST)
	(envelope-from seno@necsystems.com)
Received: from netkeeper2.sj.nec.com (netkeeper2.sj.nec.com [131.241.31.10])
	by mail4.nec.com (/) with ESMTP id fA94ErG19212;
	Thu, 8 Nov 2001 20:14:53 -0800 (PST)
Received: from syl.sj.nec.com (localhost [127.0.0.1])
	by netkeeper2.sj.nec.com (8.9.1a/8.9.1) with ESMTP id UAA21330;
	Thu, 8 Nov 2001 20:14:56 -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 UAA22810;
	Thu, 8 Nov 2001 20:17:18 -0800 (PST)
Received: from reina (modem2.syl.sj.nec.com [131.241.25.203]) by pokemon.syl.sj.nec.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id WKW9R6DJ; Thu, 8 Nov 2001 20:12:08 -0800
Message-ID: <00b801c168d5$cb698ee0$cb19f183@reina>
From: "Kenichi Senoo" <seno@necsystems.com>
To: <acpi-jp@jp.FreeBSD.org>, <t-kouchi@mvf.biglobe.ne.jp>,
        "Mitsuru IWASAKI" <iwasaki@jp.FreeBSD.org>
Cc: <robert.moore@intel.com>
References: <B9ECACBD6885D5119ADC00508B68C1EA2FDFFC@orsmsx107.jf.intel.com><20011108162233.1144.T-KOUCHI@mvf.biglobe.ne.jp> <20011109.124736.74756033.iwasaki@jp.FreeBSD.org>
Date: Thu, 8 Nov 2001 23:19:55 -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 1463
Subject: [acpi-jp 1463] 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,
Bob, I have to apologize, When I read your message I thought you used
the access bit width to get *mod*. I actually tried "% access_bit_width" before,
for AcpiGetCurrentResources() and for unaligned field definition but it failed.
That's how I got my code to get it work.

Your code that uses Alignment should work as well. It is equivalent in nature.

 > This solves 2nd problem, not only my test case but also
> AcpiGetCurrentResources().
> Thanks alot Bob, Kochi-san and Senoo-san!
-- 
 Kenichi Senoh, NEC Systems, Inc.


