public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Kenji Kaneshige <kaneshige.kenji-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Field unit is not handled correctly
Date: Tue, 10 Aug 2004 17:42:56 +0900	[thread overview]
Message-ID: <41188A90.2040100@jp.fujitsu.com> (raw)

Hi,

I have a problem that field unit is not handled correctly.
For example, when I try the following method, the Local0
have a value '0x3FFFFF', while my expectation is '0x3FFF'.

/*
 * Note: Region ABCD is filled with 0xF
 */
OperationRegion (ABCD, SystemMemory, 0x100000, 0x1000)
Field (ABCD, AnyAcc, NoLock, WriteAsZeros) {
	AAAA, 14,
	BBBB, 1
}
Method (TEST, 0, NotSerialized) {
	Store (AAAA, Local0)
	Store (Local0, Debug)
}


I don't know the implementation of ACPI core subsystem very
much, but I suspect that there are something wrong in 
acpi_ex_extract_from_field().

Does anyone have the information about that?

Thanks,
Kenji Kaneshige



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

                 reply	other threads:[~2004-08-10  8:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41188A90.2040100@jp.fujitsu.com \
    --to=kaneshige.kenji-+cum20s59erqfuhtdcdx3a@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox