1 /**************************************************************************;
4 ;* Intel Corporation - ACPI Reference Code for the Baytrail *;
5 ;* Family of Customer Reference Boards. *;
8 ;* Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved *;
10 ; SPDX-License-Identifier: BSD-2-Clause-Patent
14 ;**************************************************************************/
17 // General Purpose Events. This Scope handles the Run-time and
18 // Wake-time SCIs. The specific method called will be determined by
19 // the _Lxx value, where xx equals the bit location in the General
20 // Purpose Event register(s).
25 // Software GPE caused the event.
29 // Clear GPE status bit.
32 // Handle DTS Thermal Events.
34 External(DTSE, IntObj)
37 If(LGreaterEqual(DTSE, 0x01))
39 Notify(\_TZ.TZ01,0x80)
49 // Clear the PUNIT Status Bit.
55 // IGD OpRegion SCI event (see IGD OpRegion/Software SCI BIOS SPEC).
59 If(LAnd(\_SB.PCI0.GFX0.GSSE, LNot(GSMI))) // Graphics software SCI event?
61 \_SB.PCI0.GFX0.GSCI() // Handle the SWSCI
66 // This PME event (PCH's GPE #13) is received when any PCH internal device with PCI Power Management capabilities
67 // on bus 0 asserts the equivalent of the PME# signal.
71 If(LAnd(\_SB.PCI0.EHC1.PMEE, \_SB.PCI0.EHC1.PMES))
73 If(LNotEqual(OSEL, 1))
75 Store(1, \_SB.PCI0.EHC1.PMES) //Clear PME status
76 Store(0, \_SB.PCI0.EHC1.PMEE) //Disable PME
78 Notify(\_SB.PCI0.EHC1, 0x02)
80 If(LAnd(\_SB.PCI0.XHC1.PMEE, \_SB.PCI0.XHC1.PMES))
82 If(LNotEqual(OSEL, 1))
84 Store(1, \_SB.PCI0.XHC1.PMES) //Clear PME status
85 Store(0, \_SB.PCI0.XHC1.PMEE) //Disable PME
87 Notify(\_SB.PCI0.XHC1, 0x02)
89 If(LAnd(\_SB.PCI0.HDEF.PMEE, \_SB.PCI0.HDEF.PMES))
91 If(LNotEqual(OSEL, 1))
93 Store(1, \_SB.PCI0.HDEF.PMES) //Clear PME status
94 Store(0, \_SB.PCI0.HDEF.PMEE) //Disable PME
96 Notify(\_SB.PCI0.HDEF, 0x02)