https://bugzilla.kernel.org/show_bug.cgi?id=195685

Lv Zheng ([email protected]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
          Component|BIOS                        |ACPICA-Core
         Resolution|INVALID                     |---
           Assignee|[email protected]. |acpi_acpica-core@kernel-bug
                   |org                         |s.osdl.org

--- Comment #7 from Lv Zheng ([email protected]) ---
First, I need to confirm if forward reference is supported:
I'm running the following ASL code on Windows using qemu:

Name(MTHE, 1)
Method(MTH1, 0, Serialized)
{
    DBUG("MTH1 - 0")
    Store(1, Local0)
    DBUG("MTH1 - 1")
    Store(MTH2(), Local0)
    If (LEqual(MTHE, 1)) {
        Method(MTH2, 0, Serialized)
        {
            Return (2)
        }
    }
    DBUG("MTH1 - 2")
}
Method(MTH3, 0, Serialized)
{
    External(MTH2, MethodObj)
    DBUG("MTH3 - 0")
    MTH1()
    DBUG("MTH3 - 1")
    MTH2()
    DBUG("MTH3 - 2")
}

I executed MTH1 in module level and obtained a blue screen.
I executed MTH3 in many device _STA methods, MTH3 - 1/2, MTH1 - 2 cannot be
reached.
I'll post validation result later.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to