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





--- Comment #4 from Robert Moore <robert.mo...@intel.com>  2010-11-30 18:29:36 
---
We've seen this before, I think this is a duplicate. If _OSC is called with an
Arg2 > 1 (which it is under Linux), then the while loop below will be executed
more than once. On the second iteration, an attempt is made to create the CAPB
buffer field a second time, which results in the failure seen.

Method (_OSC, 4, NotSerialized)
{
    Store (Arg2, Local0)
    Multiply (Local0, 0x04, Local1)
    Name (BUF1, Buffer (Local1) {})
    Store (Arg3, BUF1)
    Store (0x00, Local1)
    Store (0x00, Local2)
    While (Local0)
    {
        Multiply (Local1, 0x04, Local2)
        CreateDWordField (BUF1, Local2, CAPB)
        If (Arg2)
        {
            And (CAPB, 0xFFFFFFFC)
            Or (CAPB, 0x00)
        }
        Else
        {
        }

        Increment (Local1)
        Decrement (Local0)
    }

    Return (BUF1)
}

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to