-
Notifications
You must be signed in to change notification settings - Fork 2
/
ssdt9.dsl
141 lines (135 loc) · 4.52 KB
/
ssdt9.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20210105 (64-bit version)
* Copyright (c) 2000 - 2021 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of ssdt9.dat, Thu Apr 22 15:56:06 2021
*
* Original Table Header:
* Signature "SSDT"
* Length 0x0000033A (826)
* Revision 0x02
* Checksum 0x84
* OEM ID "AMD"
* OEM Table ID "AmdTable"
* OEM Revision 0x00000001 (1)
* Compiler ID "INTL"
* Compiler Version 0x20160422 (538313762)
*/
DefinitionBlock ("", "SSDT", 2, "AMD", "AmdTable", 0x00000001)
{
External (_SB_._RTC, DeviceObj)
External (_SB_.GPIO, DeviceObj)
External (_SB_.LID0, DeviceObj)
External (_SB_.MSBT, DeviceObj)
External (_SB_.PCI0.GP17.ACP_, DeviceObj)
External (_SB_.PCI0.GP17.AZAL, DeviceObj)
External (_SB_.PCI0.GP17.XHC0, DeviceObj)
External (_SB_.PCI0.GP17.XHC1, DeviceObj)
External (_SB_.PCI0.GPP1, DeviceObj)
External (_SB_.PCI0.GPP2.WIFI, DeviceObj)
External (_SB_.PWRB, DeviceObj)
Scope (\_SB.GPIO)
{
Method (_AEI, 0, NotSerialized) // _AEI: ACPI Event Interrupts
{
Name (BUF0, ResourceTemplate ()
{
GpioInt (Edge, ActiveLow, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0002
}
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x003D
}
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x003E
}
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x003A
}
GpioInt (Level, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x003B
}
GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0005
}
GpioInt (Edge, ActiveBoth, ExclusiveAndWake, PullNone, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0017
}
})
Return (BUF0) /* \_SB_.GPIO._AEI.BUF0 */
}
Method (_EVT, 1, Serialized) // _EVT: Event
{
Switch (ToInteger (Arg0))
{
Case (0x02)
{
Notify (\_SB.PCI0.GPP2.WIFI, 0x02) // Device Wake
}
Case (0x3D)
{
Notify (\_SB.PCI0.GP17.AZAL, 0x02) // Device Wake
}
Case (0x3E)
{
Notify (\_SB.PCI0.GP17.ACP, 0x02) // Device Wake
}
Case (0x3A)
{
Notify (\_SB.PCI0.GP17.ACP, 0x02) // Device Wake
}
Case (0x3B)
{
Notify (\_SB.PCI0.GP17.ACP, 0x02) // Device Wake
}
Case (0x05)
{
If (CondRefOf (\_SB.LID0))
{
Notify (\_SB.LID0, 0x80) // Status Change
}
}
Case (0x17)
{
CLST (0x17)
}
}
}
Method (CLST, 1, NotSerialized)
{
Local1 = ToInteger (Arg0)
Local0 = ((Local1 * 0x04) + 0xFED81503)
OperationRegion (VARC, SystemMemory, Local0, One)
Field (VARC, ByteAcc, NoLock, Preserve)
{
VARD, 8
}
Local1 = (VARD & 0xEF)
VARD = Local1
}
}
}