Skip to contentSkip to conversation

acd disassemble command

Devel shuang-shuan guo 2 participants 2 messages Sep 13, 2012 ACPI component architecture (acpica)

lore
Share & tools
lore

shuang-shuan guo

author
#0 lore raw

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?

#1 lore raw

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?