acd disassemble command
shuang-shuan guo
hi,
I am a user of ACPI-CA, I have integrated the acpi-ca code into my application. And, I can use the acpi-ca debugger to do some testing. Recently, I came across one issue. When I was using the 'acd disassemble' to disassemble these type methods(highlighted with yellow as below), then the system will crash, it seems it was accessing some invalid address.
The _CRS is under '\_SB_.LNKA'
Method (_CRS, 0, NotSerialized)
{
Name (BUF0, ResourceTemplate()
{
IRQ (Level, ActiveLow, Shared) {0}
})
CreateWordField (BUF0, One, IRQW)
If (And (PIRB, 0x80))
{
Store (Zero, Local0)
}
Else
{
Store (One, Local0)
}however, using the 'acd resources \_SB_.LNKA' can parse out the IRQ resource without any errors. I guess probably there is one issue in acpi-ca disassembler. Is there any one can help me to address?
Moore
Please post or send me the binary table that is causing the problem. Thanks,
Bob
________________________________
From: devel-bounces(a)acpica.org [mailto:devel-bounces(a)acpica.org] On Behalf Of shuang-shuan guo
Sent: Thursday, September 13, 2012 12:02 AM
To: devel(a)acpica.org
Subject: [Devel] acd disassemble command
hi,
I am a user of ACPI-CA, I have integrated the acpi-ca code into my application. And, I can use the acpi-ca debugger to do some testing. Recently, I came across one issue. When I was using the 'acd disassemble' to disassemble these type methods(highlighted with yellow as below), then the system will crash, it seems it was accessing some invalid address.
The _CRS is under '\_SB_.LNKA'
Method (_CRS, 0, NotSerialized)
{
Name (BUF0, ResourceTemplate()
{
IRQ (Level, Activ eLow, Shared) {0}
})
CreateWordField (BUF0, One, IRQW)
If (And (PIRB, 0x80))
{
Store (Zero, Local0)
}< BR> Else
{
Store (One, Local0)
}however, using the 'acd resources \_SB_.LNKA' can parse out the IRQ resource without any errors. I guess probably there is one issue in acpi-ca disassembler. Is there any one can help me to address?