public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Field unit is not handled correctly
@ 2004-08-10  8:42 Kenji Kaneshige
  0 siblings, 0 replies; only message in thread
From: Kenji Kaneshige @ 2004-08-10  8:42 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-10  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10  8:42 Field unit is not handled correctly Kenji Kaneshige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox