Skip to contentSkip to conversation

Field unit is not handled correctly

DISCUSSION Kenji Kaneshige 1 participant 1 message Aug 10, 2004 ACPI

lore
Share & tools
lore
#0 lore 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