Field unit is not handled correctly

From: Kenji Kaneshige <hidden>
Date: 2004-08-10 08:42:56

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help