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





--- Comment #23 from Zhang Rui <rui.zh...@intel.com>  2010-12-16 06:26:05 ---
This is the ASL code of the custom GBAS control method.

                    Method (\_SB.PCI0.LPCB.EC0.GBAS, 0, NotSerialized)
                    {
                        Store (Zero, BATF)
                        Store (MBTS, Local0)
                        Store (SW2S, Local1)
            Store ("Local0 and Local1", Debug)
            Store (Local0, Debug)
            Store (Local1, Debug)
                        ShiftLeft (Local0, 0x06, Local0)
                        ShiftLeft (Local1, One, Local1)
            Store ("BATO", Debug)
            Store (BATO, Debug)
                        If (LNotEqual (And (BATO, 0x40), Local0))
                        {
                            Or (BATF, 0x40, BATF)
                        }

                        If (LNotEqual (And (BATO, 0x02), Local1))
                        {
                            Or (BATF, 0x02, BATF)
                        }

            If (Lequal (SW2S, Zero))
                        {
                            Or (BATF, 0x02, BATF)
                        }

                        Store (BATF, BATO)
                    }

-- 
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.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to