Ticket #385: dsdt_GBTUACPI2.dslgraphic

File dsdt_GBTUACPI2.dslgraphic, 211.7 KB (added by robc, 16 years ago)
Line 
1 CreateDWordField (CMDL, TEMP, CMD4)
2 Add (TEMP, 0x04, TEMP)
3 Store (0x00030004, CMD4)
4 CreateDWordField (CMDL, TEMP, CMD5)
5 Add (TEMP, 0x04, TEMP)
6 Store (0x00040001, CMD5)
7 CreateDWordField (CMDL, TEMP, CMD6)
8 Add (TEMP, 0x04, TEMP)
9 Store (0x00040002, CMD6)
10 Subtract (TEMP, 0x04, TEMP)
11 Divide (TEMP, 0x04, , TEMP)
12 Store (TEMP, CMDC)
13 Return (CMDL)
14 }
15
16 Method (R301, 0, NotSerialized)
17 {
18 Store (DerefOf (Index (QLST, 0x00)), Local0)
19 CreateDWordField (OBUF, 0x00, TMP1)
20 CreateWordField (OBUF, 0x04, TMP2)
21 Store (Local0, TMP2)
22 Store (0x00, TMP1)
23 Return (0x00)
24 }
25
26 Method (R302, 1, NotSerialized)
27 {
28 Name (CIDX, 0x00)
29 CreateWordField (Arg0, 0x04, IIDX)
30 Store (0x01, CIDX)
31 Store (DerefOf (Index (DerefOf (Index (QLST, IIDX)), CIDX)),
32 Local0)
33 Increment (CIDX)
34 Store (0x20, Local1)
35 CreateField (OBUF, Local1, 0x0100, TMP1)
36 Store (Local0, TMP1)
37 Add (Local1, 0x0100, Local1)
38 Store (DerefOf (Index (DerefOf (Index (QLST, IIDX)), CIDX)),
39 Local0)
40 Increment (CIDX)
41 CreateField (OBUF, Local1, 0x08, TMP2)
42 Store (Local0, TMP2)
43 Add (Local1, 0x08, Local1)
44 Store (Local0, Local2)
45 Divide (Local1, 0x08, , Local5)
46 While (LGreater (Local2, 0x00))
47 {
48 Store (DerefOf (Index (DerefOf (Index (QLST, IIDX)), CIDX)),
49 Local0)
50 Store (0x05, Local4)
51 Store (0x00, Local6)
52 While (LGreater (Local4, 0x00))
53 {
54 If (LLess (Local6, SizeOf (Local0)))
55 {
56 Store (DerefOf (Index (Local0, Local6)), Index (OBUF, Local5))
57 }
58 Else
59 {
60 Store (0x00, Index (OBUF, Local5))
61 }
62
63 Increment (Local6)
64 Increment (Local5)
65 Decrement (Local4)
66 }
67
68 Add (Local1, 0x28, Local1)
69 Decrement (Local2)
70 Increment (CIDX)
71 }
72
73 Store (0x0378, Local1)
74 Store (DerefOf (Index (DerefOf (Index (QLST, IIDX)), CIDX)),
75 Local0)
76 Increment (CIDX)
77 CreateField (OBUF, Local1, 0x08, TMP3)
78 Store (Local0, TMP3)
79 Add (Local1, 0x08, Local1)
80 Store (Local0, Local2)
81 Divide (Local1, 0x08, , Local5)
82 While (LGreater (Local2, 0x00))
83 {
84 Store (DerefOf (Index (DerefOf (Index (QLST, IIDX)), CIDX)),
85 Local0)
86 Store (0x14, Local4)
87 Store (0x00, Local6)
88 While (LGreater (Local4, 0x00))
89 {
90 If (LLess (Local6, SizeOf (Local0)))
91 {
92 Store (DerefOf (Index (Local0, Local6)), Index (OBUF, Local5))
93 }
94 Else
95 {
96 Store (0x00, Index (OBUF, Local5))
97 }
98
99 Increment (Local6)
100 Increment (Local5)
101 Decrement (Local4)
102 }
103
104 Add (Local1, 0x80)
105 Decrement (Local2)
106 Increment (CIDX)
107 }
108
109 CreateDWordField (OBUF, 0x00, TMP4)
110 Store (0x00, TMP4)
111 Return (0x00)
112 }
113
114 Method (R303, 1, NotSerialized)
115 {
116 CreateWordField (Arg0, 0x04, IITM)
117 CreateDWordField (OBUF, 0x00, TMP1)
118 CreateWordField (OBUF, 0x04, TMP2)
119 Store (DerefOf (Index (DerefOf (Index (QLST, IITM)), 0x00)),
120 Local0)
121 Store (GCMS (Local0), Local1)
122 CreateDWordField (Local1, 0x00, TMP3)
123 CreateWordField (Local1, 0x04, TMP4)
124 Store (TMP3, TMP1)
125 Store (TMP4, TMP2)
126 Return (0x00)
127 }
128
129 Method (R304, 1, NotSerialized)
130 {
131 CreateWordField (Arg0, 0x04, IITM)
132 CreateWordField (Arg0, 0x06, CMSD)
133 CreateDWordField (OBUF, 0x00, TMP1)
134 Store (DerefOf (Index (DerefOf (Index (QLST, IITM)), 0x00)),
135 Local0)
136 Store (SCMS (Local0, CMSD), TMP1)
137 Return (0x00)
138 }
139
140 Name (VEND, Buffer (0x04)
141 {
142 "GBT"
143 })
144 Method (R401, 1, NotSerialized)
145 {
146 CreateField (OBUF, 0x20, 0x0200, TMP2)
147 Store (VEND, TMP2)
148 Return (0x00)
149 }
150
151 Name (WQBA, Buffer (0x0BBB)
152 {
153 /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00,
154 /* 0008 */ 0xAB, 0x0B, 0x00, 0x00, 0x20, 0x4A, 0x00, 0x00,
155 /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54,
156 /* 0018 */ 0x28, 0x5B, 0xA4, 0x00, 0x01, 0x06, 0x18, 0x42,
157 /* 0020 */ 0x10, 0x15, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01,
158 /* 0028 */ 0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E,
159 /* 0030 */ 0x84, 0x1C, 0x40, 0x48, 0x1C, 0x14, 0x4A, 0x08,
160 /* 0038 */ 0x84, 0xFA, 0x13, 0xC8, 0xAF, 0x00, 0x84, 0x0E,
161 /* 0040 */ 0x05, 0xC8, 0x14, 0x60, 0x50, 0x80, 0x53, 0x04,
162 /* 0048 */ 0x11, 0xF4, 0x2A, 0xC0, 0xA6, 0x00, 0x93, 0x02,
163 /* 0050 */ 0x2C, 0x0A, 0xD0, 0x2E, 0xC0, 0xB2, 0x00, 0xDD,
164 /* 0058 */ 0x02, 0xA4, 0xC3, 0x92, 0xAD, 0x08, 0x1C, 0x21,
165 /* 0060 */ 0x06, 0x1C, 0xA5, 0x13, 0x5B, 0xB8, 0x61, 0x83,
166 /* 0068 */ 0x17, 0x8A, 0xA2, 0x19, 0x44, 0x49, 0x50, 0xB9,
167 /* 0070 */ 0x00, 0xDF, 0x08, 0x02, 0x2F, 0x57, 0x80, 0xE4,
168 /* 0078 */ 0x09, 0x48, 0xB3, 0x00, 0xC3, 0x02, 0xAC, 0x0B,
169 /* 0080 */ 0x90, 0x3D, 0x04, 0x2A, 0x75, 0x08, 0x28, 0x39,
170 /* 0088 */ 0x43, 0x40, 0x0D, 0xA0, 0xD5, 0x09, 0x08, 0xBF,
171 /* 0090 */ 0xD2, 0x29, 0x21, 0x09, 0xC2, 0x19, 0xAB, 0x78,
172 /* 0098 */ 0x7C, 0xCD, 0xA2, 0xE9, 0x39, 0xC9, 0x39, 0x86,
173 /* 00A0 */ 0x1C, 0x8F, 0x0B, 0x3D, 0x08, 0x1E, 0x47, 0x03,
174 /* 00A8 */ 0x08, 0x93, 0x3F, 0x64, 0x05, 0x80, 0x41, 0x49,
175 /* 00B0 */ 0x18, 0x0B, 0x75, 0x31, 0x6A, 0xD4, 0x48, 0xD9,
176 /* 00B8 */ 0x80, 0x0C, 0x51, 0xDA, 0xA8, 0xD1, 0x03, 0x3A,
177 /* 00C0 */ 0xBF, 0x23, 0x39, 0xBB, 0xA3, 0x3B, 0x92, 0x04,
178 /* 00C8 */ 0x46, 0x3D, 0xA6, 0x63, 0x2C, 0x6C, 0x46, 0x42,
179 /* 00D0 */ 0x8D, 0xD1, 0x1C, 0x14, 0x09, 0x37, 0x68, 0xB4,
180 /* 00D8 */ 0x44, 0x58, 0x8D, 0x2B, 0xF6, 0x99, 0x59, 0xF8,
181 /* 00E0 */ 0xB0, 0x84, 0x71, 0x04, 0x07, 0x76, 0xB0, 0x16,
182 /* 00E8 */ 0x0D, 0x23, 0xB4, 0x82, 0xE0, 0x34, 0x88, 0xA3,
183 /* 00F0 */ 0x88, 0x12, 0x86, 0xE1, 0x19, 0x33, 0xD0, 0x51,
184 /* 00F8 */ 0x32, 0xA4, 0x30, 0x41, 0x4F, 0x20, 0xC8, 0xC9,
185 /* 0100 */ 0x33, 0x2C, 0x43, 0x9C, 0x01, 0xC7, 0x8A, 0x11,
186 /* 0108 */ 0x2A, 0x24, 0x66, 0x20, 0xC1, 0xFF, 0xFF, 0x27,
187 /* 0110 */ 0xD0, 0x35, 0x86, 0x3C, 0x03, 0x91, 0x7B, 0xC0,
188 /* 0118 */ 0x09, 0x04, 0x89, 0x1E, 0x25, 0xB8, 0x71, 0x8D,
189 /* 0120 */ 0xCA, 0xC6, 0x74, 0x36, 0xB8, 0x81, 0x99, 0x20,
190 /* 0128 */ 0xCE, 0xE1, 0x61, 0x64, 0x40, 0x68, 0x02, 0xF1,
191 /* 0130 */ 0x63, 0x87, 0x4F, 0x60, 0xF7, 0xC7, 0x01, 0x29,
192 /* 0138 */ 0x44, 0xD0, 0x85, 0xE0, 0x4C, 0x6B, 0x14, 0x60,
193 /* 0140 */ 0xED, 0xEC, 0x20, 0x5B, 0x10, 0x3A, 0x0B, 0xC4,
194 /* 0148 */ 0x6A, 0x0C, 0x45, 0x10, 0x11, 0x82, 0x46, 0x31,
195 /* 0150 */ 0x5E, 0x84, 0x50, 0x21, 0xA2, 0x44, 0x3D, 0xE7,
196 /* 0158 */ 0x20, 0xB5, 0x09, 0x50, 0x06, 0x22, 0xB4, 0x60,
197 /* 0160 */ 0x46, 0x60, 0xF6, 0x07, 0x41, 0x24, 0x58, 0x80,
198 /* 0168 */ 0xF8, 0x23, 0xB0, 0x84, 0x13, 0x81, 0x8C, 0x8C,
199 /* 0170 */ 0x86, 0x1E, 0x16, 0x7C, 0x12, 0x60, 0x07, 0x04,
200 /* 0178 */ 0xCF, 0xE7, 0xD4, 0x4C, 0xE0, 0xC0, 0x10, 0xE2,
201 /* 0180 */ 0x95, 0x00, 0x51, 0x47, 0x0B, 0x4A, 0x60, 0x29,
202 /* 0188 */ 0x47, 0x03, 0x62, 0x7B, 0x60, 0xBA, 0x07, 0x1C,
203 /* 0190 */ 0xE1, 0xB9, 0xFB, 0x72, 0x70, 0x6A, 0xFE, 0x69,
204 /* 0198 */ 0x78, 0x9A, 0x0F, 0x09, 0x98, 0x21, 0x7A, 0xAC,
205 /* 01A0 */ 0x07, 0x11, 0xF0, 0x10, 0xD9, 0x29, 0xC1, 0x80,
206 /* 01A8 */ 0x78, 0xEF, 0xD7, 0x02, 0x32, 0x82, 0x97, 0x04,
207 /* 01B0 */ 0x03, 0x7A, 0x12, 0x0F, 0x08, 0x60, 0x39, 0x68,
208 /* 01B8 */ 0x1C, 0xF8, 0x09, 0x55, 0x7C, 0x07, 0xA0, 0x47,
209 /* 01C0 */ 0x02, 0x36, 0xA3, 0xF8, 0x26, 0x28, 0xEB, 0xF8,
210 /* 01C8 */ 0x80, 0x9E, 0x73, 0xB4, 0x67, 0x87, 0x97, 0x85,
211 /* 01D0 */ 0x66, 0xAF, 0x18, 0x84, 0xE0, 0x35, 0xC0, 0x37,
212 /* 01D8 */ 0x05, 0x9F, 0x46, 0x2C, 0x69, 0x75, 0x72, 0xB2,
213 /* 01E0 */ 0x2A, 0x8F, 0x98, 0x82, 0x7B, 0x08, 0x5C, 0x04,
214 /* 01E8 */ 0x9C, 0x86, 0xEE, 0xF1, 0x82, 0x43, 0xC1, 0x78,
215 /* 01F0 */ 0xE9, 0xFF, 0x7F, 0xBC, 0xE0, 0x3E, 0x0F, 0x1C,
216 /* 01F8 */ 0x2F, 0x58, 0x4E, 0x09, 0x55, 0x5D, 0x36, 0x34,
217 /* 0200 */ 0x87, 0xF3, 0x6D, 0x1E, 0x9F, 0x1C, 0x2D, 0x3C,
218 /* 0208 */ 0x61, 0x36, 0x96, 0xA3, 0x62, 0xC7, 0x10, 0x36,
219 /* 0210 */ 0x3A, 0x3E, 0x0A, 0x0F, 0xF8, 0xB5, 0xA1, 0x58,
220 /* 0218 */ 0x10, 0x99, 0x80, 0xD0, 0x91, 0xE1, 0xC0, 0xC1,
221 /* 0220 */ 0xE2, 0xEC, 0x00, 0x21, 0x02, 0x0B, 0x1B, 0x39,
222 /* 0228 */ 0x7A, 0xC4, 0x1E, 0xD4, 0x3B, 0x8C, 0x31, 0x1E,
223 /* 0230 */ 0x08, 0x8C, 0x7A, 0x48, 0x07, 0x0F, 0x3E, 0x40,
224 /* 0238 */ 0x0F, 0x1E, 0x70, 0xFA, 0xFF, 0x27, 0xB0, 0xA0,
225 /* 0240 */ 0x21, 0x4B, 0xC4, 0xE0, 0xD1, 0xA7, 0x08, 0x0F,
226 /* 0248 */ 0xE7, 0xDD, 0x87, 0x1F, 0x44, 0x12, 0x38, 0x3C,
227 /* 0250 */ 0x84, 0x06, 0x0F, 0x9E, 0xB3, 0x8F, 0x07, 0x0F,
228 /* 0258 */ 0x7E, 0x79, 0x83, 0x07, 0xD1, 0x14, 0x8E, 0x0D,
229 /* 0260 */ 0x77, 0xB0, 0xF1, 0xC0, 0xC1, 0x3D, 0x5C, 0xFC,
230 /* 0268 */ 0x90, 0x70, 0x67, 0x2D, 0x78, 0x3E, 0x27, 0x4F,
231 /* 0270 */ 0x06, 0xF0, 0x12, 0x84, 0x3B, 0x6C, 0x01, 0x97,
232 /* 0278 */ 0x11, 0x70, 0x99, 0xAB, 0xA4, 0x87, 0x2A, 0x0B,
233 /* 0280 */ 0x83, 0x41, 0x9D, 0xAB, 0xC0, 0xFB, 0xFF, 0x3F,
234 /* 0288 */ 0x57, 0x01, 0xF6, 0x2F, 0x53, 0xEF, 0x53, 0x3E,
235 /* 0290 */ 0x57, 0x81, 0x3B, 0xDA, 0x79, 0x40, 0xE7, 0x16,
236 /* 0298 */ 0x72, 0x9A, 0x41, 0x1F, 0x0A, 0x7C, 0x06, 0x78,
237 /* 02A0 */ 0x92, 0x01, 0xDB, 0xA1, 0x0A, 0x38, 0x9C, 0x64,
238 /* 02A8 */ 0xC0, 0x73, 0x2B, 0x7B, 0x92, 0x61, 0xFF, 0xFF,
239 /* 02B0 */ 0x93, 0x0C, 0x38, 0x0F, 0x62, 0x3E, 0xC9, 0x80,
240 /* 02B8 */ 0xEF, 0xE8, 0x85, 0x3B, 0x81, 0xC0, 0xF3, 0x38,
241 /* 02C0 */ 0x24, 0x21, 0x1F, 0x42, 0xF0, 0x43, 0x3A, 0xA6,
242 /* 02C8 */ 0x67, 0x10, 0x60, 0x28, 0xE4, 0x65, 0xE0, 0x03,
243 /* 02D0 */ 0x08, 0x8D, 0x7E, 0x06, 0x01, 0xB4, 0xFF, 0xFF,
244 /* 02D8 */ 0xCF, 0x20, 0xC0, 0xE5, 0xAC, 0xF0, 0x0C, 0x02,
245 /* 02E0 */ 0x76, 0xF1, 0xAF, 0x3A, 0x9D, 0x07, 0x1C, 0x1C,
246 /* 02E8 */ 0x42, 0x4E, 0x8E, 0x8A, 0xA8, 0xE1, 0x58, 0xEB,
247 /* 02F0 */ 0x41, 0x80, 0x8C, 0xE7, 0x45, 0xC0, 0x41, 0x4F,
248 /* 02F8 */ 0x8A, 0x40, 0xF7, 0xAC, 0x81, 0x3B, 0x1F, 0xC0,
249 /* 0300 */ 0x3D, 0x12, 0xF2, 0x73, 0x07, 0xF8, 0xA2, 0x43,
250 /* 0308 */ 0xE8, 0x98, 0x89, 0x3F, 0x51, 0x79, 0x88, 0x3E,
251 /* 0310 */ 0x1B, 0x98, 0xC0, 0xA3, 0x05, 0xD7, 0x39, 0x11,
252 /* 0318 */ 0x5C, 0xFF, 0xFF, 0xD1, 0xC2, 0x3B, 0x69, 0xE0,
253 /* 0320 */ 0x46, 0x0B, 0xF7, 0x00, 0xFC, 0x58, 0x80, 0x39,
254 /* 0328 */ 0x62, 0x82, 0xEB, 0xD0, 0x02, 0xA6, 0xEB, 0x02,
255 /* 0330 */ 0xE6, 0xD2, 0x82, 0x3F, 0xB4, 0x00, 0x1F, 0xA1,
256 /* 0338 */ 0x27, 0x16, 0x94, 0xB4, 0x43, 0x0B, 0xA0, 0xF9,
257 /* 0340 */ 0xFF, 0x7F, 0x68, 0x01, 0x6E, 0x73, 0x7D, 0x68,
258 /* 0348 */ 0x01, 0x7B, 0xB8, 0x73, 0x18, 0x95, 0x73, 0x0E,
259 /* 0350 */ 0x83, 0x76, 0x68, 0xF6, 0x39, 0x0C, 0xB8, 0x1E,
260 /* 0358 */ 0x26, 0xF0, 0x87, 0x4A, 0xB8, 0xB3, 0x88, 0x1F,
261 /* 0360 */ 0x27, 0xDA, 0x5B, 0x80, 0xCF, 0xA7, 0xC0, 0xED,
262 /* 0368 */ 0xB0, 0x86, 0x3B, 0x82, 0xC0, 0xBB, 0x14, 0x9C,
263 /* 0370 */ 0x96, 0xA7, 0xF6, 0xD4, 0x7F, 0x70, 0x8D, 0x5F,
264 /* 0378 */ 0x41, 0xC8, 0x3D, 0xC6, 0x77, 0x10, 0xF6, 0xFF,
265 /* 0380 */ 0x3F, 0x88, 0x01, 0x37, 0x19, 0x07, 0x31, 0x54,
266 /* 0388 */ 0xF0, 0x43, 0x08, 0x40, 0xA1, 0xCB, 0xC2, 0x43,
267 /* 0390 */ 0x08, 0xD8, 0xA5, 0x1F, 0xC4, 0x68, 0xEC, 0x83,
268 /* 0398 */ 0x18, 0xEA, 0xFF, 0x7F, 0x82, 0xC7, 0x9F, 0xC3,
269 /* 03A0 */ 0x00, 0xA7, 0x67, 0x38, 0xB8, 0x51, 0x8F, 0x61,
270 /* 03A8 */ 0x80, 0xA2, 0xB3, 0x28, 0x70, 0x82, 0x78, 0x0E,
271 /* 03B0 */ 0x63, 0xFF, 0xFF, 0x73, 0x18, 0xF0, 0x14, 0xFC,
272 /* 03B8 */ 0x12, 0xF0, 0x81, 0x85, 0x4A, 0x84, 0x41, 0x9D,
273 /* 03C0 */ 0x59, 0x00, 0xDE, 0x1C, 0x90, 0x9F, 0x59, 0xC0,
274 /* 03C8 */ 0x1E, 0xF2, 0xAD, 0xA1, 0x1F, 0x81, 0xFF, 0xFF,
275 /* 03D0 */ 0x67, 0x16, 0xC0, 0xF5, 0x99, 0xDC, 0x63, 0xC5,
276 /* 03D8 */ 0x1D, 0x22, 0xD8, 0x48, 0x42, 0xBE, 0x0A, 0xBC,
277 /* 03E0 */ 0x15, 0x98, 0xC0, 0x91, 0x0F, 0x2D, 0x40, 0xF7,
278 /* 03E8 */ 0x6C, 0x82, 0x1B, 0x2D, 0xDC, 0xE3, 0xC8, 0x39,
279 /* 03F0 */ 0x9E, 0xD0, 0xBB, 0xF9, 0xEB, 0x03, 0x3B, 0x4D,
280 /* 03F8 */ 0xB0, 0x21, 0x83, 0x57, 0xDE, 0x21, 0x10, 0xF5,
281 /* 0400 */ 0xFF, 0x1F, 0xB2, 0x0F, 0x24, 0x9E, 0xC2, 0xCB,
282 /* 0408 */ 0x0C, 0x66, 0x26, 0x31, 0x0E, 0x24, 0xC2, 0xB1,
283 /* 0410 */ 0x78, 0x78, 0xE4, 0x28, 0x08, 0xAA, 0x33, 0x3F,
284 /* 0418 */ 0x19, 0x35, 0xE8, 0x67, 0xF7, 0x84, 0x0F, 0x9E,
285 /* 0420 */ 0xE9, 0xBE, 0xE1, 0x83, 0xE1, 0x30, 0x08, 0x73,
286 /* 0428 */ 0xCE, 0x1E, 0x3F, 0xF8, 0x8E, 0x3D, 0xB8, 0x73,
287 /* 0430 */ 0x10, 0xBC, 0xEB, 0x8A, 0x91, 0x4F, 0xE8, 0x25,
288 /* 0438 */ 0x00, 0x73, 0x6B, 0xC1, 0x9E, 0x05, 0x81, 0x93,
289 /* 0440 */ 0xAC, 0x83, 0x20, 0x4A, 0xC8, 0x59, 0x10, 0x54,
290 /* 0448 */ 0xFF, 0xFF, 0x83, 0x10, 0xC0, 0x04, 0x6F, 0xF7,
291 /* 0450 */ 0x20, 0x5D, 0x83, 0x7C, 0x1B, 0x78, 0x1A, 0x78,
292 /* 0458 */ 0xF8, 0x89, 0xF2, 0x20, 0xE4, 0x8B, 0xC4, 0x0B,
293 /* 0460 */ 0x41, 0x84, 0x28, 0xC7, 0x7B, 0x02, 0x11, 0x9E,
294 /* 0468 */ 0x86, 0x3C, 0xE1, 0x30, 0xE1, 0x4E, 0x36, 0xCA,
295 /* 0470 */ 0x4B, 0x43, 0x18, 0x43, 0xC7, 0x0A, 0x14, 0x39,
296 /* 0478 */ 0x7E, 0x08, 0x1F, 0x85, 0x7C, 0x10, 0x62, 0x51,
297 /* 0480 */ 0xCE, 0xB7, 0xF4, 0xFC, 0x61, 0x23, 0x67, 0x11,
298 /* 0488 */ 0xD4, 0x49, 0xC0, 0x87, 0x0E, 0x0F, 0xEA, 0x09,
299 /* 0490 */ 0x01, 0x13, 0x1A, 0x42, 0x47, 0x5C, 0xE0, 0x7A,
300 /* 0498 */ 0xDA, 0xC0, 0xFD, 0xFF, 0x8F, 0x42, 0xE0, 0x38,
301 /* 04A0 */ 0x80, 0xC0, 0x7B, 0xF0, 0xF8, 0xB4, 0x0E, 0x2E,
302 /* 04A8 */ 0x08, 0x9F, 0x3F, 0xE0, 0xFB, 0x44, 0x16, 0xEE,
303 /* 04B0 */ 0x5B, 0xC0, 0x0B, 0x0D, 0xEE, 0xEC, 0x01, 0x7C,
304 /* 04B8 */ 0xE4, 0x1E, 0x6B, 0x51, 0x02, 0x61, 0x50, 0x67,
305 /* 04C0 */ 0x0F, 0xC0, 0xF9, 0xFF, 0xFF, 0xEC, 0x01, 0xD6,
306 /* 04C8 */ 0x81, 0x3E, 0x7A, 0x1C, 0xE8, 0x31, 0x06, 0x89,
307 /* 04D0 */ 0x11, 0xC4, 0x77, 0x0E, 0x1F, 0x7C, 0xE2, 0xBC,
308 /* 04D8 */ 0x11, 0x3C, 0x7B, 0xF8, 0xC8, 0x71, 0x5C, 0x3E,
309 /* 04E0 */ 0x80, 0xF8, 0xEC, 0xE1, 0x2B, 0x88, 0xF1, 0xC2,
310 /* 04E8 */ 0xC4, 0x7C, 0x38, 0xF2, 0x35, 0x21, 0x5E, 0xE4,
311 /* 04F0 */ 0xB0, 0x61, 0x22, 0xFB, 0xEC, 0xC1, 0x22, 0x1E,
312 /* 04F8 */ 0x6B, 0xA9, 0x94, 0x83, 0x19, 0xFA, 0x4C, 0xE0,
313 /* 0500 */ 0x5B, 0xC2, 0x99, 0xBD, 0x71, 0x44, 0x38, 0xAE,
314 /* 0508 */ 0x93, 0x3B, 0x9F, 0x38, 0x1E, 0xD2, 0x49, 0xFB,
315 /* 0510 */ 0x6C, 0x06, 0xBE, 0xE3, 0x07, 0x70, 0x38, 0x9B,
316 /* 0518 */ 0x81, 0x67, 0x74, 0x70, 0x0F, 0x53, 0xE0, 0x93,
317 /* 0520 */ 0x75, 0x36, 0x43, 0x0F, 0xCB, 0xE7, 0x82, 0x57,
318 /* 0528 */ 0x07, 0x0F, 0x82, 0x9D, 0xCB, 0xC0, 0x75, 0xB8,
319 /* 0530 */ 0x83, 0xF3, 0xFF, 0x3F, 0x97, 0x01, 0xAF, 0x73,
320 /* 0538 */ 0xC7, 0x91, 0xB1, 0x53, 0x05, 0x47, 0x3C, 0xA8,
321 /* 0540 */ 0x33, 0x79, 0x77, 0x39, 0x6B, 0x1F, 0x3C, 0x02,
322 /* 0548 */ 0x9D, 0xE7, 0x29, 0xFB, 0x1C, 0x03, 0x73, 0x84,
323 /* 0550 */ 0x1E, 0x3B, 0xF8, 0x0E, 0x26, 0xF8, 0x83, 0x0C,
324 /* 0558 */ 0x1C, 0x98, 0x13, 0x38, 0xBA, 0x40, 0xA7, 0x10,
325 /* 0560 */ 0xE7, 0x14, 0x9E, 0x63, 0x80, 0x91, 0x1C, 0x4B,
326 /* 0568 */ 0x20, 0x2C, 0xC0, 0xB1, 0x40, 0xA2, 0x96, 0x49,
327 /* 0570 */ 0x61, 0x7C, 0x32, 0xF0, 0x39, 0x06, 0xAE, 0x24,
328 /* 0578 */ 0x38, 0xD4, 0xF8, 0x3C, 0xB2, 0x97, 0xBC, 0xE3,
329 /* 0580 */ 0x3C, 0x91, 0x37, 0x04, 0x8F, 0xFF, 0x81, 0x06,
330 /* 0588 */ 0xC6, 0xC0, 0x3D, 0xAD, 0x93, 0xF2, 0x4D, 0xEE,
331 /* 0590 */ 0xB1, 0xC4, 0x67, 0x43, 0x7E, 0x5C, 0x60, 0x68,
332 /* 0598 */ 0xFC, 0x74, 0x03, 0x86, 0xFF, 0xFF, 0xE9, 0x06,
333 /* 05A0 */ 0xCE, 0x9D, 0xC1, 0x47, 0x0D, 0xB0, 0x5C, 0x6D,
334 /* 05A8 */ 0x30, 0x58, 0xA1, 0x62, 0x34, 0x7A, 0xD7, 0x23,
335 /* 05B0 */ 0xA0, 0xC7, 0xD7, 0xD7, 0x45, 0x9A, 0x42, 0x45,
336 /* 05B8 */ 0x0C, 0xF1, 0x42, 0x60, 0x97, 0xC7, 0x71, 0xE4,
337 /* 05C0 */ 0x59, 0x17, 0x5C, 0xD8, 0xCF, 0xBA, 0x60, 0x0F,
338 /* 05C8 */ 0x75, 0x4E, 0xA2, 0x91, 0x46, 0x83, 0x3A, 0xC8,
339 /* 05D0 */ 0xF0, 0x03, 0xC1, 0x63, 0x90, 0x4F, 0x1E, 0x06,
340 /* 05D8 */ 0x39, 0xD1, 0xD3, 0x7A, 0x5C, 0x78, 0x1A, 0xF0,
341 /* 05E0 */ 0xB8, 0xD9, 0x35, 0xC1, 0x1F, 0x04, 0x1F, 0x0F,
342 /* 05E8 */ 0xF0, 0x97, 0xA0, 0x80, 0x27, 0xFA, 0xF0, 0x01,
343 /* 05F0 */ 0xEB, 0x10, 0x82, 0x3F, 0x61, 0xC0, 0x1F, 0x8F,
344 /* 05F8 */ 0x8F, 0x01, 0x3E, 0xD1, 0xFA, 0x48, 0x45, 0x06,
345 /* 0600 */ 0x81, 0x3A, 0xBC, 0xF1, 0x91, 0x9E, 0xD6, 0xDB,
346 /* 0608 */ 0x80, 0x0F, 0x09, 0x87, 0xC5, 0x0E, 0x1E, 0x3E,
347 /* 0610 */ 0xA3, 0x80, 0x63, 0x3C, 0xF0, 0x6F, 0x9F, 0x4F,
348 /* 0618 */ 0x07, 0xFF, 0xFF, 0x08, 0xAF, 0x0C, 0x9E, 0xAF,
349 /* 0620 */ 0x0F, 0x66, 0x60, 0xB9, 0x75, 0xF8, 0xD0, 0x10,
350 /* 0628 */ 0xEA, 0xA9, 0xC3, 0x33, 0x78, 0xBF, 0xF0, 0x09,
351 /* 0630 */ 0x04, 0x98, 0x04, 0x36, 0x34, 0x48, 0x26, 0x73,
352 /* 0638 */ 0x9D, 0xB2, 0x71, 0xDA, 0xA1, 0xC3, 0xB4, 0xC8,
353 /* 0640 */ 0x03, 0x82, 0x8E, 0x06, 0x3E, 0xD2, 0xF8, 0x80,
354 /* 0648 */ 0xCB, 0x0F, 0x49, 0x86, 0xB0, 0x30, 0x0A, 0x9D,
355 /* 0650 */ 0x7C, 0x3C, 0x1A, 0x0F, 0x8F, 0xC0, 0x51, 0x10,
356 /* 0658 */ 0x8F, 0xDC, 0x21, 0x21, 0x64, 0xE4, 0x10, 0x80,
357 /* 0660 */ 0x3E, 0x2C, 0x30, 0x88, 0x87, 0x2E, 0x13, 0xF8,
358 /* 0668 */ 0xD8, 0xE0, 0xF3, 0x1A, 0x9C, 0xE3, 0x91, 0x27,
359 /* 0670 */ 0xE3, 0x69, 0x78, 0xDC, 0xB8, 0x53, 0x07, 0xDC,
360 /* 0678 */ 0x71, 0xE0, 0x0F, 0x3A, 0xF8, 0x53, 0x20, 0x3F,
361 /* 0680 */ 0x27, 0x91, 0xF3, 0x1F, 0xA8, 0x04, 0x9E, 0x0B,
362 /* 0688 */ 0x40, 0x01, 0xE4, 0xAB, 0x80, 0x95, 0x1E, 0x07,
363 /* 0690 */ 0xE8, 0x14, 0x42, 0x84, 0x89, 0x66, 0x78, 0x4C,
364 /* 0698 */ 0xF0, 0xD3, 0x17, 0x1D, 0x8F, 0x87, 0xE5, 0xFF,
365 /* 06A0 */ 0xFF, 0x20, 0xF9, 0xF1, 0x85, 0x61, 0x3F, 0x9D,
366 /* 06A8 */ 0xF8, 0xD4, 0x76, 0x8C, 0xEF, 0x05, 0x8F, 0x5F,
367 /* 06B0 */ 0x18, 0x58, 0x0F, 0x9B, 0xC3, 0x1A, 0x2D, 0xEC,
368 /* 06B8 */ 0xD1, 0x3E, 0x3E, 0xF8, 0xEA, 0xE1, 0x89, 0xF9,
369 /* 06C0 */ 0x16, 0xE7, 0x43, 0x07, 0x58, 0x0E, 0x52, 0xC0,
370 /* 06C8 */ 0xE3, 0xFC, 0xC3, 0xE6, 0xF0, 0x02, 0xF1, 0x1C,
371 /* 06D0 */ 0xE6, 0x83, 0x07, 0x3B, 0xF1, 0xB1, 0x53, 0x1F,
372 /* 06D8 */ 0xD7, 0x75, 0x8E, 0x43, 0x9C, 0x21, 0xF8, 0x20,
373 /* 06E0 */ 0x1C, 0x67, 0x91, 0xF2, 0x38, 0x53, 0x72, 0x95,
374 /* 06E8 */ 0x7C, 0xE0, 0xA8, 0x1A, 0x45, 0xF0, 0xBE, 0x15,
375 /* 06F0 */ 0xB0, 0x08, 0xC7, 0x08, 0x94, 0x78, 0x0A, 0x49,
376 /* 06F8 */ 0x3F, 0x46, 0xA0, 0xC4, 0xC2, 0x51, 0x10, 0x1F,
377 /* 0700 */ 0x23, 0x7C, 0x90, 0xB0, 0x8D, 0x63, 0x04, 0x6A,
378 /* 0708 */ 0x8C, 0x3E, 0x0C, 0xF2, 0xA3, 0x00, 0x3F, 0x45,
379 /* 0710 */ 0xC0, 0x3F, 0xF1, 0xE0, 0xC6, 0x0A, 0x77, 0x70,
380 /* 0718 */ 0x6C, 0x85, 0x2F, 0x3D, 0x87, 0x76, 0x76, 0x0F,
381 /* 0720 */ 0x09, 0x51, 0xDE, 0x5F, 0x8D, 0x18, 0x21, 0x60,
382 /* 0728 */ 0xD8, 0x68, 0x1E, 0x23, 0xEE, 0xD8, 0xCE, 0x2E,
383 /* 0730 */ 0x45, 0x9E, 0x53, 0xAC, 0x47, 0x25, 0x7E, 0xA4,
384 /* 0738 */ 0x80, 0xF7, 0xFF, 0x27, 0xF0, 0x31, 0x0F, 0x77,
385 /* 0740 */ 0xA4, 0x80, 0x33, 0x93, 0xF3, 0xC0, 0xA8, 0x1B,
386 /* 0748 */ 0x8B, 0xE0, 0x8D, 0xF6, 0x92, 0x8D, 0x3D, 0x58,
387 /* 0750 */ 0x00, 0x8F, 0x13, 0xA3, 0x0F, 0x16, 0xE0, 0x3A,
388 /* 0758 */ 0x13, 0xF8, 0x60, 0x01, 0x5C, 0xCF, 0x07, 0x3E,
389 /* 0760 */ 0x1D, 0x80, 0xF5, 0xF2, 0xC3, 0xEF, 0x07, 0x30,
390 /* 0768 */ 0x4E, 0x18, 0x30, 0xCE, 0x07, 0x98, 0x1B, 0x86,
391 /* 0770 */ 0xC3, 0x2C, 0x59, 0x27, 0x0C, 0x7E, 0x5C, 0x73,
392 /* 0778 */ 0xA4, 0xD5, 0x6A, 0x20, 0xEC, 0x12, 0x86, 0x23,
393 /* 0780 */ 0x18, 0x04, 0x4C, 0x27, 0x0B, 0x8F, 0xDA, 0x11,
394 /* 0788 */ 0x28, 0x24, 0xED, 0x80, 0x81, 0x12, 0x73, 0xC0,
395 /* 0790 */ 0xA0, 0x20, 0x06, 0x74, 0x52, 0x08, 0x9D, 0x45,
396 /* 0798 */ 0xFD, 0xFF, 0x3F, 0x60, 0xF0, 0x83, 0x9D, 0x4F,
397 /* 07A0 */ 0x0D, 0xEC, 0x72, 0xEB, 0xEB, 0x85, 0xE7, 0xE9,
398 /* 07A8 */ 0x29, 0x73, 0x3C, 0x1F, 0x43, 0x0C, 0xEB, 0x8B,
399 /* 07B0 */ 0x09, 0x78, 0x6E, 0x14, 0xEC, 0x34, 0x8B, 0xB9,
400 /* 07B8 */ 0xB8, 0xB1, 0xB3, 0x1D, 0x3B, 0x15, 0x18, 0xE5,
401 /* 07C0 */ 0x70, 0xDF, 0xC0, 0xAC, 0xE6, 0xAA, 0x80, 0x9A,
402 /* 07C8 */ 0x11, 0x86, 0xC0, 0xE3, 0xF5, 0x81, 0x11, 0x4C,
403 /* 07D0 */ 0xFA, 0x2E, 0x14, 0x20, 0x47, 0xE7, 0x32, 0x47,
404 /* 07D8 */ 0x8F, 0x3A, 0x47, 0xF9, 0x24, 0xC5, 0x47, 0xEF,
405 /* 07E0 */ 0xA3, 0xB9, 0x4F, 0x2B, 0x70, 0xCF, 0x52, 0x3E,
406 /* 07E8 */ 0x42, 0x01, 0xDF, 0x81, 0xF9, 0x52, 0x80, 0x3B,
407 /* 07F0 */ 0xA0, 0x80, 0xE1, 0xFA, 0x80, 0xFD, 0xFF, 0xC3,
408 /* 07F8 */ 0xBC, 0xA2, 0xE0, 0xCF, 0x28, 0xC0, 0x24, 0xF0,
409 /* 0800 */ 0x59, 0x0A, 0x74, 0x90, 0x3E, 0xA3, 0x00, 0xD7,
410 /* 0808 */ 0xA1, 0xE2, 0xCE, 0x28, 0xE0, 0x38, 0x10, 0x1E,
411 /* 0810 */ 0x3D, 0x3F, 0x47, 0xB1, 0x38, 0xC7, 0x12, 0x74,
412 /* 0818 */ 0xA8, 0x97, 0x83, 0x6E, 0x9B, 0xEC, 0x58, 0x82,
413 /* 0820 */ 0x8D, 0x72, 0x2C, 0x41, 0x85, 0xA0, 0xD0, 0x09,
414 /* 0828 */ 0xCA, 0x27, 0x09, 0x7E, 0xC6, 0xE3, 0x20, 0x06,
415 /* 0830 */ 0x74, 0xF6, 0x93, 0x04, 0x5A, 0xC5, 0x49, 0x02,
416 /* 0838 */ 0x19, 0xF6, 0x5C, 0x02, 0x84, 0xFE, 0xFF, 0xE7,
417 /* 0840 */ 0x12, 0xF0, 0x9E, 0x13, 0x9F, 0x26, 0xC0, 0x35,
418 /* 0848 */ 0x6B, 0xFC, 0x69, 0x02, 0x7F, 0x3E, 0x01, 0x16,
419 /* 0850 */ 0x47, 0x46, 0xC0, 0xD9, 0x41, 0x90, 0x1F, 0x19,
420 /* 0858 */ 0x81, 0xEF, 0xB9, 0x84, 0xFF, 0xFF, 0xCF, 0x25,
421 /* 0860 */ 0xE0, 0x19, 0xB6, 0xCF, 0x25, 0x80, 0x93, 0x9B,
422 /* 0868 */ 0x34, 0x3F, 0x97, 0xC0, 0x1D, 0xBA, 0xE3, 0x9C,
423 /* 0870 */ 0xBE, 0x10, 0x57, 0x58, 0xDF, 0x33, 0xE2, 0x27,
424 /* 0878 */ 0x18, 0xE3, 0x58, 0x82, 0x0A, 0x70, 0xF8, 0x02,
425 /* 0880 */ 0xB4, 0xFF, 0xFF, 0x4F, 0x23, 0xE0, 0x3F, 0x17,
426 /* 0888 */ 0x7B, 0xF4, 0xFC, 0x40, 0xE2, 0x43, 0x06, 0x19,
427 /* 0890 */ 0x3D, 0x8D, 0x7C, 0xF8, 0x82, 0x1E, 0xF1, 0x30,
428 /* 0898 */ 0x02, 0xB4, 0x07, 0xFA, 0xF0, 0x05, 0xC6, 0xDB,
429 /* 08A0 */ 0x03, 0x3F, 0x6E, 0x02, 0xAF, 0xD8, 0x87, 0x12,
430 /* 08A8 */ 0xD0, 0xC1, 0xF2, 0x43, 0x09, 0xF8, 0xFF, 0xFF,
431 /* 08B0 */ 0x87, 0x12, 0xF0, 0x8C, 0x1E, 0x77, 0xF6, 0x02,
432 /* 08B8 */ 0xC7, 0x55, 0xC2, 0x83, 0x37, 0xE0, 0x31, 0x3D,
433 /* 08C0 */ 0x16, 0x18, 0x90, 0x9D, 0x4B, 0x98, 0xEC, 0x73,
434 /* 08C8 */ 0x09, 0xFA, 0x3C, 0x62, 0xAB, 0xB7, 0x63, 0x72,
435 /* 08D0 */ 0x52, 0xC7, 0x08, 0x3F, 0x97, 0xA0, 0x24, 0x9F,
436 /* 08D8 */ 0x4B, 0x00, 0xDA, 0x1C, 0xBA, 0xC0, 0xF1, 0xFF,
437 /* 08E0 */ 0x3F, 0x74, 0x01, 0x3C, 0xB8, 0x06, 0xFA, 0x40,
438 /* 08E8 */ 0x02, 0xAE, 0x7B, 0x82, 0x0F, 0x24, 0xC0, 0xF5,
439 /* 08F0 */ 0x28, 0x00, 0x9E, 0x23, 0x08, 0xFE, 0xC8, 0xEC,
440 /* 08F8 */ 0x03, 0x3F, 0xEE, 0xA4, 0xEF, 0x53, 0x75, 0x5C,
441 /* 0900 */ 0xE3, 0x1F, 0xF1, 0x11, 0xFC, 0xFF, 0x1B, 0x3F,
442 /* 0908 */ 0x7D, 0x91, 0x7B, 0x81, 0x8F, 0x25, 0x3A, 0xF0,
443 /* 0910 */ 0xA3, 0x04, 0x53, 0x48, 0xEE, 0x01, 0x02, 0x25,
444 /* 0918 */ 0x10, 0x8E, 0x82, 0xF8, 0x00, 0xE1, 0xF0, 0xE7,
445 /* 0920 */ 0x24, 0xE8, 0x57, 0x4B, 0x7E, 0x7E, 0xC0, 0x5F,
446 /* 0928 */ 0x47, 0xD8, 0x28, 0xD9, 0x71, 0x1E, 0x37, 0x4A,
447 /* 0930 */ 0xB8, 0x60, 0xAF, 0x0F, 0x86, 0xB8, 0xC3, 0x13,
448 /* 0938 */ 0xE1, 0x67, 0x5B, 0xCC, 0x31, 0x1F, 0xEE, 0x51,
449 /* 0940 */ 0xE1, 0x51, 0x09, 0x5C, 0xB3, 0x86, 0x75, 0x58,
450 /* 0948 */ 0x02, 0x3C, 0x78, 0x38, 0x4C, 0x00, 0xAD, 0xFF,
451 /* 0950 */ 0xFF, 0x61, 0x09, 0xFC, 0xB3, 0xE7, 0x83, 0x38,
452 /* 0958 */ 0x11, 0x0F, 0x1F, 0x03, 0x74, 0x2C, 0x6F, 0x07,
453 /* 0960 */ 0xEC, 0xD8, 0xAB, 0xC3, 0x12, 0x6A, 0x0C, 0x3E,
454 /* 0968 */ 0xFA, 0xFA, 0xE8, 0xC4, 0x20, 0x1F, 0x0F, 0x31,
455 /* 0970 */ 0xC7, 0x16, 0x76, 0xC2, 0x07, 0xF8, 0xF6, 0xFF,
456 /* 0978 */ 0x3F, 0xE1, 0x03, 0xD6, 0xCE, 0x24, 0xBE, 0x3F,
457 /* 0980 */ 0x60, 0xAF, 0x2D, 0xF8, 0xA3, 0x09, 0xF0, 0x06,
458 /* 0988 */ 0xF7, 0xD1, 0x04, 0x70, 0xF5, 0xFF, 0x3F, 0x9A,
459 /* 0990 */ 0xE0, 0x84, 0x9E, 0x9D, 0x50, 0x67, 0x03, 0x1F,
460 /* 0998 */ 0x98, 0x6C, 0x14, 0x95, 0x40, 0xBF, 0x69, 0xBC,
461 /* 09A0 */ 0x9F, 0x07, 0x31, 0xF4, 0x49, 0xF0, 0x53, 0x13,
462 /* 09A8 */ 0x06, 0xC2, 0x47, 0x13, 0x9F, 0x24, 0x7C, 0x9C,
463 /* 09B0 */ 0xE0, 0x52, 0xE0, 0x28, 0x88, 0x8F, 0x13, 0x8E,
464 /* 09B8 */ 0x79, 0x36, 0x41, 0x9F, 0x0A, 0x7C, 0x3F, 0x38,
465 /* 09C0 */ 0x09, 0x6C, 0xA8, 0xF3, 0x04, 0x50, 0x19, 0x07,
466 /* 09C8 */ 0xFE, 0xE8, 0x04, 0x57, 0xD8, 0xC9, 0x04, 0x64,
467 /* 09D0 */ 0x27, 0x72, 0x60, 0x6E, 0xE2, 0x1C, 0x01, 0x94,
468 /* 09D8 */ 0xFE, 0xFF, 0x27, 0x72, 0xE0, 0x70, 0x5A, 0xE5,
469 /* 09E0 */ 0xA7, 0x01, 0x7C, 0xA0, 0xA3, 0x2A, 0x3A, 0xD6,
470 /* 09E8 */ 0x93, 0x41, 0x23, 0x7E, 0x07, 0x08, 0x77, 0xEA,
471 /* 09F0 */ 0xE7, 0xF9, 0x40, 0xC0, 0x8E, 0xE5, 0x3E, 0x2C,
472 /* 09F8 */ 0xF1, 0xF3, 0x92, 0x4F, 0x11, 0x3E, 0x41, 0x70,
473 /* 0A00 */ 0x49, 0x27, 0x08, 0x0A, 0x62, 0x40, 0xE7, 0x3D,
474 /* 0A08 */ 0x5D, 0x7A, 0x10, 0xF4, 0x7C, 0xC3, 0x8F, 0xC5,
475 /* 0A10 */ 0xBE, 0xB6, 0x1C, 0xC5, 0x23, 0x51, 0x82, 0xF9,
476 /* 0A18 */ 0x0E, 0x01, 0xF4, 0xB6, 0x04, 0x4F, 0xDE, 0x6D,
477 /* 0A20 */ 0x09, 0x44, 0x18, 0x77, 0x72, 0x16, 0x0C, 0xE1,
478 /* 0A28 */ 0x28, 0x7D, 0x80, 0x80, 0x31, 0xC0, 0xC7, 0x84,
479 /* 0A30 */ 0x62, 0xDF, 0x37, 0xF4, 0xBE, 0x04, 0xF3, 0x8A,
480 /* 0A38 */ 0x09, 0xAE, 0xF3, 0x12, 0x30, 0x9E, 0x89, 0xFF,
481 /* 0A40 */ 0xFF, 0x3E, 0xCF, 0x21, 0xE4, 0x02, 0xC0, 0x4F,
482 /* 0A48 */ 0xE5, 0x60, 0x39, 0x36, 0x80, 0x67, 0x1C, 0xEC,
483 /* 0A50 */ 0x0A, 0x80, 0x3F, 0x32, 0xC1, 0x3E, 0x35, 0xE2,
484 /* 0A58 */ 0x8E, 0x4C, 0x60, 0x98, 0x08, 0x3B, 0xE7, 0x1C,
485 /* 0A60 */ 0x08, 0xF6, 0x60, 0x02, 0xBC, 0x55, 0x1C, 0x4C,
486 /* 0A68 */ 0x00, 0x2D, 0xC3, 0x0D, 0x72, 0x3E, 0x8F, 0xE4,
487 /* 0A70 */ 0xC6, 0x79, 0xC3, 0xF3, 0x89, 0x84, 0x9D, 0xC4,
488 /* 0A78 */ 0xD9, 0xFF, 0xFF, 0x60, 0xC2, 0x25, 0x41, 0x48,
489 /* 0A80 */ 0xFE, 0x61, 0x09, 0x89, 0x8D, 0x9D, 0xFE, 0x39,
490 /* 0A88 */ 0xBC, 0xB9, 0x32, 0x82, 0x62, 0x8F, 0x4B, 0xA8,
491 /* 0A90 */ 0xC3, 0x84, 0x45, 0x9E, 0x26, 0x50, 0xA7, 0x69,
492 /* 0A98 */ 0x9F, 0x90, 0xC9, 0x69, 0x82, 0x46, 0x3E, 0x4D,
493 /* 0AA0 */ 0xA0, 0x87, 0xE6, 0x89, 0x9D, 0x06, 0x6E, 0xDC,
494 /* 0AA8 */ 0xA7, 0xC1, 0x6F, 0x87, 0xFC, 0xC0, 0x04, 0x7C,
495 /* 0AB0 */ 0x0F, 0x0F, 0xF8, 0xD3, 0x04, 0xEC, 0xF3, 0x0D,
496 /* 0AB8 */ 0x1B, 0x74, 0xC8, 0x77, 0x87, 0x17, 0x59, 0x1F,
497 /* 0AC0 */ 0x26, 0x80, 0xF9, 0xC8, 0x7D, 0x98, 0x00, 0xFF,
498 /* 0AC8 */ 0xFF, 0xFF, 0xD0, 0x04, 0x5C, 0x15, 0xDA, 0xF4,
499 /* 0AD0 */ 0xA9, 0xD1, 0xA8, 0x55, 0x83, 0x32, 0x35, 0xCA,
500 /* 0AD8 */ 0x34, 0xA8, 0xD5, 0xA7, 0x52, 0x63, 0xC6, 0xA4,
501 /* 0AE0 */ 0x9D, 0x54, 0xBD, 0x54, 0x8D, 0xD5, 0x91, 0x9E,
502 /* 0AE8 */ 0x0B, 0x02, 0x71, 0xD4, 0x05, 0x0B, 0xC4, 0xD1,
503 /* 0AF0 */ 0x9F, 0x40, 0x02, 0xB1, 0xB8, 0x57, 0x88, 0x40,
504 /* 0AF8 */ 0x2C, 0xF5, 0x05, 0x21, 0x10, 0xCB, 0xD4, 0x01,
505 /* 0B00 */ 0xC2, 0x82, 0xBC, 0xEF, 0x05, 0xE2, 0x60, 0x52,
506 /* 0B08 */ 0x06, 0x40, 0xAD, 0x80, 0xB0, 0x78, 0xCB, 0x12,
507 /* 0B10 */ 0x88, 0x23, 0x9A, 0x39, 0x01, 0x50, 0x37, 0x20,
508 /* 0B18 */ 0x4C, 0xA0, 0x1E, 0x10, 0x26, 0xDC, 0x10, 0x08,
509 /* 0B20 */ 0x8B, 0xA3, 0x08, 0x84, 0x09, 0xB6, 0x04, 0xC2,
510 /* 0B28 */ 0xE2, 0x82, 0x50, 0xC1, 0x9E, 0x8E, 0xFD, 0x4C,
511 /* 0B30 */ 0x3E, 0x88, 0x80, 0x1C, 0xDA, 0x14, 0x10, 0x93,
512 /* 0B38 */ 0xA0, 0x0A, 0x88, 0x25, 0x78, 0x0C, 0x08, 0xC8,
513 /* 0B40 */ 0x71, 0x40, 0x04, 0xE4, 0x50, 0xB6, 0x80, 0x58,
514 /* 0B48 */ 0x44, 0x10, 0x01, 0x59, 0xCF, 0x1B, 0x4E, 0x40,
515 /* 0B50 */ 0x16, 0x07, 0x22, 0x20, 0x8B, 0x36, 0x06, 0xC4,
516 /* 0B58 */ 0x22, 0x80, 0x08, 0xC8, 0xC9, 0x5E, 0x70, 0x81,
517 /* 0B60 */ 0x48, 0x4C, 0x10, 0x01, 0x39, 0xEC, 0x8A, 0x05,
518 /* 0B68 */ 0xE4, 0xE8, 0x20, 0x02, 0xB2, 0x4E, 0x6F, 0x40,
519 /* 0B70 */ 0x4C, 0x34, 0x88, 0x80, 0x2C, 0xFE, 0xB1, 0x21,
520 /* 0B78 */ 0x20, 0x47, 0x01, 0x11, 0x90, 0x03, 0x3E, 0x28,
521 /* 0B80 */ 0x02, 0x91, 0xB8, 0x20, 0x02, 0xB2, 0x46, 0x7B,
522 /* 0B88 */ 0x40, 0x4C, 0x30, 0x88, 0x80, 0x2C, 0xFB, 0x07,
523 /* 0B90 */ 0x25, 0x20, 0x87, 0x00, 0xD1, 0x00, 0xC9, 0xEB,
524 /* 0B98 */ 0x40, 0x03, 0x24, 0xBF, 0x89, 0x40, 0x44, 0xE2,
525 /* 0BA0 */ 0xAB, 0x22, 0x10, 0xD1, 0x0B, 0x22, 0x20, 0xFF,
526 /* 0BA8 */ 0xFF, 0xA5, 0xFF, 0x38, 0x04, 0xE4, 0x20, 0x20,
527 /* 0BB0 */ 0x02, 0x26, 0x1A, 0x81, 0xE9, 0x0B, 0x21, 0x10,
528 /* 0BB8 */ 0xF9, 0xFF, 0x03
529 })
530 Name (_HID, EisaId ("PNP0C14"))
531 Name (_UID, 0x00)
532 Name (_WDG, Buffer (0x28)
533 {
534 /* 0000 */ 0x6A, 0x0F, 0xBC, 0xAB, 0xA1, 0x8E, 0xD1, 0x11,
535 /* 0008 */ 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, 0x00, 0x00,
536 /* 0010 */ 0x41, 0x41, 0x01, 0x02, 0x21, 0x12, 0x90, 0x05,
537 /* 0018 */ 0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0,
538 /* 0020 */ 0xC9, 0x06, 0x29, 0x10, 0x42, 0x41, 0x01, 0x00
539 })
540 Method (WMAA, 3, NotSerialized)
541 {
542 If (LEqual (Arg0, 0x00))
543 {
544 If (LOr (LOr (LNotEqual (Arg1, 0x01), LNotEqual (Arg1,
545 0x02)), LNotEqual (Arg1, 0x06)))
546 {
547 CreateDWordField (Arg2, 0x00, WIID)
548 }
549
550 If (LEqual (Arg1, 0x01))
551 {
552 Return (AM01 ())
553 }
554 Else
555 {
556 If (LEqual (Arg1, 0x02))
557 {
558 Return (AM02 ())
559 }
560 Else
561 {
562 If (LEqual (Arg1, 0x03))
563 {
564 Return (AM03 (WIID))
565 }
566 Else
567 {
568 If (LEqual (Arg1, 0x04))
569 {
570 CreateDWordField (Arg2, 0x04, IVAL)
571 Return (AM04 (WIID, IVAL))
572 }
573 Else
574 {
575 If (LEqual (Arg1, 0x05))
576 {
577 Return (AM05 (WIID))
578 }
579 Else
580 {
581 If (LEqual (Arg1, 0x06))
582 {
583 Return (AM06 ())
584 }
585 Else
586 {
587 If (LEqual (Arg1, 0x07))
588 {
589 AM07 (Arg2)
590 }
591 Else
592 {
593 If (LEqual (Arg1, 0x08))
594 {
595 AM08 (WIID)
596 }
597 Else
598 {
599 If (LEqual (Arg1, 0x09))
600 {
601 Return (AM09 ())
602 }
603 Else
604 {
605 If (LEqual (Arg1, 0x0A))
606 {
607 Return (AM10 (Arg2))
608 }
609 Else
610 {
611 If (LEqual (Arg1, 0x0B))
612 {
613 Return (AM11 ())
614 }
615 }
616 }
617 }
618 }
619 }
620 }
621 }
622 }
623 }
624 }
625 }
626 }
627 }
628 }
629
630 OperationRegion (EXTM, SystemMemory, 0x000FF830, 0x12)
631 Field (EXTM, WordAcc, NoLock, Preserve)
632 {
633 ROM1, 16,
634 RMS1, 16,
635 ROM2, 16,
636 RMS2, 16,
637 ROM3, 16,
638 RMS3, 16,
639 AMEM, 32,
640 AINF, 8
641 }
642
643 OperationRegion (AWYM, SystemMemory, 0x000FFFEA, 0x01)
644 Field (AWYM, ByteAcc, NoLock, Preserve)
645 {
646 , 1,
647 , 1,
648 AWMD, 1,
649 , 1,
650 , 1,
651 , 1,
652 , 1,
653 Offset (0x01)
654 }
655
656 OperationRegion (\P01, SystemIO, 0x4001, 0x01)
657 Field (\P01, ByteAcc, NoLock, Preserve)
658 {
659 P1, 8
660 }
661
662 OperationRegion (\PR20, SystemIO, 0x4020, 0x04)
663 Field (\PR20, DWordAcc, NoLock, Preserve)
664 {
665 P20, 32
666 }
667
668 Name (OSFX, 0x01)
669 Name (OSFL, 0x01)
670 Method (STRC, 2, NotSerialized)
671 {
672 If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1)))
673 {
674 Return (0x00)
675 }
676
677 Add (SizeOf (Arg0), 0x01, Local0)
678 Name (BUF0, Buffer (Local0) {})
679 Name (BUF1, Buffer (Local0) {})
680 Store (Arg0, BUF0)
681 Store (Arg1, BUF1)
682 While (Local0)
683 {
684 Decrement (Local0)
685 If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (
686 BUF1, Local0))))
687 {
688 Return (Zero)
689 }
690 }
691
692 Return (One)
693 }
694
695 OperationRegion (INFO, SystemMemory, 0x000FF840, 0x01)
696 Field (INFO, ByteAcc, NoLock, Preserve)
697 {
698 KBDI, 1,
699 RTCW, 1,
700 PS2F, 1,
701 IRFL, 2,
702 DISE, 1,
703 SSHU, 1
704 }
705
706 Scope (\)
707 {
708 Name (PICF, 0x00)
709 Method (_PIC, 1, NotSerialized)
710 {
711 Store (Arg0, PICF)
712 If (Arg0)
713 {
714 \_SB.PCI0.LPC0.DSPI ()
715 }
716 }
717 }
718
719 Method (\_PTS, 1, NotSerialized)
720 {
721 Or (Arg0, 0xF0, Local0)
722 Store (Local0, DBG1)
723 If (LEqual (Arg0, 0x01)) {}
724 If (LEqual (Arg0, 0x05)) {}
725 SPTS (Arg0)
726 }
727
728 Method (\_WAK, 1, NotSerialized)
729 {
730 Store (0xFF, DBG1)
731 If (LEqual (Arg0, 0x04))
732 {
733 If (LEqual (OSFL, 0x02))
734 {
735 Store (0x57, SMIP)
736 }
737
738 If (LEqual (OSFL, 0x01))
739 {
740 Store (0x56, SMIP)
741 }
742
743 If (LEqual (OSFL, 0x00))
744 {
745 If (LEqual (OSFX, 0x04))
746 {
747 Store (0x59, SMIP)
748 }
749 Else
750 {
751 If (LEqual (OSFX, 0x03))
752 {
753 Store (0x59, SMIP)
754 }
755 Else
756 {
757 Store (0x58, SMIP)
758 }
759 }
760 }
761
762 If (LEqual (OSFX, 0x03))
763 {
764 Store (0x59, SMIP)
765 }
766
767 If (LEqual (OSFX, 0x04))
768 {
769 Store (0x59, SMIP)
770 }
771 }
772
773 SWAK (Arg0)
774 If (LEqual (OSFL, 0x01))
775 {
776 Notify (\_SB.PWRB, 0x02)
777 }
778 Else
779 {
780 If (LEqual (Arg0, 0x01))
781 {
782 And (P1, 0x04, Local0)
783 If (LEqual (Local0, 0x00))
784 {
785 Notify (\_SB.PWRB, 0x02)
786 }
787 }
788
789 If (LEqual (Arg0, 0x03))
790 {
791 If (LEqual (RTCW, Zero))
792 {
793 Notify (\_SB.PWRB, 0x02)
794 }
795 }
796 }
797
798 If (LEqual (Arg0, 0x04))
799 {
800 Notify (\_SB.PWRB, 0x02)
801 }
802 }
803
804 Scope (\_SI)
805 {
806 }
807
808 Scope (\_GPE)
809 {
810 Method (_L04, 0, NotSerialized)
811 {
812 Notify (\_SB.PCI0.P2P, 0x02)
813 }
814
815 Method (_L18, 0, NotSerialized)
816 {
817 Notify (\_SB.PCI0.PCE2, 0x02)
818 Notify (\_SB.PCI0.PCE3, 0x02)
819 Notify (\_SB.PCI0.PCE4, 0x02)
820 Notify (\_SB.PCI0.PCE5, 0x02)
821 Notify (\_SB.PCI0.PCE6, 0x02)
822 Notify (\_SB.PCI0.PCE7, 0x02)
823 Notify (\_SB.PCI0.PCE9, 0x02)
824 Notify (\_SB.PCI0.PCEA, 0x02)
825 Notify (\_SB.PCI0.PCEB, 0x02)
826 Notify (\_SB.PCI0.PCEC, 0x02)
827 }
828
829 Method (_L03, 0, NotSerialized)
830 {
831 Notify (\_SB.PCI0.PS2K, 0x02)
832 Notify (\_SB.PCI0.PS2M, 0x02)
833 }
834
835 Method (_L0B, 0, NotSerialized)
836 {
837 Notify (\_SB.PCI0.USB0, 0x02)
838 Notify (\_SB.PCI0.USB1, 0x02)
839 Notify (\_SB.PCI0.USB2, 0x02)
840 Notify (\_SB.PCI0.USB3, 0x02)
841 Notify (\_SB.PCI0.USB4, 0x02)
842 Notify (\_SB.PCI0.USB5, 0x02)
843 Notify (\_SB.PCI0.USB6, 0x02)
844 }
845
846 Method (_L1B, 0, NotSerialized)
847 {
848 Notify (\_SB.PCI0.SBAZ, 0x02)
849 }
850 }
851
852 Scope (\_SB)
853 {
854 Device (\AWY)
855 {
856 Name (_HID, "AWY0001")
857 Method (_STA, 0, NotSerialized)
858 {
859 If (AWMD)
860 {
861 Return (0x0F)
862 }
863
864 Return (0x00)
865 }
866 }
867
868 Method (SMOD, 1, NotSerialized)
869 {
870 }
871
872 Device (PWRB)
873 {
874 Name (_HID, EisaId ("PNP0C0C"))
875 Method (_STA, 0, NotSerialized)
876 {
877 Return (0x0B)
878 }
879 }
880
881 Device (PCI0)
882 {
883 Name (_HID, EisaId ("PNP0A03"))
884 Name (_ADR, 0x00)
885 Scope (\)
886 {
887 OperationRegion (\SCPP, SystemIO, 0xB0, 0x01)
888 Field (\SCPP, ByteAcc, NoLock, Preserve)
889 {
890 SMIP, 8
891 }
892 }
893
894 Method (\_SB.PCI0._INI, 0, NotSerialized)
895 {
896 If (STRC (\_OS, "Microsoft Windows")) {}
897 Else
898 {
899 If (STRC (\_OS, "Microsoft Windows NT"))
900 {
901 If (CondRefOf (\_OSI, Local0))
902 {
903 If (\_OSI ("Windows 2001"))
904 {
905 Store (0x59, SMIP)
906 Store (0x00, OSFL)
907 Store (0x03, OSFX)
908 }
909 }
910 Else
911 {
912 Store (0x58, SMIP)
913 Store (0x00, OSFL)
914 }
915 }
916 Else
917 {
918 Store (0x02, OSFL)
919 }
920 }
921
922 Store (OSFX, OSTY)
923 If (LEqual (OSFX, 0x00))
924 {
925 Store (0x04, OSTY)
926 }
927
928 If (LEqual (OSFX, 0x03))
929 {
930 Store (0x05, OSTY)
931 }
932
933 If (LEqual (OSFX, 0x04))
934 {
935 Store (0x06, OSTY)
936 }
937 }
938
939 Device (SYSR)
940 {
941 Name (_HID, EisaId ("PNP0C02"))
942 Name (_UID, 0x01)
943 Name (_CRS, ResourceTemplate ()
944 {
945 IO (Decode16,
946 0x0010, // Range Minimum
947 0x0010, // Range Maximum
948 0x01, // Alignment
949 0x10, // Length
950 )
951 IO (Decode16,
952 0x0022, // Range Minimum
953 0x0022, // Range Maximum
954 0x01, // Alignment
955 0x1E, // Length
956 )
957 IO (Decode16,
958 0x0044, // Range Minimum
959 0x0044, // Range Maximum
960 0x01, // Alignment
961 0x1C, // Length
962 )
963 IO (Decode16,
964 0x0062, // Range Minimum
965 0x0062, // Range Maximum
966 0x01, // Alignment
967 0x02, // Length
968 )
969 IO (Decode16,
970 0x0065, // Range Minimum
971 0x0065, // Range Maximum
972 0x01, // Alignment
973 0x0B, // Length
974 )
975 IO (Decode16,
976 0x0074, // Range Minimum
977 0x0074, // Range Maximum
978 0x01, // Alignment
979 0x0C, // Length
980 )
981 IO (Decode16,
982 0x0091, // Range Minimum
983 0x0091, // Range Maximum
984 0x01, // Alignment
985 0x03, // Length
986 )
987 IO (Decode16,
988 0x00A2, // Range Minimum
989 0x00A2, // Range Maximum
990 0x01, // Alignment
991 0x1E, // Length
992 )
993 IO (Decode16,
994 0x00E0, // Range Minimum
995 0x00E0, // Range Maximum
996 0x01, // Alignment
997 0x10, // Length
998 )
999 IO (Decode16,
1000 0x04D0, // Range Minimum
1001 0x04D0, // Range Maximum
1002 0x01, // Alignment
1003 0x02, // Length
1004 )
1005 IO (Decode16,
1006 0x0220, // Range Minimum
1007 0x0220, // Range Maximum
1008 0x01, // Alignment
1009 0x06, // Length
1010 )
1011 IO (Decode16,
1012 0x0290, // Range Minimum
1013 0x0290, // Range Maximum
1014 0x01, // Alignment
1015 0x05, // Length
1016 )
1017 })
1018 }
1019
1020 OperationRegion (BAR1, PCI_Config, 0x14, 0x04)
1021 Field (BAR1, ByteAcc, NoLock, Preserve)
1022 {
1023 MMIO, 32
1024 }
1025
1026 Method (SS3D, 0, NotSerialized)
1027 {
1028 If (LEqual (OSFL, 0x02))
1029 {
1030 Return (0x02)
1031 }
1032 Else
1033 {
1034 Return (0x03)
1035 }
1036 }
1037
1038 Method (_STA, 0, NotSerialized)
1039 {
1040 Return (0x0F)
1041 }
1042
1043 Method (_CRS, 0, NotSerialized)
1044 {
1045 Name (BUF0, ResourceTemplate ()
1046 {
1047 WordBusNumber (ResourceConsumer, MinNotFixed, MaxNotFixed, PosDecode,
1048 0x0000, // Granularity
1049 0x0000, // Range Minimum
1050 0x00FF, // Range Maximum
1051 0x0000, // Translation Offset
1052 0x0100, // Length
1053 ,, )
1054 IO (Decode16,
1055 0x0CF8, // Range Minimum
1056 0x0CF8, // Range Maximum
1057 0x01, // Alignment
1058 0x08, // Length
1059 )
1060 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
1061 0x0000, // Granularity
1062 0x0000, // Range Minimum
1063 0x0CF7, // Range Maximum
1064 0x0000, // Translation Offset
1065 0x0CF8, // Length
1066 ,, , TypeStatic)
1067 WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
1068 0x0000, // Granularity
1069 0x0D00, // Range Minimum
1070 0xFFFF, // Range Maximum
1071 0x0000, // Translation Offset
1072 0xF300, // Length
1073 ,, , TypeStatic)
1074 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1075 0x00000000, // Granularity
1076 0x000A0000, // Range Minimum
1077 0x000BFFFF, // Range Maximum
1078 0x00000000, // Translation Offset
1079 0x00020000, // Length
1080 ,, , AddressRangeMemory, TypeStatic)
1081 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1082 0x00000000, // Granularity
1083 0x000C0000, // Range Minimum
1084 0x000DFFFF, // Range Maximum
1085 0x00000000, // Translation Offset
1086 0x00020000, // Length
1087 ,, , AddressRangeMemory, TypeStatic)
1088 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
1089 0x00000000, // Granularity
1090 0x00100000, // Range Minimum
1091 0xFEBFFFFF, // Range Maximum
1092 0x00000000, // Translation Offset
1093 0xFFF00000, // Length
1094 ,, _Y00, AddressRangeMemory, TypeStatic)
1095 })
1096 CreateDWordField (BUF0, \_SB.PCI0._CRS._Y00._MIN, TCMM)
1097 CreateDWordField (BUF0, \_SB.PCI0._CRS._Y00._LEN, TOMM)
1098 Add (AMEM, 0x00010000, TCMM)
1099 Subtract (0xFEC00000, TCMM, TOMM)
1100 Add (TCMM, SMEM, TCMM)
1101 Add (TCMM, 0x00100000, TCMM)
1102 Add (TCMM, 0x00010000, TCMM)
1103 Return (BUF0)
1104 }
1105
1106 Name (PICM, Package (0x38)
1107 {
1108 Package (0x04)
1109 {
1110 0x0002FFFF,
1111 0x00,
1112 \_SB.PCI0.LPC0.LNKC,
1113 0x00
1114 },
1115
1116 Package (0x04)
1117 {
1118 0x0002FFFF,
1119 0x01,
1120 \_SB.PCI0.LPC0.LNKD,
1121 0x00
1122 },
1123
1124 Package (0x04)
1125 {
1126 0x0002FFFF,
1127 0x02,
1128 \_SB.PCI0.LPC0.LNKA,
1129 0x00
1130 },
1131
1132 Package (0x04)
1133 {
1134 0x0002FFFF,
1135 0x03,
1136 \_SB.PCI0.LPC0.LNKB,
1137 0x00
1138 },
1139
1140 Package (0x04)
1141 {
1142 0x0003FFFF,
1143 0x00,
1144 \_SB.PCI0.LPC0.LNKD,
1145 0x00
1146 },
1147
1148 Package (0x04)
1149 {
1150 0x0003FFFF,
1151 0x01,
1152 \_SB.PCI0.LPC0.LNKA,
1153 0x00
1154 },
1155
1156 Package (0x04)
1157 {
1158 0x0003FFFF,
1159 0x02,
1160 \_SB.PCI0.LPC0.LNKB,
1161 0x00
1162 },
1163
1164 Package (0x04)
1165 {
1166 0x0003FFFF,
1167 0x03,
1168 \_SB.PCI0.LPC0.LNKC,
1169 0x00
1170 },
1171
1172 Package (0x04)
1173 {
1174 0x0004FFFF,
1175 0x00,
1176 \_SB.PCI0.LPC0.LNKA,
1177 0x00
1178 },
1179
1180 Package (0x04)
1181 {
1182 0x0004FFFF,
1183 0x01,
1184 \_SB.PCI0.LPC0.LNKB,
1185 0x00
1186 },
1187
1188 Package (0x04)
1189 {
1190 0x0004FFFF,
1191 0x02,
1192 \_SB.PCI0.LPC0.LNKC,
1193 0x00
1194 },
1195
1196 Package (0x04)
1197 {
1198 0x0004FFFF,
1199 0x03,
1200 \_SB.PCI0.LPC0.LNKD,
1201 0x00
1202 },
1203
1204 Package (0x04)
1205 {
1206 0x0005FFFF,
1207 0x00,
1208 \_SB.PCI0.LPC0.LNKB,
1209 0x00
1210 },
1211
1212 Package (0x04)
1213 {
1214 0x0005FFFF,
1215 0x01,
1216 \_SB.PCI0.LPC0.LNKC,
1217 0x00
1218 },
1219
1220 Package (0x04)
1221 {
1222 0x0005FFFF,
1223 0x02,
1224 \_SB.PCI0.LPC0.LNKD,
1225 0x00
1226 },
1227
1228 Package (0x04)
1229 {
1230 0x0005FFFF,
1231 0x03,
1232 \_SB.PCI0.LPC0.LNKA,
1233 0x00
1234 },
1235
1236 Package (0x04)
1237 {
1238 0x0006FFFF,
1239 0x00,
1240 \_SB.PCI0.LPC0.LNKC,
1241 0x00
1242 },
1243
1244 Package (0x04)
1245 {
1246 0x0006FFFF,
1247 0x01,
1248 \_SB.PCI0.LPC0.LNKD,
1249 0x00
1250 },
1251
1252 Package (0x04)
1253 {
1254 0x0006FFFF,
1255 0x02,
1256 \_SB.PCI0.LPC0.LNKA,
1257 0x00
1258 },
1259
1260 Package (0x04)
1261 {
1262 0x0006FFFF,
1263 0x03,
1264 \_SB.PCI0.LPC0.LNKB,
1265 0x00
1266 },
1267
1268 Package (0x04)
1269 {
1270 0x0007FFFF,
1271 0x00,
1272 \_SB.PCI0.LPC0.LNKD,
1273 0x00
1274 },
1275
1276 Package (0x04)
1277 {
1278 0x0007FFFF,
1279 0x01,
1280 \_SB.PCI0.LPC0.LNKA,
1281 0x00
1282 },
1283
1284 Package (0x04)
1285 {
1286 0x0007FFFF,
1287 0x02,
1288 \_SB.PCI0.LPC0.LNKB,
1289 0x00
1290 },
1291
1292 Package (0x04)
1293 {
1294 0x0007FFFF,
1295 0x03,
1296 \_SB.PCI0.LPC0.LNKC,
1297 0x00
1298 },
1299
1300 Package (0x04)
1301 {
1302 0x0009FFFF,
1303 0x00,
1304 \_SB.PCI0.LPC0.LNKB,
1305 0x00
1306 },
1307
1308 Package (0x04)
1309 {
1310 0x0009FFFF,
1311 0x01,
1312 \_SB.PCI0.LPC0.LNKC,
1313 0x00
1314 },
1315
1316 Package (0x04)
1317 {
1318 0x0009FFFF,
1319 0x02,
1320 \_SB.PCI0.LPC0.LNKD,
1321 0x00
1322 },
1323
1324 Package (0x04)
1325 {
1326 0x0009FFFF,
1327 0x03,
1328 \_SB.PCI0.LPC0.LNKA,
1329 0x00
1330 },
1331
1332 Package (0x04)
1333 {
1334 0x000AFFFF,
1335 0x00,
1336 \_SB.PCI0.LPC0.LNKC,
1337 0x00
1338 },
1339
1340 Package (0x04)
1341 {
1342 0x000AFFFF,
1343 0x01,
1344 \_SB.PCI0.LPC0.LNKD,
1345 0x00
1346 },
1347
1348 Package (0x04)
1349 {
1350 0x000AFFFF,
1351 0x02,
1352 \_SB.PCI0.LPC0.LNKA,
1353 0x00
1354 },
1355
1356 Package (0x04)
1357 {
1358 0x000AFFFF,
1359 0x03,
1360 \_SB.PCI0.LPC0.LNKB,
1361 0x00
1362 },
1363
1364 Package (0x04)
1365 {
1366 0x000BFFFF,
1367 0x00,
1368 \_SB.PCI0.LPC0.LNKD,
1369 0x00
1370 },
1371
1372 Package (0x04)
1373 {
1374 0x000BFFFF,
1375 0x01,
1376 \_SB.PCI0.LPC0.LNKA,
1377 0x00
1378 },
1379
1380 Package (0x04)
1381 {
1382 0x000BFFFF,
1383 0x02,
1384 \_SB.PCI0.LPC0.LNKB,
1385 0x00
1386 },
1387
1388 Package (0x04)
1389 {
1390 0x000BFFFF,
1391 0x03,
1392 \_SB.PCI0.LPC0.LNKC,
1393 0x00
1394 },
1395
1396 Package (0x04)
1397 {
1398 0x000CFFFF,
1399 0x00,
1400 \_SB.PCI0.LPC0.LNKA,
1401 0x00
1402 },
1403
1404 Package (0x04)
1405 {
1406 0x000CFFFF,
1407 0x01,
1408 \_SB.PCI0.LPC0.LNKB,
1409 0x00
1410 },
1411
1412 Package (0x04)
1413 {
1414 0x000CFFFF,
1415 0x02,
1416 \_SB.PCI0.LPC0.LNKC,
1417 0x00
1418 },
1419
1420 Package (0x04)
1421 {
1422 0x000CFFFF,
1423 0x03,
1424 \_SB.PCI0.LPC0.LNKD,
1425 0x00
1426 },
1427
1428 Package (0x04)
1429 {
1430 0x0014FFFF,
1431 0x00,
1432 \_SB.PCI0.LPC0.LNKA,
1433 0x00
1434 },
1435
1436 Package (0x04)
1437 {
1438 0x0014FFFF,
1439 0x01,
1440 \_SB.PCI0.LPC0.LNKB,
1441 0x00
1442 },
1443
1444 Package (0x04)
1445 {
1446 0x0014FFFF,
1447 0x02,
1448 \_SB.PCI0.LPC0.LNKC,
1449 0x00
1450 },
1451
1452 Package (0x04)
1453 {
1454 0x0014FFFF,
1455 0x03,
1456 \_SB.PCI0.LPC0.LNKD,
1457 0x00
1458 },
1459
1460 Package (0x04)
1461 {
1462 0x0012FFFF,
1463 0x00,
1464 \_SB.PCI0.LPC0.LNKA,
1465 0x00
1466 },
1467
1468 Package (0x04)
1469 {
1470 0x0012FFFF,
1471 0x01,
1472 \_SB.PCI0.LPC0.LNKB,
1473 0x00
1474 },
1475
1476 Package (0x04)
1477 {
1478 0x0012FFFF,
1479 0x02,
1480 \_SB.PCI0.LPC0.LNKC,
1481 0x00
1482 },
1483
1484 Package (0x04)
1485 {
1486 0x0012FFFF,
1487 0x03,
1488 \_SB.PCI0.LPC0.LNKD,
1489 0x00
1490 },
1491
1492 Package (0x04)
1493 {
1494 0x0013FFFF,
1495 0x00,
1496 \_SB.PCI0.LPC0.LNKC,
1497 0x00
1498 },
1499
1500 Package (0x04)
1501 {
1502 0x0013FFFF,
1503 0x01,
1504 \_SB.PCI0.LPC0.LNKD,
1505 0x00
1506 },
1507
1508 Package (0x04)
1509 {
1510 0x0013FFFF,
1511 0x02,
1512 \_SB.PCI0.LPC0.LNKA,
1513 0x00
1514 },
1515
1516 Package (0x04)
1517 {
1518 0x0013FFFF,
1519 0x03,
1520 \_SB.PCI0.LPC0.LNKB,
1521 0x00
1522 },
1523
1524 Package (0x04)
1525 {
1526 0x0011FFFF,
1527 0x00,
1528 \_SB.PCI0.LPC0.LNK0,
1529 0x00
1530 },
1531
1532 Package (0x04)
1533 {
1534 0x0011FFFF,
1535 0x01,
1536 \_SB.PCI0.LPC0.LNK0,
1537 0x00
1538 },
1539
1540 Package (0x04)
1541 {
1542 0x0011FFFF,
1543 0x02,
1544 \_SB.PCI0.LPC0.LNK0,
1545 0x00
1546 },
1547
1548 Package (0x04)
1549 {
1550 0x0011FFFF,
1551 0x03,
1552 \_SB.PCI0.LPC0.LNK0,
1553 0x00
1554 }
1555 })
1556 Name (APIC, Package (0x35)
1557 {
1558 Package (0x04)
1559 {
1560 0x0002FFFF,
1561 0x00,
1562 0x00,
1563 0x12
1564 },
1565
1566 Package (0x04)
1567 {
1568 0x0002FFFF,
1569 0x01,
1570 0x00,
1571 0x13
1572 },
1573
1574 Package (0x04)
1575 {
1576 0x0002FFFF,
1577 0x02,
1578 0x00,
1579 0x10
1580 },
1581
1582 Package (0x04)
1583 {
1584 0x0002FFFF,
1585 0x03,
1586 0x00,
1587 0x11
1588 },
1589
1590 Package (0x04)
1591 {
1592 0x0003FFFF,
1593 0x00,
1594 0x00,
1595 0x13
1596 },
1597
1598 Package (0x04)
1599 {
1600 0x0003FFFF,
1601 0x01,
1602 0x00,
1603 0x10
1604 },
1605
1606 Package (0x04)
1607 {
1608 0x0003FFFF,
1609 0x02,
1610 0x00,
1611 0x11
1612 },
1613
1614 Package (0x04)
1615 {
1616 0x0003FFFF,
1617 0x03,
1618 0x00,
1619 0x12
1620 },
1621
1622 Package (0x04)
1623 {
1624 0x0004FFFF,
1625 0x00,
1626 0x00,
1627 0x10
1628 },
1629
1630 Package (0x04)
1631 {
1632 0x0004FFFF,
1633 0x01,
1634 0x00,
1635 0x11
1636 },
1637
1638 Package (0x04)
1639 {
1640 0x0004FFFF,
1641 0x02,
1642 0x00,
1643 0x12
1644 },
1645
1646 Package (0x04)
1647 {
1648 0x0004FFFF,
1649 0x03,
1650 0x00,
1651 0x13
1652 },
1653
1654 Package (0x04)
1655 {
1656 0x0005FFFF,
1657 0x00,
1658 0x00,
1659 0x11
1660 },
1661
1662 Package (0x04)
1663 {
1664 0x0005FFFF,
1665 0x01,
1666 0x00,
1667 0x12
1668 },
1669
1670 Package (0x04)
1671 {
1672 0x0005FFFF,
1673 0x02,
1674 0x00,
1675 0x13
1676 },
1677
1678 Package (0x04)
1679 {
1680 0x0005FFFF,
1681 0x03,
1682 0x00,
1683 0x10
1684 },
1685
1686 Package (0x04)
1687 {
1688 0x0006FFFF,
1689 0x00,
1690 0x00,
1691 0x12
1692 },
1693
1694 Package (0x04)
1695 {
1696 0x0006FFFF,
1697 0x01,
1698 0x00,
1699 0x13
1700 },
1701
1702 Package (0x04)
1703 {
1704 0x0006FFFF,
1705 0x02,
1706 0x00,
1707 0x10
1708 },
1709
1710 Package (0x04)
1711 {
1712 0x0006FFFF,
1713 0x03,
1714 0x00,
1715 0x11
1716 },
1717
1718 Package (0x04)
1719 {
1720 0x0007FFFF,
1721 0x00,
1722 0x00,
1723 0x13
1724 },
1725
1726 Package (0x04)
1727 {
1728 0x0007FFFF,
1729 0x01,
1730 0x00,
1731 0x10
1732 },
1733
1734 Package (0x04)
1735 {
1736 0x0007FFFF,
1737 0x02,
1738 0x00,
1739 0x11
1740 },
1741
1742 Package (0x04)
1743 {
1744 0x0007FFFF,
1745 0x03,
1746 0x00,
1747 0x12
1748 },
1749
1750 Package (0x04)
1751 {
1752 0x0009FFFF,
1753 0x00,
1754 0x00,
1755 0x11
1756 },
1757
1758 Package (0x04)
1759 {
1760 0x0009FFFF,
1761 0x01,
1762 0x00,
1763 0x12
1764 },
1765
1766 Package (0x04)
1767 {
1768 0x0009FFFF,
1769 0x02,
1770 0x00,
1771 0x13
1772 },
1773
1774 Package (0x04)
1775 {
1776 0x0009FFFF,
1777 0x03,
1778 0x00,
1779 0x10
1780 },
1781
1782 Package (0x04)
1783 {
1784 0x000AFFFF,
1785 0x00,
1786 0x00,
1787 0x12
1788 },
1789
1790 Package (0x04)
1791 {
1792 0x000AFFFF,
1793 0x01,
1794 0x00,
1795 0x13
1796 },
1797
1798 Package (0x04)
1799 {
1800 0x000AFFFF,
1801 0x02,
1802 0x00,
1803 0x10
1804 },
1805
1806 Package (0x04)
1807 {
1808 0x000AFFFF,
1809 0x03,
1810 0x00,
1811 0x11
1812 },
1813
1814 Package (0x04)
1815 {
1816 0x000BFFFF,
1817 0x00,
1818 0x00,
1819 0x13
1820 },
1821
1822 Package (0x04)
1823 {
1824 0x000BFFFF,
1825 0x01,
1826 0x00,
1827 0x10
1828 },
1829
1830 Package (0x04)
1831 {
1832 0x000BFFFF,
1833 0x02,
1834 0x00,
1835 0x11
1836 },
1837
1838 Package (0x04)
1839 {
1840 0x000BFFFF,
1841 0x03,
1842 0x00,
1843 0x12
1844 },
1845
1846 Package (0x04)
1847 {
1848 0x000CFFFF,
1849 0x00,
1850 0x00,
1851 0x10
1852 },
1853
1854 Package (0x04)
1855 {
1856 0x000CFFFF,
1857 0x01,
1858 0x00,
1859 0x11
1860 },
1861
1862 Package (0x04)
1863 {
1864 0x000CFFFF,
1865 0x02,
1866 0x00,
1867 0x12
1868 },
1869
1870 Package (0x04)
1871 {
1872 0x000CFFFF,
1873 0x03,
1874 0x00,
1875 0x13
1876 },
1877
1878 Package (0x04)
1879 {
1880 0x0014FFFF,
1881 0x00,
1882 0x00,
1883 0x10
1884 },
1885
1886 Package (0x04)
1887 {
1888 0x0014FFFF,
1889 0x01,
1890 0x00,
1891 0x11
1892 },
1893
1894 Package (0x04)
1895 {
1896 0x0014FFFF,
1897 0x02,
1898 0x00,
1899 0x12
1900 },
1901
1902 Package (0x04)
1903 {
1904 0x0014FFFF,
1905 0x03,
1906 0x00,
1907 0x13
1908 },
1909
1910 Package (0x04)
1911 {
1912 0x0012FFFF,
1913 0x00,
1914 0x00,
1915 0x10
1916 },
1917
1918 Package (0x04)
1919 {
1920 0x0012FFFF,
1921 0x01,
1922 0x00,
1923 0x11
1924 },
1925
1926 Package (0x04)
1927 {
1928 0x0012FFFF,
1929 0x02,
1930 0x00,
1931 0x12
1932 },
1933
1934 Package (0x04)
1935 {
1936 0x0012FFFF,
1937 0x03,
1938 0x00,
1939 0x13
1940 },
1941
1942 Package (0x04)
1943 {
1944 0x0013FFFF,
1945 0x00,
1946 0x00,
1947 0x12
1948 },
1949
1950 Package (0x04)
1951 {
1952 0x0013FFFF,
1953 0x01,
1954 0x00,
1955 0x13
1956 },
1957
1958 Package (0x04)
1959 {
1960 0x0013FFFF,
1961 0x02,
1962 0x00,
1963 0x10
1964 },
1965
1966 Package (0x04)
1967 {
1968 0x0013FFFF,
1969 0x03,
1970 0x00,
1971 0x11
1972 },
1973
1974 Package (0x04)
1975 {
1976 0x0011FFFF,
1977 0x00,
1978 0x00,
1979 0x16
1980 }
1981 })
1982 Method (_PRT, 0, NotSerialized)
1983 {
1984 If (LNot (PICF))
1985 {
1986 Return (PICM)
1987 }
1988 Else
1989 {
1990 Return (APIC)
1991 }
1992 }
1993
1994 Device (SMB0)
1995 {
1996 Name (_ADR, 0x00140000)
1997 OperationRegion (\_SB.PCI0.SMB0.HETT, PCI_Config, 0x64, 0x02)
1998 Scope (\)
1999 {
2000 Field (\_SB.PCI0.SMB0.HETT, ByteAcc, NoLock, Preserve)
2001 {
2002 HP0, 8,
2003 , 2,
2004 HPTF, 1,
2005 Offset (0x02)
2006 }
2007 }
2008 }
2009
2010 Device (USB0)
2011 {
2012 Name (_ADR, 0x00120000)
2013 Name (_PRW, Package (0x02)
2014 {
2015 0x0B,
2016 0x03
2017 })
2018 Method (SS3D, 0, NotSerialized)
2019 {
2020 If (LEqual (OSFL, 0x02))
2021 {
2022 Return (0x02)
2023 }
2024 Else
2025 {
2026 Return (0x03)
2027 }
2028 }
2029 }
2030
2031 Device (USB1)
2032 {
2033 Name (_ADR, 0x00120001)
2034 Name (_PRW, Package (0x02)
2035 {
2036 0x0B,
2037 0x03
2038 })
2039 Method (SS3D, 0, NotSerialized)
2040 {
2041 If (LEqual (OSFL, 0x02))
2042 {
2043 Return (0x02)
2044 }
2045 Else
2046 {
2047 Return (0x03)
2048 }
2049 }
2050 }
2051
2052 Device (USB2)
2053 {
2054 Name (_ADR, 0x00120002)
2055 Name (_PRW, Package (0x02)
2056 {
2057 0x0B,
2058 0x03
2059 })
2060 Method (SS3D, 0, NotSerialized)
2061 {
2062 If (LEqual (OSFL, 0x02))
2063 {
2064 Return (0x02)
2065 }
2066 Else
2067 {
2068 Return (0x03)
2069 }
2070 }
2071 }
2072
2073 Device (USB3)
2074 {
2075 Name (_ADR, 0x00130000)
2076 Name (_PRW, Package (0x02)
2077 {
2078 0x0B,
2079 0x03
2080 })
2081 Method (SS3D, 0, NotSerialized)
2082 {
2083 If (LEqual (OSFL, 0x02))
2084 {
2085 Return (0x02)
2086 }
2087 Else
2088 {
2089 Return (0x03)
2090 }
2091 }
2092 }
2093
2094 Device (USB4)
2095 {
2096 Name (_ADR, 0x00130001)
2097 Name (_PRW, Package (0x02)
2098 {
2099 0x0B,
2100 0x03
2101 })
2102 Method (SS3D, 0, NotSerialized)
2103 {
2104 If (LEqual (OSFL, 0x02))
2105 {
2106 Return (0x02)
2107 }
2108 Else
2109 {
2110 Return (0x03)
2111 }
2112 }
2113 }
2114
2115 Device (USB5)
2116 {
2117 Name (_ADR, 0x00130002)
2118 Name (_PRW, Package (0x02)
2119 {
2120 0x0B,
2121 0x03
2122 })
2123 Method (SS3D, 0, NotSerialized)
2124 {
2125 If (LEqual (OSFL, 0x02))
2126 {
2127 Return (0x02)
2128 }
2129 Else
2130 {
2131 Return (0x03)
2132 }
2133 }
2134 }
2135
2136 Device (USB6)
2137 {
2138 Name (_ADR, 0x00140005)
2139 Name (_PRW, Package (0x02)
2140 {
2141 0x0B,
2142 0x03
2143 })
2144 Method (SS3D, 0, NotSerialized)
2145 {
2146 If (LEqual (OSFL, 0x02))
2147 {
2148 Return (0x02)
2149 }
2150 Else
2151 {
2152 Return (0x03)
2153 }
2154 }
2155 }
2156
2157 Device (SBAZ)
2158 {
2159 Name (_ADR, 0x00140002)
2160 OperationRegion (PCI, PCI_Config, 0x00, 0x0100)
2161 Field (PCI, AnyAcc, NoLock, Preserve)
2162 {
2163 Offset (0x42),
2164 DNSP, 1,
2165 DNSO, 1,
2166 ENSR, 1
2167 }
2168
2169 Name (_PRW, Package (0x02)
2170 {
2171 0x1B,
2172 0x04
2173 })
2174 }
2175
2176 Device (SATA)
2177 {
2178 Name (_ADR, 0x00110000)
2179 OperationRegion (SACS, PCI_Config, 0x00, 0x40)
2180 Field (SACS, AnyAcc, NoLock, Preserve)
2181 {
2182 Offset (0x24),
2183 STB5, 32
2184 }
2185
2186 Name (SPTM, Buffer (0x14)
2187 {
2188 /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
2189 /* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
2190 /* 0010 */ 0x1F, 0x00, 0x00, 0x00
2191 })
2192 Device (PRID)
2193 {
2194 Name (_ADR, 0x00)
2195 Method (_GTM, 0, NotSerialized)
2196 {
2197 Return (SPTM)
2198 }
2199
2200 Method (_STM, 3, NotSerialized)
2201 {
2202 }
2203
2204 Name (PRIS, 0x00)
2205 Method (_PS0, 0, NotSerialized)
2206 {
2207 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2208 Field (BAR, AnyAcc, NoLock, Preserve)
2209 {
2210 Offset (0x120),
2211 , 7,
2212 PMBY, 1,
2213 Offset (0x128),
2214 PMS0, 4,
2215 Offset (0x129),
2216 PMS1, 4,
2217 Offset (0x220),
2218 , 7,
2219 PSBY, 1,
2220 Offset (0x228),
2221 PSS0, 4,
2222 Offset (0x229),
2223 PSS1, 4,
2224 Offset (0x2A0),
2225 , 7
2226 }
2227
2228 If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04)))
2229 {
2230 If (PMS1)
2231 {
2232 Store (0x32, Local0)
2233 While (LAnd (LEqual (PMBY, 0x01), Local0))
2234 {
2235 Sleep (0xFA)
2236 Decrement (Local0)
2237 }
2238 }
2239
2240 If (PSS1)
2241 {
2242 Store (0x32, Local0)
2243 While (LAnd (LEqual (PSBY, 0x01), Local0))
2244 {
2245 Sleep (0xFA)
2246 Decrement (Local0)
2247 }
2248 }
2249 }
2250
2251 Store (0x00, PRIS)
2252 }
2253
2254 Method (_PS3, 0, NotSerialized)
2255 {
2256 Store (0x03, PRIS)
2257 }
2258
2259 Method (_PSC, 0, NotSerialized)
2260 {
2261 Return (PRIS)
2262 }
2263
2264 Device (P_D0)
2265 {
2266 Name (_ADR, 0x00)
2267 Method (_STA, 0, NotSerialized)
2268 {
2269 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2270 Field (BAR, AnyAcc, NoLock, Preserve)
2271 {
2272 Offset (0x128),
2273 PMS0, 4,
2274 Offset (0x129),
2275 PMS1, 4
2276 }
2277
2278 If (Not (LEqual (PMS1, 0x00)))
2279 {
2280 Return (0x0F)
2281 }
2282 Else
2283 {
2284 Return (0x00)
2285 }
2286 }
2287
2288 Name (S12P, 0x00)
2289 Method (_PS0, 0, NotSerialized)
2290 {
2291 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2292 Field (BAR, AnyAcc, NoLock, Preserve)
2293 {
2294 Offset (0x120),
2295 , 7,
2296 PMBY, 1
2297 }
2298
2299 Store (0x32, Local0)
2300 While (LAnd (LEqual (PMBY, 0x01), Local0))
2301 {
2302 Sleep (0xFA)
2303 Decrement (Local0)
2304 }
2305
2306 Store (0x00, S12P)
2307 }
2308
2309 Method (_PS3, 0, NotSerialized)
2310 {
2311 Store (0x03, S12P)
2312 }
2313
2314 Method (_PSC, 0, NotSerialized)
2315 {
2316 Return (S12P)
2317 }
2318 }
2319
2320 Device (P_D1)
2321 {
2322 Name (_ADR, 0x01)
2323 Method (_STA, 0, NotSerialized)
2324 {
2325 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2326 Field (BAR, AnyAcc, NoLock, Preserve)
2327 {
2328 Offset (0x228),
2329 PSS0, 4,
2330 Offset (0x229),
2331 PSS1, 4
2332 }
2333
2334 If (Not (LEqual (PSS1, 0x00)))
2335 {
2336 Return (0x0F)
2337 }
2338 Else
2339 {
2340 Return (0x00)
2341 }
2342 }
2343
2344 Name (S12P, 0x00)
2345 Method (_PS0, 0, NotSerialized)
2346 {
2347 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2348 Field (BAR, AnyAcc, NoLock, Preserve)
2349 {
2350 Offset (0x220),
2351 , 7,
2352 PSBY, 1
2353 }
2354
2355 Store (0x32, Local0)
2356 While (LAnd (LEqual (PSBY, 0x01), Local0))
2357 {
2358 Sleep (0xFA)
2359 Decrement (Local0)
2360 }
2361
2362 Store (0x00, S12P)
2363 }
2364
2365 Method (_PS3, 0, NotSerialized)
2366 {
2367 Store (0x03, S12P)
2368 }
2369
2370 Method (_PSC, 0, NotSerialized)
2371 {
2372 Return (S12P)
2373 }
2374 }
2375 }
2376
2377 Device (SECD)
2378 {
2379 Name (_ADR, 0x01)
2380 Method (_GTM, 0, NotSerialized)
2381 {
2382 Return (SPTM)
2383 }
2384
2385 Method (_STM, 3, NotSerialized)
2386 {
2387 }
2388
2389 Name (SECS, 0x00)
2390 Method (_PS0, 0, NotSerialized)
2391 {
2392 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2393 Field (BAR, AnyAcc, NoLock, Preserve)
2394 {
2395 Offset (0x1A0),
2396 , 7,
2397 SMBY, 1,
2398 Offset (0x1A8),
2399 SMS0, 4,
2400 Offset (0x1A9),
2401 SMS1, 4,
2402 Offset (0x2A0),
2403 , 7,
2404 SSBY, 1,
2405 Offset (0x2A8),
2406 SSS0, 4,
2407 Offset (0x2A9),
2408 SSS1, 4,
2409 Offset (0x2AC)
2410 }
2411
2412 If (LOr (LEqual (OSTY, 0x06), LEqual (OSTY, 0x04)))
2413 {
2414 If (SMS1)
2415 {
2416 Store (0x32, Local0)
2417 While (LAnd (LEqual (SMBY, 0x01), Local0))
2418 {
2419 Sleep (0xFA)
2420 Decrement (Local0)
2421 }
2422 }
2423
2424 If (SSS1)
2425 {
2426 Store (0x32, Local0)
2427 While (LAnd (LEqual (SSBY, 0x01), Local0))
2428 {
2429 Sleep (0xFA)
2430 Decrement (Local0)
2431 }
2432 }
2433 }
2434
2435 Store (0x00, SECS)
2436 }
2437
2438 Method (_PS3, 0, NotSerialized)
2439 {
2440 Store (0x03, SECS)
2441 }
2442
2443 Method (_PSC, 0, NotSerialized)
2444 {
2445 Return (SECS)
2446 }
2447
2448 Device (S_D0)
2449 {
2450 Name (_ADR, 0x00)
2451 Method (_STA, 0, NotSerialized)
2452 {
2453 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2454 Field (BAR, AnyAcc, NoLock, Preserve)
2455 {
2456 Offset (0x1A8),
2457 SMS0, 4,
2458 Offset (0x1A9),
2459 SMS1, 4
2460 }
2461
2462 If (Not (LEqual (SMS1, 0x00)))
2463 {
2464 Return (0x0F)
2465 }
2466 Else
2467 {
2468 Return (0x00)
2469 }
2470 }
2471
2472 Name (S12P, 0x00)
2473 Method (_PS0, 0, NotSerialized)
2474 {
2475 OperationRegion (BAR, SystemMemory, STB5, 0x1000)
2476 Field (BAR, AnyAcc, NoLock, Preserve)
2477 {
2478 Offset (0x1A0),
2479 , 7,
2480 SMBY, 1
2481 }
2482
2483 Store (0x32, Local0)
2484 While (LAnd (LEqual (SMBY, 0x01), Local0))
2485 {
2486 Sleep (0xFA)
2487 Decrement (Local0)
2488 }
2489
2490 Store (0x00, S12P)
2491 }
2492
2493 Method (_PS3, 0, NotSerialized)
2494 {
2495 Store (0x03, S12P)
2496 }
2497
2498 Method (_PSC, 0, NotSerialized)
2499 {
2500 Return (S12P)
2501 }
2502 }
2503
2504 Device (S_D1)
2505 {
2506 Name (_ADR, 0x01)
2507 Method (_STA, 0, NotSerialized)
2508 {
2509 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2510 Field (BAR, AnyAcc, NoLock, Preserve)
2511 {
2512 Offset (0x2A8),
2513 SSS0, 4,
2514 Offset (0x2A9),
2515 SSS1, 4
2516 }
2517
2518 If (Not (LEqual (SSS1, 0x00)))
2519 {
2520 Return (0x0F)
2521 }
2522 Else
2523 {
2524 Return (0x00)
2525 }
2526 }
2527
2528 Name (S12P, 0x00)
2529 Method (_PS0, 0, NotSerialized)
2530 {
2531 OperationRegion (BAR, SystemMemory, STB5, 0x0400)
2532 Field (BAR, AnyAcc, NoLock, Preserve)
2533 {
2534 Offset (0x2A0),
2535 , 7,
2536 SSBY, 1
2537 }
2538
2539 Store (0x32, Local0)
2540 While (LAnd (LEqual (SSBY, 0x01), Local0))
2541 {
2542 Sleep (0xFA)
2543 Decrement (Local0)
2544 }
2545
2546 Store (0x00, S12P)
2547 }
2548
2549 Method (_PS3, 0, NotSerialized)
2550 {
2551 Store (0x03, S12P)
2552 }
2553
2554 Method (_PSC, 0, NotSerialized)
2555 {
2556 Return (S12P)
2557 }
2558 }
2559 }
2560 }
2561
2562 Device (LPC0)
2563 {
2564 Name (_ADR, 0x00140003)
2565 Device (PMIO)
2566 {
2567 Name (_HID, EisaId ("PNP0C02"))
2568 Name (_UID, 0x03)
2569 Method (_CRS, 0, NotSerialized)
2570 {
2571 Name (BUF0, ResourceTemplate ()
2572 {
2573 IO (Decode16,
2574 0x4100, // Range Minimum
2575 0x4100, // Range Maximum
2576 0x01, // Alignment
2577 0x20, // Length
2578 )
2579 IO (Decode16,
2580 0x0228, // Range Minimum
2581 0x0228, // Range Maximum
2582 0x01, // Alignment
2583 0x08, // Length
2584 )
2585 IO (Decode16,
2586 0x040B, // Range Minimum
2587 0x040B, // Range Maximum
2588 0x01, // Alignment
2589 0x01, // Length
2590 )
2591 IO (Decode16,
2592 0x04D6, // Range Minimum
2593 0x04D6, // Range Maximum
2594 0x01, // Alignment
2595 0x01, // Length
2596 )
2597 IO (Decode16,
2598 0x0C00, // Range Minimum
2599 0x0C00, // Range Maximum
2600 0x01, // Alignment
2601 0x02, // Length
2602 )
2603 IO (Decode16,
2604 0x0C14, // Range Minimum
2605 0x0C14, // Range Maximum
2606 0x01, // Alignment
2607 0x01, // Length
2608 )
2609 IO (Decode16,
2610 0x0C50, // Range Minimum
2611 0x0C50, // Range Maximum
2612 0x01, // Alignment
2613 0x03, // Length
2614 )
2615 IO (Decode16,
2616 0x0C6C, // Range Minimum
2617 0x0C6C, // Range Maximum
2618 0x01, // Alignment
2619 0x02, // Length
2620 )
2621 IO (Decode16,
2622 0x0C6F, // Range Minimum
2623 0x0C6F, // Range Maximum
2624 0x01, // Alignment
2625 0x01, // Length
2626 )
2627 IO (Decode16,
2628 0x0CD0, // Range Minimum
2629 0x0CD0, // Range Maximum
2630 0x01, // Alignment
2631 0x02, // Length
2632 )
2633 IO (Decode16,
2634 0x0CD2, // Range Minimum
2635 0x0CD2, // Range Maximum
2636 0x01, // Alignment
2637 0x02, // Length
2638 )
2639 IO (Decode16,
2640 0x0CD4, // Range Minimum
2641 0x0CD4, // Range Maximum
2642 0x01, // Alignment
2643 0x0C, // Length
2644 )
2645 IO (Decode16,
2646 0x4000, // Range Minimum
2647 0x4000, // Range Maximum
2648 0x01, // Alignment
2649 0xFF, // Length
2650 )
2651 IO (Decode16,
2652 0x4210, // Range Minimum
2653 0x4210, // Range Maximum
2654 0x01, // Alignment
2655 0x08, // Length
2656 )
2657 IO (Decode16,
2658 0x0B00, // Range Minimum
2659 0x0B00, // Range Maximum
2660 0x01, // Alignment
2661 0x10, // Length
2662 )
2663 IO (Decode16,
2664 0x0B10, // Range Minimum
2665 0x0B10, // Range Maximum
2666 0x01, // Alignment
2667 0x10, // Length
2668 )
2669 IO (Decode16,
2670 0x0B20, // Range Minimum
2671 0x0B20, // Range Maximum
2672 0x01, // Alignment
2673 0x20, // Length
2674 )
2675 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
2676 0x00000000, // Granularity
2677 0xE0000000, // Range Minimum
2678 0xE0000000, // Range Maximum
2679 0x00000000, // Translation Offset
2680 0x00000000, // Length
2681 ,, _Y01, AddressRangeMemory, TypeStatic)
2682 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
2683 0x00000000, // Granularity
2684 0xFEE00400, // Range Minimum
2685 0xFEE00FFF, // Range Maximum
2686 0x00000000, // Translation Offset
2687 0x00000BFF, // Length
2688 ,, , AddressRangeMemory, TypeStatic)
2689 })
2690 CreateDWordField (BUF0, \_SB.PCI0.LPC0.PMIO._CRS._Y01._MIN, BARX)
2691 CreateDWordField (BUF0, \_SB.PCI0.LPC0.PMIO._CRS._Y01._LEN, GALN)
2692 CreateDWordField (BUF0, \_SB.PCI0.LPC0.PMIO._CRS._Y01._MAX, GAMX)
2693 Store (0x1000, GALN)
2694 Store (\_SB.PCI0.MMIO, Local0)
2695 And (Local0, 0xFFFFFFF0, BARX)
2696 Add (Local0, GALN, GAMX)
2697 Subtract (GAMX, 0x01, GAMX)
2698 Return (BUF0)
2699 }
2700 }
2701
2702 OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02)
2703 Field (PIRQ, ByteAcc, NoLock, Preserve)
2704 {
2705 PIID, 8,
2706 PIDA, 8
2707 }
2708
2709 Name (IPRS, ResourceTemplate ()
2710 {
2711 IRQ (Level, ActiveLow, Shared, )
2712 {3,4,5,6,7,10,11}
2713 })
2714 IndexField (PIID, PIDA, ByteAcc, NoLock, Preserve)
2715 {
2716 PIRA, 8,
2717 PIRB, 8,
2718 PIRC, 8,
2719 PIRD, 8,
2720 PIRS, 8,
2721 Offset (0x09),
2722 PIRE, 8,
2723 PIRF, 8,
2724 PIR0, 8,
2725 PIR1, 8
2726 }
2727
2728 Method (DSPI, 0, NotSerialized)
2729 {
2730 Store (0x00, PIRA)
2731 Store (0x00, PIRB)
2732 Store (0x00, PIRC)
2733 Store (0x00, PIRD)
2734 Store (0x00, PIRE)
2735 Store (0x00, PIRF)
2736 Store (0x00, PIR0)
2737 Store (0x00, PIR1)
2738 }
2739
2740 Device (LNKA)
2741 {
2742 Name (_HID, EisaId ("PNP0C0F"))
2743 Name (_UID, 0x01)
2744 Method (_STA, 0, NotSerialized)
2745 {
2746 If (PIRA)
2747 {
2748 Return (0x0B)
2749 }
2750 Else
2751 {
2752 Return (0x09)
2753 }
2754 }
2755
2756 Method (_PRS, 0, NotSerialized)
2757 {
2758 Return (IPRS)
2759 }
2760
2761 Method (_DIS, 0, NotSerialized)
2762 {
2763 Store (0x00, PIRA)
2764 }
2765
2766 Method (_CRS, 0, NotSerialized)
2767 {
2768 Store (IPRS, Local0)
2769 CreateWordField (Local0, 0x01, IRQ0)
2770 ShiftLeft (0x01, PIRA, IRQ0)
2771 Return (Local0)
2772 }
2773
2774 Method (_SRS, 1, NotSerialized)
2775 {
2776 CreateWordField (Arg0, 0x01, IRQ0)
2777 FindSetRightBit (IRQ0, Local0)
2778 Decrement (Local0)
2779 Store (Local0, PIRA)
2780 }
2781 }
2782
2783 Device (LNKB)
2784 {
2785 Name (_HID, EisaId ("PNP0C0F"))
2786 Name (_UID, 0x02)
2787 Method (_STA, 0, NotSerialized)
2788 {
2789 If (PIRB)
2790 {
2791 Return (0x0B)
2792 }
2793 Else
2794 {
2795 Return (0x09)
2796 }
2797 }
2798
2799 Method (_PRS, 0, NotSerialized)
2800 {
2801 Return (IPRS)
2802 }
2803
2804 Method (_DIS, 0, NotSerialized)
2805 {
2806 Store (0x00, PIRB)
2807 }
2808
2809 Method (_CRS, 0, NotSerialized)
2810 {
2811 Store (IPRS, Local0)
2812 CreateWordField (Local0, 0x01, IRQ0)
2813 ShiftLeft (0x01, PIRB, IRQ0)
2814 Return (Local0)
2815 }
2816
2817 Method (_SRS, 1, NotSerialized)
2818 {
2819 CreateWordField (Arg0, 0x01, IRQ0)
2820 FindSetRightBit (IRQ0, Local0)
2821 Decrement (Local0)
2822 Store (Local0, PIRB)
2823 }
2824 }
2825
2826 Device (LNKC)
2827 {
2828 Name (_HID, EisaId ("PNP0C0F"))
2829 Name (_UID, 0x03)
2830 Method (_STA, 0, NotSerialized)
2831 {
2832 If (PIRC)
2833 {
2834 Return (0x0B)
2835 }
2836 Else
2837 {
2838 Return (0x09)
2839 }
2840 }
2841
2842 Method (_PRS, 0, NotSerialized)
2843 {
2844 Return (IPRS)
2845 }
2846
2847 Method (_DIS, 0, NotSerialized)
2848 {
2849 Store (0x00, PIRC)
2850 }
2851
2852 Method (_CRS, 0, NotSerialized)
2853 {
2854 Store (IPRS, Local0)
2855 CreateWordField (Local0, 0x01, IRQ0)
2856 ShiftLeft (0x01, PIRC, IRQ0)
2857 Return (Local0)
2858 }
2859
2860 Method (_SRS, 1, NotSerialized)
2861 {
2862 CreateWordField (Arg0, 0x01, IRQ0)
2863 FindSetRightBit (IRQ0, Local0)
2864 Decrement (Local0)
2865 Store (Local0, PIRC)
2866 }
2867 }
2868
2869 Device (LNKD)
2870 {
2871 Name (_HID, EisaId ("PNP0C0F"))
2872 Name (_UID, 0x04)
2873 Method (_STA, 0, NotSerialized)
2874 {
2875 If (PIRD)
2876 {
2877 Return (0x0B)
2878 }
2879 Else
2880 {
2881 Return (0x09)
2882 }
2883 }
2884
2885 Method (_PRS, 0, NotSerialized)
2886 {
2887 Return (IPRS)
2888 }
2889
2890 Method (_DIS, 0, NotSerialized)
2891 {
2892 Store (0x00, PIRD)
2893 }
2894
2895 Method (_CRS, 0, NotSerialized)
2896 {
2897 Store (IPRS, Local0)
2898 CreateWordField (Local0, 0x01, IRQ0)
2899 ShiftLeft (0x01, PIRD, IRQ0)
2900 Return (Local0)
2901 }
2902
2903 Method (_SRS, 1, NotSerialized)
2904 {
2905 CreateWordField (Arg0, 0x01, IRQ0)
2906 FindSetRightBit (IRQ0, Local0)
2907 Decrement (Local0)
2908 Store (Local0, PIRD)
2909 }
2910 }
2911
2912 Device (LNKE)
2913 {
2914 Name (_HID, EisaId ("PNP0C0F"))
2915 Name (_UID, 0x05)
2916 Method (_STA, 0, NotSerialized)
2917 {
2918 If (PIRE)
2919 {
2920 Return (0x0B)
2921 }
2922 Else
2923 {
2924 Return (0x09)
2925 }
2926 }
2927
2928 Method (_PRS, 0, NotSerialized)
2929 {
2930 Return (IPRS)
2931 }
2932
2933 Method (_DIS, 0, NotSerialized)
2934 {
2935 Store (0x00, PIRE)
2936 }
2937
2938 Method (_CRS, 0, NotSerialized)
2939 {
2940 Store (IPRS, Local0)
2941 CreateWordField (Local0, 0x01, IRQ0)
2942 ShiftLeft (0x01, PIRE, IRQ0)
2943 Return (Local0)
2944 }
2945
2946 Method (_SRS, 1, NotSerialized)
2947 {
2948 CreateWordField (Arg0, 0x01, IRQ0)
2949 FindSetRightBit (IRQ0, Local0)
2950 Decrement (Local0)
2951 Store (Local0, PIRE)
2952 }
2953 }
2954
2955 Device (LNKF)
2956 {
2957 Name (_HID, EisaId ("PNP0C0F"))
2958 Name (_UID, 0x06)
2959 Method (_STA, 0, NotSerialized)
2960 {
2961 If (PIRF)
2962 {
2963 Return (0x0B)
2964 }
2965 Else
2966 {
2967 Return (0x09)
2968 }
2969 }
2970
2971 Method (_PRS, 0, NotSerialized)
2972 {
2973 Return (IPRS)
2974 }
2975
2976 Method (_DIS, 0, NotSerialized)
2977 {
2978 Store (0x00, PIRF)
2979 }
2980
2981 Method (_CRS, 0, NotSerialized)
2982 {
2983 Store (IPRS, Local0)
2984 CreateWordField (Local0, 0x01, IRQ0)
2985 ShiftLeft (0x01, PIRF, IRQ0)
2986 Return (Local0)
2987 }
2988
2989 Method (_SRS, 1, NotSerialized)
2990 {
2991 CreateWordField (Arg0, 0x01, IRQ0)
2992 FindSetRightBit (IRQ0, Local0)
2993 Decrement (Local0)
2994 Store (Local0, PIRF)
2995 }
2996 }
2997
2998 Device (LNK0)
2999 {
3000 Name (_HID, EisaId ("PNP0C0F"))
3001 Name (_UID, 0x07)
3002 Method (_STA, 0, NotSerialized)
3003 {
3004 If (PIR0)
3005 {
3006 Return (0x0B)
3007 }
3008 Else
3009 {
3010 Return (0x09)
3011 }
3012 }
3013
3014 Method (_PRS, 0, NotSerialized)
3015 {
3016 Return (IPRS)
3017 }
3018
3019 Method (_DIS, 0, NotSerialized)
3020 {
3021 Store (0x00, PIR0)
3022 }
3023
3024 Method (_CRS, 0, NotSerialized)
3025 {
3026 Store (IPRS, Local0)
3027 CreateWordField (Local0, 0x01, IRQ0)
3028 ShiftLeft (0x01, PIR0, IRQ0)
3029 Return (Local0)
3030 }
3031
3032 Method (_SRS, 1, NotSerialized)
3033 {
3034 CreateWordField (Arg0, 0x01, IRQ0)
3035 FindSetRightBit (IRQ0, Local0)
3036 Decrement (Local0)
3037 Store (Local0, PIR0)
3038 }
3039 }
3040
3041 Device (LNK1)
3042 {
3043 Name (_HID, EisaId ("PNP0C0F"))
3044 Name (_UID, 0x08)
3045 Method (_STA, 0, NotSerialized)
3046 {
3047 If (PIR1)
3048 {
3049 Return (0x0B)
3050 }
3051 Else
3052 {
3053 Return (0x09)
3054 }
3055 }
3056
3057 Method (_PRS, 0, NotSerialized)
3058 {
3059 Return (IPRS)
3060 }
3061
3062 Method (_DIS, 0, NotSerialized)
3063 {
3064 Store (0x00, PIR1)
3065 }
3066
3067 Method (_CRS, 0, NotSerialized)
3068 {
3069 Store (IPRS, Local0)
3070 CreateWordField (Local0, 0x01, IRQ0)
3071 ShiftLeft (0x01, PIR1, IRQ0)
3072 Return (Local0)
3073 }
3074
3075 Method (_SRS, 1, NotSerialized)
3076 {
3077 CreateWordField (Arg0, 0x01, IRQ0)
3078 FindSetRightBit (IRQ0, Local0)
3079 Decrement (Local0)
3080 Store (Local0, PIR1)
3081 }
3082 }
3083
3084 Device (PIC)
3085 {
3086 Name (_HID, EisaId ("PNP0000"))
3087 Name (_CRS, ResourceTemplate ()
3088 {
3089 IO (Decode16,
3090 0x0020, // Range Minimum
3091 0x0020, // Range Maximum
3092 0x01, // Alignment
3093 0x02, // Length
3094 )
3095 IO (Decode16,
3096 0x00A0, // Range Minimum
3097 0x00A0, // Range Maximum
3098 0x01, // Alignment
3099 0x02, // Length
3100 )
3101 IRQNoFlags ()
3102 {2}
3103 })
3104 }
3105
3106 Device (DMA1)
3107 {
3108 Name (_HID, EisaId ("PNP0200"))
3109 Name (_CRS, ResourceTemplate ()
3110 {
3111 DMA (Compatibility, BusMaster, Transfer8, )
3112 {4}
3113 IO (Decode16,
3114 0x0000, // Range Minimum
3115 0x0000, // Range Maximum
3116 0x01, // Alignment
3117 0x10, // Length
3118 )
3119 IO (Decode16,
3120 0x0080, // Range Minimum
3121 0x0080, // Range Maximum
3122 0x01, // Alignment
3123 0x11, // Length
3124 )
3125 IO (Decode16,
3126 0x0094, // Range Minimum
3127 0x0094, // Range Maximum
3128 0x01, // Alignment
3129 0x0C, // Length
3130 )
3131 IO (Decode16,
3132 0x00C0, // Range Minimum
3133 0x00C0, // Range Maximum
3134 0x01, // Alignment
3135 0x20, // Length
3136 )
3137 })
3138 }
3139
3140 Device (TMR)
3141 {
3142 Name (_HID, EisaId ("PNP0100"))
3143 Name (ATT5, ResourceTemplate ()
3144 {
3145 IO (Decode16,
3146 0x0040, // Range Minimum
3147 0x0040, // Range Maximum
3148 0x00, // Alignment
3149 0x04, // Length
3150 )
3151 IRQNoFlags ()
3152 {0}
3153 })
3154 Name (ATT6, ResourceTemplate ()
3155 {
3156 IO (Decode16,
3157 0x0040, // Range Minimum
3158 0x0040, // Range Maximum
3159 0x00, // Alignment
3160 0x04, // Length
3161 )
3162 })
3163 Method (_CRS, 0, NotSerialized)
3164 {
3165 If (LGreaterEqual (OSFX, 0x03))
3166 {
3167 If (HPTF)
3168 {
3169 Return (ATT6)
3170 }
3171 Else
3172 {
3173 Return (ATT5)
3174 }
3175 }
3176 Else
3177 {
3178 Return (ATT5)
3179 }
3180 }
3181 }
3182
3183 Device (HPET)
3184 {
3185 Name (_HID, EisaId ("PNP0103"))
3186 Name (ATT3, ResourceTemplate ()
3187 {
3188 IRQNoFlags ()
3189 {0}
3190 IRQNoFlags ()
3191 {8}
3192 Memory32Fixed (ReadWrite,
3193 0xFED00000, // Address Base
3194 0x00000400, // Address Length
3195 )
3196 })
3197 Name (ATT4, ResourceTemplate ()
3198 {
3199 })
3200 Method (_STA, 0, NotSerialized)
3201 {
3202 If (LGreaterEqual (OSFX, 0x03))
3203 {
3204 If (HPTF)
3205 {
3206 Return (0x0F)
3207 }
3208 Else
3209 {
3210 Return (0x00)
3211 }
3212 }
3213 Else
3214 {
3215 Return (0x00)
3216 }
3217 }
3218
3219 Method (_CRS, 0, NotSerialized)
3220 {
3221 If (LGreaterEqual (OSFX, 0x03))
3222 {
3223 If (HPTF)
3224 {
3225 Return (ATT3)
3226 }
3227 Else
3228 {
3229 Return (ATT4)
3230 }
3231 }
3232 Else
3233 {
3234 Return (ATT4)
3235 }
3236 }
3237 }
3238
3239 Device (RTC)
3240 {
3241 Name (_HID, EisaId ("PNP0B00"))
3242 Name (ATT0, ResourceTemplate ()
3243 {
3244 IO (Decode16,
3245 0x0070, // Range Minimum
3246 0x0070, // Range Maximum
3247 0x00, // Alignment
3248 0x04, // Length
3249 )
3250 IRQNoFlags ()
3251 {8}
3252 })
3253 Name (ATT1, ResourceTemplate ()
3254 {
3255 IO (Decode16,
3256 0x0070, // Range Minimum
3257 0x0070, // Range Maximum
3258 0x00, // Alignment
3259 0x04, // Length
3260 )
3261 })
3262 Method (_CRS, 0, NotSerialized)
3263 {
3264 If (LGreaterEqual (OSFX, 0x03))
3265 {
3266 If (HPTF)
3267 {
3268 Return (ATT1)
3269 }
3270 Else
3271 {
3272 Return (ATT0)
3273 }
3274 }
3275 Else
3276 {
3277 Return (ATT0)
3278 }
3279 }
3280 }
3281
3282 Device (SPKR)
3283 {
3284 Name (_HID, EisaId ("PNP0800"))
3285 Name (_CRS, ResourceTemplate ()
3286 {
3287 IO (Decode16,
3288 0x0061, // Range Minimum
3289 0x0061, // Range Maximum
3290 0x01, // Alignment
3291 0x01, // Length
3292 )
3293 })
3294 }
3295
3296 Device (COPR)
3297 {
3298 Name (_HID, EisaId ("PNP0C04"))
3299 Name (_CRS, ResourceTemplate ()
3300 {
3301 IO (Decode16,
3302 0x00F0, // Range Minimum
3303 0x00F0, // Range Maximum
3304 0x01, // Alignment
3305 0x10, // Length
3306 )
3307 IRQNoFlags ()
3308 {13}
3309 })
3310 }
3311 }
3312
3313 Device (P2P)
3314 {
3315 Name (_ADR, 0x00140004)
3316 Method (SS3D, 0, NotSerialized)
3317 {
3318 If (LEqual (OSFL, 0x02))
3319 {
3320 Return (0x02)
3321 }
3322 Else
3323 {
3324 Return (0x03)
3325 }
3326 }
3327
3328 Method (_PRW, 0, NotSerialized)
3329 {
3330 Return (Package (0x02)
3331 {
3332 0x04,
3333 0x05
3334 })
3335 }
3336
3337 Name (PICM, Package (0x0C)
3338 {
3339 Package (0x04)
3340 {
3341 0x0007FFFF,
3342 0x00,
3343 \_SB.PCI0.LPC0.LNKF,
3344 0x00
3345 },
3346
3347 Package (0x04)
3348 {
3349 0x0007FFFF,
3350 0x01,
3351 \_SB.PCI0.LPC0.LNK0,
3352 0x00
3353 },
3354
3355 Package (0x04)
3356 {
3357 0x0007FFFF,
3358 0x02,
3359 \_SB.PCI0.LPC0.LNK1,
3360 0x00
3361 },
3362
3363 Package (0x04)
3364 {
3365 0x0007FFFF,
3366 0x03,
3367 \_SB.PCI0.LPC0.LNKE,
3368 0x00
3369 },
3370
3371 Package (0x04)
3372 {
3373 0x0006FFFF,
3374 0x00,
3375 \_SB.PCI0.LPC0.LNKE,
3376 0x00
3377 },
3378
3379 Package (0x04)
3380 {
3381 0x0006FFFF,
3382 0x01,
3383 \_SB.PCI0.LPC0.LNKF,
3384 0x00
3385 },
3386
3387 Package (0x04)
3388 {
3389 0x0006FFFF,
3390 0x02,
3391 \_SB.PCI0.LPC0.LNK0,
3392 0x00
3393 },
3394
3395 Package (0x04)
3396 {
3397 0x0006FFFF,
3398 0x03,
3399 \_SB.PCI0.LPC0.LNK1,
3400 0x00
3401 },
3402
3403 Package (0x04)
3404 {
3405 0x000EFFFF,
3406 0x00,
3407 \_SB.PCI0.LPC0.LNK0,
3408 0x00
3409 },
3410
3411 Package (0x04)
3412 {
3413 0x000EFFFF,
3414 0x01,
3415 \_SB.PCI0.LPC0.LNK0,
3416 0x00
3417 },
3418
3419 Package (0x04)
3420 {
3421 0x000EFFFF,
3422 0x02,
3423 \_SB.PCI0.LPC0.LNK0,
3424 0x00
3425 },
3426
3427 Package (0x04)
3428 {
3429 0x000EFFFF,
3430 0x03,
3431 \_SB.PCI0.LPC0.LNK0,
3432 0x00
3433 }
3434 })
3435 Name (APIC, Package (0x0C)
3436 {
3437 Package (0x04)
3438 {
3439 0x0007FFFF,
3440 0x00,
3441 0x00,
3442 0x15
3443 },
3444
3445 Package (0x04)
3446 {
3447 0x0007FFFF,
3448 0x01,
3449 0x00,
3450 0x16
3451 },
3452
3453 Package (0x04)
3454 {
3455 0x0007FFFF,
3456 0x02,
3457 0x00,
3458 0x17
3459 },
3460
3461 Package (0x04)
3462 {
3463 0x0007FFFF,
3464 0x03,
3465 0x00,
3466 0x14
3467 },
3468
3469 Package (0x04)
3470 {
3471 0x0006FFFF,
3472 0x00,
3473 0x00,
3474 0x14
3475 },
3476
3477 Package (0x04)
3478 {
3479 0x0006FFFF,
3480 0x01,
3481 0x00,
3482 0x15
3483 },
3484
3485 Package (0x04)
3486 {
3487 0x0006FFFF,
3488 0x02,
3489 0x00,
3490 0x16
3491 },
3492
3493 Package (0x04)
3494 {
3495 0x0006FFFF,
3496 0x03,
3497 0x00,
3498 0x17
3499 },
3500
3501 Package (0x04)
3502 {
3503 0x000EFFFF,
3504 0x00,
3505 0x00,
3506 0x16
3507 },
3508
3509 Package (0x04)
3510 {
3511 0x000EFFFF,
3512 0x01,
3513 0x00,
3514 0x16
3515 },
3516
3517 Package (0x04)
3518 {
3519 0x000EFFFF,
3520 0x02,
3521 0x00,
3522 0x16
3523 },
3524
3525 Package (0x04)
3526 {
3527 0x000EFFFF,
3528 0x03,
3529 0x00,
3530 0x16
3531 }
3532 })
3533 Method (_PRT, 0, NotSerialized)
3534 {
3535 If (LNot (PICF))
3536 {
3537 Return (PICM)
3538 }
3539 Else
3540 {
3541 Return (APIC)
3542 }
3543 }
3544 }
3545
3546 Device (IDE)
3547 {
3548 Name (_ADR, 0x00140001)
3549 Name (UDMT, Package (0x08)
3550 {
3551 0x78,
3552 0x5A,
3553 0x3C,
3554 0x2D,
3555 0x1E,
3556 0x14,
3557 0x0F,
3558 0x00
3559 })
3560 Name (PIOT, Package (0x06)
3561 {
3562 0x0258,
3563 0x0186,
3564 0x010E,
3565 0xB4,
3566 0x78,
3567 0x00
3568 })
3569 Name (PITR, Package (0x06)
3570 {
3571 0x99,
3572 0x47,
3573 0x34,
3574 0x22,
3575 0x20,
3576 0x99
3577 })
3578 Name (MDMT, Package (0x04)
3579 {
3580 0x01E0,
3581 0x96,
3582 0x78,
3583 0x00
3584 })
3585 Name (MDTR, Package (0x04)
3586 {
3587 0x77,
3588 0x21,
3589 0x20,
3590 0xFF
3591 })
3592 OperationRegion (IDE, PCI_Config, 0x40, 0x20)
3593 Field (IDE, AnyAcc, NoLock, Preserve)
3594 {
3595 PPIT, 16,
3596 SPIT, 16,
3597 PMDT, 16,
3598 SMDT, 16,
3599 PPIC, 8,
3600 SPIC, 8,
3601 PPIM, 8,
3602 SPIM, 8,
3603 Offset (0x14),
3604 PUDC, 2,
3605 SUDC, 2,
3606 Offset (0x16),
3607 PUDM, 8,
3608 SUDM, 8
3609 }
3610
3611 Method (GETT, 1, NotSerialized)
3612 {
3613 Store (And (Arg0, 0x0F), Local0)
3614 Store (ShiftRight (Arg0, 0x04), Local1)
3615 Return (Multiply (0x1E, Add (Add (Local0, 0x01), Add (Local1,
3616 0x01))))
3617 }
3618
3619 Method (GTM, 1, NotSerialized)
3620 {
3621 CreateByteField (Arg0, 0x00, PIT1)
3622 CreateByteField (Arg0, 0x01, PIT0)
3623 CreateByteField (Arg0, 0x02, MDT1)
3624 CreateByteField (Arg0, 0x03, MDT0)
3625 CreateByteField (Arg0, 0x04, PICX)
3626 CreateByteField (Arg0, 0x05, UDCX)
3627 CreateByteField (Arg0, 0x06, UDMX)
3628 Name (BUF, Buffer (0x14)
3629 {
3630 /* 0000 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
3631 /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
3632 /* 0010 */ 0x00, 0x00, 0x00, 0x00
3633 })
3634 CreateDWordField (BUF, 0x00, PIO0)
3635 CreateDWordField (BUF, 0x04, DMA0)
3636 CreateDWordField (BUF, 0x08, PIO1)
3637 CreateDWordField (BUF, 0x0C, DMA1)
3638 CreateDWordField (BUF, 0x10, FLAG)
3639 If (And (PICX, 0x01))
3640 {
3641 Return (BUF)
3642 }
3643
3644 Store (GETT (PIT0), PIO0)
3645 Store (GETT (PIT1), PIO1)
3646 If (And (UDCX, 0x01))
3647 {
3648 Or (FLAG, 0x01, FLAG)
3649 Store (DerefOf (Index (^UDMT, And (UDMX, 0x0F))), DMA0)
3650 }
3651 Else
3652 {
3653 Store (GETT (MDT0), DMA0)
3654 }
3655
3656 If (And (UDCX, 0x02))
3657 {
3658 Or (FLAG, 0x04, FLAG)
3659 Store (DerefOf (Index (^UDMT, ShiftRight (UDMX, 0x04))), DMA1)
3660 }
3661 Else
3662 {
3663 Store (GETT (MDT1), DMA1)
3664 }
3665
3666 Or (FLAG, 0x1A, FLAG)
3667 Return (BUF)
3668 }
3669
3670 Method (STM, 3, NotSerialized)
3671 {
3672 CreateDWordField (Arg0, 0x00, PIO0)
3673 CreateDWordField (Arg0, 0x04, DMA0)
3674 CreateDWordField (Arg0, 0x08, PIO1)
3675 CreateDWordField (Arg0, 0x0C, DMA1)
3676 CreateDWordField (Arg0, 0x10, FLAG)
3677 Name (BUF, Buffer (0x07)
3678 {
3679 /* 0000 */ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
3680 })
3681 CreateByteField (BUF, 0x00, PIT1)
3682 CreateByteField (BUF, 0x01, PIT0)
3683 CreateByteField (BUF, 0x02, MDT1)
3684 CreateByteField (BUF, 0x03, MDT0)
3685 CreateByteField (BUF, 0x04, PIMX)
3686 CreateByteField (BUF, 0x05, UDCX)
3687 CreateByteField (BUF, 0x06, UDMX)
3688 Store (Match (^PIOT, MLE, PIO0, MTR, 0x00, 0x00), Local0)
3689 Divide (Local0, 0x05, Local0)
3690 Store (Match (^PIOT, MLE, PIO1, MTR, 0x00, 0x00), Local1)
3691 Divide (Local1, 0x05, Local1)
3692 Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX)
3693 Store (DerefOf (Index (^PITR, Local0)), PIT0)
3694 Store (DerefOf (Index (^PITR, Local1)), PIT1)
3695 If (And (FLAG, 0x01))
3696 {
3697 Store (Match (^UDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0)
3698 Divide (Local0, 0x07, Local0)
3699 Or (UDMX, Local0, UDMX)
3700 Or (UDCX, 0x01, UDCX)
3701 }
3702 Else
3703 {
3704 If (LNotEqual (DMA0, 0xFFFFFFFF))
3705 {
3706 Store (Match (^MDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0)
3707 Store (DerefOf (Index (^MDTR, Local0)), MDT0)
3708 }
3709 }
3710
3711 If (And (FLAG, 0x04))
3712 {
3713 Store (Match (^UDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0)
3714 Divide (Local0, 0x07, Local0)
3715 Or (UDMX, ShiftLeft (Local0, 0x04), UDMX)
3716 Or (UDCX, 0x02, UDCX)
3717 }
3718 Else
3719 {
3720 If (LNotEqual (DMA1, 0xFFFFFFFF))
3721 {
3722 Store (Match (^MDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0)
3723 Store (DerefOf (Index (^MDTR, Local0)), MDT1)
3724 }
3725 }
3726
3727 Return (BUF)
3728 }
3729
3730 Method (GTF, 2, NotSerialized)
3731 {
3732 CreateByteField (Arg1, 0x00, MDT1)
3733 CreateByteField (Arg1, 0x01, MDT0)
3734 CreateByteField (Arg1, 0x02, PIMX)
3735 CreateByteField (Arg1, 0x03, UDCX)
3736 CreateByteField (Arg1, 0x04, UDMX)
3737 If (LEqual (Arg0, 0xA0))
3738 {
3739 Store (And (PIMX, 0x0F), Local0)
3740 Store (MDT0, Local1)
3741 And (UDCX, 0x01, Local2)
3742 Store (And (UDMX, 0x0F), Local3)
3743 }
3744 Else
3745 {
3746 Store (ShiftRight (PIMX, 0x04), Local0)
3747 Store (MDT1, Local1)
3748 And (UDCX, 0x02, Local2)
3749 Store (ShiftRight (UDMX, 0x04), Local3)
3750 }
3751
3752 Name (BUF, Buffer (0x0E)
3753 {
3754 /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03,
3755 /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF
3756 })
3757 CreateByteField (BUF, 0x01, PMOD)
3758 CreateByteField (BUF, 0x08, DMOD)
3759 CreateByteField (BUF, 0x05, CMDA)
3760 CreateByteField (BUF, 0x0C, CMDB)
3761 Store (Arg0, CMDA)
3762 Store (Arg0, CMDB)
3763 Or (Local0, 0x08, PMOD)
3764 If (Local2)
3765 {
3766 Or (Local3, 0x40, DMOD)
3767 }
3768 Else
3769 {
3770 Store (Match (^MDMT, MLE, GETT (Local1), MTR, 0x00, 0x00), Local4)
3771 If (LLess (Local4, 0x03))
3772 {
3773 Or (0x20, Local4, DMOD)
3774 }
3775 }
3776
3777 Return (BUF)
3778 }
3779
3780 Device (PRID)
3781 {
3782 Name (_ADR, 0x00)
3783 Method (_GTM, 0, NotSerialized)
3784 {
3785 Name (BUF, Buffer (0x07)
3786 {
3787 /* 0000 */ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
3788 })
3789 CreateWordField (BUF, 0x00, VPIT)
3790 CreateWordField (BUF, 0x02, VMDT)
3791 CreateByteField (BUF, 0x04, VPIC)
3792 CreateByteField (BUF, 0x05, VUDC)
3793 CreateByteField (BUF, 0x06, VUDM)
3794 Store (^^PPIT, VPIT)
3795 Store (^^PMDT, VMDT)
3796 Store (^^PPIC, VPIC)
3797 Store (^^PUDC, VUDC)
3798 Store (^^PUDM, VUDM)
3799 Return (GTM (BUF))
3800 }
3801
3802 Method (_STM, 3, NotSerialized)
3803 {
3804 Name (BUF, Buffer (0x07)
3805 {
3806 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
3807 })
3808 CreateWordField (BUF, 0x00, VPIT)
3809 CreateWordField (BUF, 0x02, VMDT)
3810 CreateByteField (BUF, 0x04, VPIM)
3811 CreateByteField (BUF, 0x05, VUDC)
3812 CreateByteField (BUF, 0x06, VUDM)
3813 Store (STM (Arg0, Arg1, Arg2), BUF)
3814 Store (VPIT, ^^PPIT)
3815 Store (VMDT, ^^PMDT)
3816 Store (VPIM, ^^PPIM)
3817 Store (VUDC, ^^PUDC)
3818 Store (VUDM, ^^PUDM)
3819 }
3820
3821 Device (P_D0)
3822 {
3823 Name (_ADR, 0x00)
3824 Method (_GTF, 0, NotSerialized)
3825 {
3826 Name (BUF, Buffer (0x05)
3827 {
3828 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00
3829 })
3830 CreateWordField (BUF, 0x00, VMDT)
3831 CreateByteField (BUF, 0x02, VPIM)
3832 CreateByteField (BUF, 0x03, VUDC)
3833 CreateByteField (BUF, 0x04, VUDM)
3834 Store (^^^PMDT, VMDT)
3835 Store (^^^PPIM, VPIM)
3836 Store (^^^PUDC, VUDC)
3837 Store (^^^PUDM, VUDM)
3838 Return (GTF (0xA0, BUF))
3839 }
3840 }
3841
3842 Device (P_D1)
3843 {
3844 Name (_ADR, 0x01)
3845 Method (_GTF, 0, NotSerialized)
3846 {
3847 Name (BUF, Buffer (0x05)
3848 {
3849 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00
3850 })
3851 CreateWordField (BUF, 0x00, VMDT)
3852 CreateByteField (BUF, 0x02, VPIM)
3853 CreateByteField (BUF, 0x03, VUDC)
3854 CreateByteField (BUF, 0x04, VUDM)
3855 Store (^^^PMDT, VMDT)
3856 Store (^^^PPIM, VPIM)
3857 Store (^^^PUDC, VUDC)
3858 Store (^^^PUDM, VUDM)
3859 Return (GTF (0xB0, BUF))
3860 }
3861 }
3862 }
3863
3864 Device (SECD)
3865 {
3866 Name (_ADR, 0x01)
3867 Method (_GTM, 0, NotSerialized)
3868 {
3869 Name (BUF, Buffer (0x07)
3870 {
3871 /* 0000 */ 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
3872 })
3873 CreateWordField (BUF, 0x00, VPIT)
3874 CreateWordField (BUF, 0x02, VMDT)
3875 CreateByteField (BUF, 0x04, VPIC)
3876 CreateByteField (BUF, 0x05, VUDC)
3877 CreateByteField (BUF, 0x06, VUDM)
3878 Store (^^SPIT, VPIT)
3879 Store (^^SMDT, VMDT)
3880 Store (^^SPIC, VPIC)
3881 Store (^^SUDC, VUDC)
3882 Store (^^SUDM, VUDM)
3883 Return (GTM (BUF))
3884 }
3885
3886 Method (_STM, 3, NotSerialized)
3887 {
3888 Name (BUF, Buffer (0x07)
3889 {
3890 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
3891 })
3892 CreateWordField (BUF, 0x00, VPIT)
3893 CreateWordField (BUF, 0x02, VMDT)
3894 CreateByteField (BUF, 0x04, VPIM)
3895 CreateByteField (BUF, 0x05, VUDC)
3896 CreateByteField (BUF, 0x06, VUDM)
3897 Store (STM (Arg0, Arg1, Arg2), BUF)
3898 Store (VPIT, ^^SPIT)
3899 Store (VMDT, ^^SMDT)
3900 Store (VPIM, ^^SPIM)
3901 Store (VUDC, ^^SUDC)
3902 Store (VUDM, ^^SUDM)
3903 }
3904
3905 Device (S_D0)
3906 {
3907 Name (_ADR, 0x00)
3908 Method (_GTF, 0, NotSerialized)
3909 {
3910 Name (BUF, Buffer (0x05)
3911 {
3912 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00
3913 })
3914 CreateWordField (BUF, 0x00, VMDT)
3915 CreateByteField (BUF, 0x02, VPIM)
3916 CreateByteField (BUF, 0x03, VUDC)
3917 CreateByteField (BUF, 0x04, VUDM)
3918 Store (^^^SMDT, VMDT)
3919 Store (^^^SPIM, VPIM)
3920 Store (^^^SUDC, VUDC)
3921 Store (^^^SUDM, VUDM)
3922 Return (GTF (0xA0, BUF))
3923 }
3924 }
3925
3926 Device (S_D1)
3927 {
3928 Name (_ADR, 0x01)
3929 Method (_GTF, 0, NotSerialized)
3930 {
3931 Name (BUF, Buffer (0x05)
3932 {
3933 /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00
3934 })
3935 CreateWordField (BUF, 0x00, VMDT)
3936 CreateByteField (BUF, 0x02, VPIM)
3937 CreateByteField (BUF, 0x03, VUDC)
3938 CreateByteField (BUF, 0x04, VUDM)
3939 Store (^^^SMDT, VMDT)
3940 Store (^^^SPIM, VPIM)
3941 Store (^^^SUDC, VUDC)
3942 Store (^^^SUDM, VUDM)
3943 Return (GTF (0xB0, BUF))
3944 }
3945 }
3946 }
3947 }
3948
3949 Device (PCE2)
3950 {
3951 Name (_ADR, 0x00020000)
3952 Method (_PRW, 0, NotSerialized)
3953 {
3954 Return (Package (0x02)
3955 {
3956 0x18,
3957 0x04
3958 })
3959 }
3960
3961 Name (PICM, Package (0x04)
3962 {
3963 Package (0x04)
3964 {
3965 0xFFFF,
3966 0x00,
3967 LNKC,
3968 0x00
3969 },
3970
3971 Package (0x04)
3972 {
3973 0xFFFF,
3974 0x01,
3975 LNKD,
3976 0x00
3977 },
3978
3979 Package (0x04)
3980 {
3981 0xFFFF,
3982 0x02,
3983 LNKA,
3984 0x00
3985 },
3986
3987 Package (0x04)
3988 {
3989 0xFFFF,
3990 0x03,
3991 LNKB,
3992 0x00
3993 }
3994 })
3995 Name (APIC, Package (0x04)
3996 {
3997 Package (0x04)
3998 {
3999 0xFFFF,
4000 0x00,
4001 0x00,
4002 0x12
4003 },
4004
4005 Package (0x04)
4006 {
4007 0xFFFF,
4008 0x01,
4009 0x00,
4010 0x13
4011 },
4012
4013 Package (0x04)
4014 {
4015 0xFFFF,
4016 0x02,
4017 0x00,
4018 0x10
4019 },
4020
4021 Package (0x04)
4022 {
4023 0xFFFF,
4024 0x03,
4025 0x00,
4026 0x11
4027 }
4028 })
4029 Method (_PRT, 0, NotSerialized)
4030 {
4031 If (LNot (PICF))
4032 {
4033 Return (PICM)
4034 }
4035 Else
4036 {
4037 Return (APIC)
4038 }
4039 }
4040 }
4041
4042 Device (PCE3)
4043 {
4044 Name (_ADR, 0x00030000)
4045 Method (_PRW, 0, NotSerialized)
4046 {
4047 Return (Package (0x02)
4048 {
4049 0x18,
4050 0x04
4051 })
4052 }
4053
4054 Name (PICM, Package (0x04)
4055 {
4056 Package (0x04)
4057 {
4058 0xFFFF,
4059 0x00,
4060 LNKD,
4061 0x00
4062 },
4063
4064 Package (0x04)
4065 {
4066 0xFFFF,
4067 0x01,
4068 LNKA,
4069 0x00
4070 },
4071
4072 Package (0x04)
4073 {
4074 0xFFFF,
4075 0x02,
4076 LNKB,
4077 0x00
4078 },
4079
4080 Package (0x04)
4081 {
4082 0xFFFF,
4083 0x03,
4084 LNKC,
4085 0x00
4086 }
4087 })
4088 Name (APIC, Package (0x04)
4089 {
4090 Package (0x04)
4091 {
4092 0xFFFF,
4093 0x00,
4094 0x00,
4095 0x13
4096 },
4097
4098 Package (0x04)
4099 {
4100 0xFFFF,
4101 0x01,
4102 0x00,
4103 0x10
4104 },
4105
4106 Package (0x04)
4107 {
4108 0xFFFF,
4109 0x02,
4110 0x00,
4111 0x11
4112 },
4113
4114 Package (0x04)
4115 {
4116 0xFFFF,
4117 0x03,
4118 0x00,
4119 0x12
4120 }
4121 })
4122 Method (_PRT, 0, NotSerialized)
4123 {
4124 If (LNot (PICF))
4125 {
4126 Return (PICM)
4127 }
4128 Else
4129 {
4130 Return (APIC)
4131 }
4132 }
4133 }
4134
4135 Device (PCE4)
4136 {
4137 Name (_ADR, 0x00040000)
4138 Method (_PRW, 0, NotSerialized)
4139 {
4140 Return (Package (0x02)
4141 {
4142 0x18,
4143 0x04
4144 })
4145 }
4146
4147 Name (PICM, Package (0x04)
4148 {
4149 Package (0x04)
4150 {
4151 0xFFFF,
4152 0x00,
4153 LNKA,
4154 0x00
4155 },
4156
4157 Package (0x04)
4158 {
4159 0xFFFF,
4160 0x01,
4161 LNKB,
4162 0x00
4163 },
4164
4165 Package (0x04)
4166 {
4167 0xFFFF,
4168 0x02,
4169 LNKC,
4170 0x00
4171 },
4172
4173 Package (0x04)
4174 {
4175 0xFFFF,
4176 0x03,
4177 LNKD,
4178 0x00
4179 }
4180 })
4181 Name (APIC, Package (0x04)
4182 {
4183 Package (0x04)
4184 {
4185 0xFFFF,
4186 0x00,
4187 0x00,
4188 0x10
4189 },
4190
4191 Package (0x04)
4192 {
4193 0xFFFF,
4194 0x01,
4195 0x00,
4196 0x11
4197 },
4198
4199 Package (0x04)
4200 {
4201 0xFFFF,
4202 0x02,
4203 0x00,
4204 0x12
4205 },
4206
4207 Package (0x04)
4208 {
4209 0xFFFF,
4210 0x03,
4211 0x00,
4212 0x13
4213 }
4214 })
4215 Method (_PRT, 0, NotSerialized)
4216 {
4217 If (LNot (PICF))
4218 {
4219 Return (PICM)
4220 }
4221 Else
4222 {
4223 Return (APIC)
4224 }
4225 }
4226 }
4227
4228 Device (PCE5)
4229 {
4230 Name (_ADR, 0x00050000)
4231 Method (_PRW, 0, NotSerialized)
4232 {
4233 Return (Package (0x02)
4234 {
4235 0x18,
4236 0x04
4237 })
4238 }
4239
4240 Name (PICM, Package (0x04)
4241 {
4242 Package (0x04)
4243 {
4244 0xFFFF,
4245 0x00,
4246 LNKB,
4247 0x00
4248 },
4249
4250 Package (0x04)
4251 {
4252 0xFFFF,
4253 0x01,
4254 LNKC,
4255 0x00
4256 },
4257
4258 Package (0x04)
4259 {
4260 0xFFFF,
4261 0x02,
4262 LNKD,
4263 0x00
4264 },
4265
4266 Package (0x04)
4267 {
4268 0xFFFF,
4269 0x03,
4270 LNKA,
4271 0x00
4272 }
4273 })
4274 Name (APIC, Package (0x04)
4275 {
4276 Package (0x04)
4277 {
4278 0xFFFF,
4279 0x00,
4280 0x00,
4281 0x11
4282 },
4283
4284 Package (0x04)
4285 {
4286 0xFFFF,
4287 0x01,
4288 0x00,
4289 0x12
4290 },
4291
4292 Package (0x04)
4293 {
4294 0xFFFF,
4295 0x02,
4296 0x00,
4297 0x13
4298 },
4299
4300 Package (0x04)
4301 {
4302 0xFFFF,
4303 0x03,
4304 0x00,
4305 0x10
4306 }
4307 })
4308 Method (_PRT, 0, NotSerialized)
4309 {
4310 If (LNot (PICF))
4311 {
4312 Return (PICM)
4313 }
4314 Else
4315 {
4316 Return (APIC)
4317 }
4318 }
4319 }
4320
4321 Device (PCE6)
4322 {
4323 Name (_ADR, 0x00060000)
4324 Method (_PRW, 0, NotSerialized)
4325 {
4326 Return (Package (0x02)
4327 {
4328 0x18,
4329 0x04
4330 })
4331 }
4332
4333 Name (PICM, Package (0x04)
4334 {
4335 Package (0x04)
4336 {
4337 0xFFFF,
4338 0x00,
4339 LNKC,
4340 0x00
4341 },
4342
4343 Package (0x04)
4344 {
4345 0xFFFF,
4346 0x01,
4347 LNKD,
4348 0x00
4349 },
4350
4351 Package (0x04)
4352 {
4353 0xFFFF,
4354 0x02,
4355 LNKA,
4356 0x00
4357 },
4358
4359 Package (0x04)
4360 {
4361 0xFFFF,
4362 0x03,
4363 LNKB,
4364 0x00
4365 }
4366 })
4367 Name (APIC, Package (0x04)
4368 {
4369 Package (0x04)
4370 {
4371 0xFFFF,
4372 0x00,
4373 0x00,
4374 0x12
4375 },
4376
4377 Package (0x04)
4378 {
4379 0xFFFF,
4380 0x01,
4381 0x00,
4382 0x13
4383 },
4384
4385 Package (0x04)
4386 {
4387 0xFFFF,
4388 0x02,
4389 0x00,
4390 0x10
4391 },
4392
4393 Package (0x04)
4394 {
4395 0xFFFF,
4396 0x03,
4397 0x00,
4398 0x11
4399 }
4400 })
4401 Method (_PRT, 0, NotSerialized)
4402 {
4403 If (LNot (PICF))
4404 {
4405 Return (PICM)
4406 }
4407 Else
4408 {
4409 Return (APIC)
4410 }
4411 }
4412 }
4413
4414 Device (PCE7)
4415 {
4416 Name (_ADR, 0x00070000)
4417 Method (_PRW, 0, NotSerialized)
4418 {
4419 Return (Package (0x02)
4420 {
4421 0x18,
4422 0x04
4423 })
4424 }
4425
4426 Name (PICM, Package (0x04)
4427 {
4428 Package (0x04)
4429 {
4430 0xFFFF,
4431 0x00,
4432 LNKD,
4433 0x00
4434 },
4435
4436 Package (0x04)
4437 {
4438 0xFFFF,
4439 0x01,
4440 LNKA,
4441 0x00
4442 },
4443
4444 Package (0x04)
4445 {
4446 0xFFFF,
4447 0x02,
4448 LNKB,
4449 0x00
4450 },
4451
4452 Package (0x04)
4453 {
4454 0xFFFF,
4455 0x03,
4456 LNKC,
4457 0x00
4458 }
4459 })
4460 Name (APIC, Package (0x04)
4461 {
4462 Package (0x04)
4463 {
4464 0xFFFF,
4465 0x00,
4466 0x00,
4467 0x13
4468 },
4469
4470 Package (0x04)
4471 {
4472 0xFFFF,
4473 0x01,
4474 0x00,
4475 0x10
4476 },
4477
4478 Package (0x04)
4479 {
4480 0xFFFF,
4481 0x02,
4482 0x00,
4483 0x11
4484 },
4485
4486 Package (0x04)
4487 {
4488 0xFFFF,
4489 0x03,
4490 0x00,
4491 0x12
4492 }
4493 })
4494 Method (_PRT, 0, NotSerialized)
4495 {
4496 If (LNot (PICF))
4497 {
4498 Return (PICM)
4499 }
4500 Else
4501 {
4502 Return (APIC)
4503 }
4504 }
4505 }
4506
4507 Device (PCE9)
4508 {
4509 Name (_ADR, 0x00090000)
4510 Method (_PRW, 0, NotSerialized)
4511 {
4512 Return (Package (0x02)
4513 {
4514 0x18,
4515 0x04
4516 })
4517 }
4518
4519 Name (PICM, Package (0x04)
4520 {
4521 Package (0x04)
4522 {
4523 0xFFFF,
4524 0x00,
4525 LNKB,
4526 0x00
4527 },
4528
4529 Package (0x04)
4530 {
4531 0xFFFF,
4532 0x01,
4533 LNKC,
4534 0x00
4535 },
4536
4537 Package (0x04)
4538 {
4539 0xFFFF,
4540 0x02,
4541 LNKD,
4542 0x00
4543 },
4544
4545 Package (0x04)
4546 {
4547 0xFFFF,
4548 0x03,
4549 LNKA,
4550 0x00
4551 }
4552 })
4553 Name (APIC, Package (0x04)
4554 {
4555 Package (0x04)
4556 {
4557 0xFFFF,
4558 0x00,
4559 0x00,
4560 0x11
4561 },
4562
4563 Package (0x04)
4564 {
4565 0xFFFF,
4566 0x01,
4567 0x00,
4568 0x12
4569 },
4570
4571 Package (0x04)
4572 {
4573 0xFFFF,
4574 0x02,
4575 0x00,
4576 0x13
4577 },
4578
4579 Package (0x04)
4580 {
4581 0xFFFF,
4582 0x03,
4583 0x00,
4584 0x10
4585 }
4586 })
4587 Method (_PRT, 0, NotSerialized)
4588 {
4589 If (LNot (PICF))
4590 {
4591 Return (PICM)
4592 }
4593 Else
4594 {
4595 Return (APIC)
4596 }
4597 }
4598 }
4599
4600 Device (PCEA)
4601 {
4602 Name (_ADR, 0x000A0000)
4603 Method (_PRW, 0, NotSerialized)
4604 {
4605 Return (Package (0x02)
4606 {
4607 0x18,
4608 0x04
4609 })
4610 }
4611
4612 Name (PICM, Package (0x04)
4613 {
4614 Package (0x04)
4615 {
4616 0xFFFF,
4617 0x00,
4618 LNKC,
4619 0x00
4620 },
4621
4622 Package (0x04)
4623 {
4624 0xFFFF,
4625 0x01,
4626 LNKD,
4627 0x00
4628 },
4629
4630 Package (0x04)
4631 {
4632 0xFFFF,
4633 0x02,
4634 LNKA,
4635 0x00
4636 },
4637
4638 Package (0x04)
4639 {
4640 0xFFFF,
4641 0x03,
4642 LNKB,
4643 0x00
4644 }
4645 })
4646 Name (APIC, Package (0x04)
4647 {
4648 Package (0x04)
4649 {
4650 0xFFFF,
4651 0x00,
4652 0x00,
4653 0x12
4654 },
4655
4656 Package (0x04)
4657 {
4658 0xFFFF,
4659 0x01,
4660 0x00,
4661 0x13
4662 },
4663
4664 Package (0x04)
4665 {
4666 0xFFFF,
4667 0x02,
4668 0x00,
4669 0x10
4670 },
4671
4672 Package (0x04)
4673 {
4674 0xFFFF,
4675 0x03,
4676 0x00,
4677 0x11
4678 }
4679 })
4680 Method (_PRT, 0, NotSerialized)
4681 {
4682 If (LNot (PICF))
4683 {
4684 Return (PICM)
4685 }
4686 Else
4687 {
4688 Return (APIC)
4689 }
4690 }
4691 }
4692
4693 Device (PCEB)
4694 {
4695 Name (_ADR, 0x000B0000)
4696 Method (_PRW, 0, NotSerialized)
4697 {
4698 Return (Package (0x02)
4699 {
4700 0x18,
4701 0x04
4702 })
4703 }
4704
4705 Name (PICM, Package (0x04)
4706 {
4707 Package (0x04)
4708 {
4709 0xFFFF,
4710 0x00,
4711 LNKD,
4712 0x00
4713 },
4714
4715 Package (0x04)
4716 {
4717 0xFFFF,
4718 0x01,
4719 LNKA,
4720 0x00
4721 },
4722
4723 Package (0x04)
4724 {
4725 0xFFFF,
4726 0x02,
4727 LNKB,
4728 0x00
4729 },
4730
4731 Package (0x04)
4732 {
4733 0xFFFF,
4734 0x03,
4735 LNKC,
4736 0x00
4737 }
4738 })
4739 Name (APIC, Package (0x04)
4740 {
4741 Package (0x04)
4742 {
4743 0xFFFF,
4744 0x00,
4745 0x00,
4746 0x13
4747 },
4748
4749 Package (0x04)
4750 {
4751 0xFFFF,
4752 0x01,
4753 0x00,
4754 0x10
4755 },
4756
4757 Package (0x04)
4758 {
4759 0xFFFF,
4760 0x02,
4761 0x00,
4762 0x11
4763 },
4764
4765 Package (0x04)
4766 {
4767 0xFFFF,
4768 0x03,
4769 0x00,
4770 0x12
4771 }
4772 })
4773 Method (_PRT, 0, NotSerialized)
4774 {
4775 If (LNot (PICF))
4776 {
4777 Return (PICM)
4778 }
4779 Else
4780 {
4781 Return (APIC)
4782 }
4783 }
4784 }
4785
4786 Device (PCEC)
4787 {
4788 Name (_ADR, 0x000C0000)
4789 Method (_PRW, 0, NotSerialized)
4790 {
4791 Return (Package (0x02)
4792 {
4793 0x18,
4794 0x04
4795 })
4796 }
4797
4798 Name (PICM, Package (0x04)
4799 {
4800 Package (0x04)
4801 {
4802 0xFFFF,
4803 0x00,
4804 LNKA,
4805 0x00
4806 },
4807
4808 Package (0x04)
4809 {
4810 0xFFFF,
4811 0x01,
4812 LNKB,
4813 0x00
4814 },
4815
4816 Package (0x04)
4817 {
4818 0xFFFF,
4819 0x02,
4820 LNKC,
4821 0x00
4822 },
4823
4824 Package (0x04)
4825 {
4826 0xFFFF,
4827 0x03,
4828 LNKD,
4829 0x00
4830 }
4831 })
4832 Name (APIC, Package (0x04)
4833 {
4834 Package (0x04)
4835 {
4836 0xFFFF,
4837 0x00,
4838 0x00,
4839 0x10
4840 },
4841
4842 Package (0x04)
4843 {
4844 0xFFFF,
4845 0x01,
4846 0x00,
4847 0x11
4848 },
4849
4850 Package (0x04)
4851 {
4852 0xFFFF,
4853 0x02,
4854 0x00,
4855 0x12
4856 },
4857
4858 Package (0x04)
4859 {
4860 0xFFFF,
4861 0x03,
4862 0x00,
4863 0x13
4864 }
4865 })
4866 Method (_PRT, 0, NotSerialized)
4867 {
4868 If (LNot (PICF))
4869 {
4870 Return (PICM)
4871 }
4872 Else
4873 {
4874 Return (APIC)
4875 }
4876 }
4877 }
4878
4879 Scope (\)
4880 {
4881 Method (DISD, 1, NotSerialized)
4882 {
4883 }
4884
4885 Method (CKIO, 2, NotSerialized)
4886 {
4887 }
4888
4889 Method (SLDM, 2, NotSerialized)
4890 {
4891 }
4892 }
4893
4894 Scope (\)
4895 {
4896 OperationRegion (WIN1, SystemIO, 0x2E, 0x02)
4897 Field (WIN1, ByteAcc, NoLock, Preserve)
4898 {
4899 INDP, 8,
4900 DATP, 8
4901 }
4902
4903 OperationRegion (GPIO, SystemIO, 0x0800, 0x05)
4904 Field (GPIO, ByteAcc, NoLock, Preserve)
4905 {
4906 GO01, 8,
4907 GO02, 8,
4908 GO03, 8,
4909 GO04, 8,
4910 GO05, 8
4911 }
4912
4913 IndexField (INDP, DATP, ByteAcc, NoLock, Preserve)
4914 {
4915 Offset (0x02),
4916 CFG, 8,
4917 Offset (0x07),
4918 LDN, 8,
4919 Offset (0x20),
4920 IDHI, 8,
4921 IDLO, 8,
4922 POWC, 8,
4923 Offset (0x30),
4924 ACTR, 8,
4925 Offset (0x60),
4926 IOAH, 8,
4927 IOAL, 8,
4928 IO2H, 8,
4929 IO2L, 8,
4930 Offset (0x70),
4931 INTR, 8,
4932 Offset (0x72),
4933 INT1, 8,
4934 Offset (0x74),
4935 DMCH, 8,
4936 Offset (0xC0),
4937 GP40, 8,
4938 Offset (0xF0),
4939 OPT1, 8,
4940 OPT2, 8,
4941 OPT3, 8,
4942 OPT4, 8
4943 }
4944
4945 Method (ENFG, 0, NotSerialized)
4946 {
4947 Store (0x87, INDP)
4948 Store (0x01, INDP)
4949 Store (0x55, INDP)
4950 Store (0x55, INDP)
4951 }
4952
4953 Method (EXFG, 0, NotSerialized)
4954 {
4955 Store (0x02, CFG)
4956 }
4957
4958 Method (GSRG, 1, NotSerialized)
4959 {
4960 Store (Arg0, INDP)
4961 Return (DATP)
4962 }
4963
4964 Method (SSRG, 2, NotSerialized)
4965 {
4966 Store (Arg0, INDP)
4967 Store (Arg1, DATP)
4968 }
4969 }
4970
4971 Device (FDC0)
4972 {
4973 Name (_HID, EisaId ("PNP0700"))
4974 Method (_STA, 0, NotSerialized)
4975 {
4976 ENFG ()
4977 Store (Zero, LDN)
4978 If (ACTR)
4979 {
4980 EXFG ()
4981 Return (0x0F)
4982 }
4983 Else
4984 {
4985 If (LOr (IOAH, IOAL))
4986 {
4987 EXFG ()
4988 Return (0x0D)
4989 }
4990 Else
4991 {
4992 EXFG ()
4993 Return (0x00)
4994 }
4995 }
4996 }
4997
4998 Method (_DIS, 0, NotSerialized)
4999 {
5000 ENFG ()
5001 Store (0x00, LDN)
5002 Store (Zero, ACTR)
5003 SLDM (DMCH, 0x04)
5004 EXFG ()
5005 DISD (0x03)
5006 }
5007
5008 Method (_CRS, 0, NotSerialized)
5009 {
5010 Name (BUF0, ResourceTemplate ()
5011 {
5012 IO (Decode16,
5013 0x03F0, // Range Minimum
5014 0x03F0, // Range Maximum
5015 0x01, // Alignment
5016 0x06, // Length
5017 _Y02)
5018 IO (Decode16,
5019 0x03F7, // Range Minimum
5020 0x03F7, // Range Maximum
5021 0x01, // Alignment
5022 0x01, // Length
5023 )
5024 IRQNoFlags ()
5025 {6}
5026 DMA (Compatibility, NotBusMaster, Transfer8, )
5027 {2}
5028 })
5029 CreateByteField (BUF0, \_SB.PCI0.FDC0._CRS._Y02._MIN, IOLO)
5030 CreateByteField (BUF0, 0x03, IOHI)
5031 CreateByteField (BUF0, \_SB.PCI0.FDC0._CRS._Y02._MAX, IORL)
5032 CreateByteField (BUF0, 0x05, IORH)
5033 ENFG ()
5034 EXFG ()
5035 Return (BUF0)
5036 }
5037
5038 Name (_PRS, ResourceTemplate ()
5039 {
5040 StartDependentFnNoPri ()
5041 {
5042 IO (Decode16,
5043 0x03F0, // Range Minimum
5044 0x03F0, // Range Maximum
5045 0x01, // Alignment
5046 0x06, // Length
5047 )
5048 IO (Decode16,
5049 0x03F7, // Range Minimum
5050 0x03F7, // Range Maximum
5051 0x01, // Alignment
5052 0x01, // Length
5053 )
5054 IRQNoFlags ()
5055 {6}
5056 DMA (Compatibility, NotBusMaster, Transfer8, )
5057 {2}
5058 }
5059 EndDependentFn ()
5060 })
5061 Method (_SRS, 1, NotSerialized)
5062 {
5063 CreateByteField (Arg0, 0x02, IOLO)
5064 CreateByteField (Arg0, 0x03, IOHI)
5065 CreateWordField (Arg0, 0x02, IOAD)
5066 CreateWordField (Arg0, 0x19, IRQW)
5067 CreateByteField (Arg0, 0x1C, DMAV)
5068 ENFG ()
5069 Store (Zero, LDN)
5070 Store (One, ACTR)
5071 SLDM (DMCH, DMCH)
5072 CKIO (IOAD, 0x03)
5073 EXFG ()
5074 }
5075 }
5076
5077 Device (UAR1)
5078 {
5079 Name (_HID, EisaId ("PNP0501"))
5080 Name (_UID, 0x01)
5081 Method (_STA, 0, NotSerialized)
5082 {
5083 ENFG ()
5084 Store (0x01, LDN)
5085 If (ACTR)
5086 {
5087 EXFG ()
5088 Return (0x0F)
5089 }
5090 Else
5091 {
5092 If (LOr (IOAH, IOAL))
5093 {
5094 EXFG ()
5095 Return (0x0D)
5096 }
5097 Else
5098 {
5099 EXFG ()
5100 Return (0x00)
5101 }
5102 }
5103
5104 EXFG ()
5105 }
5106
5107 Method (_DIS, 0, NotSerialized)
5108 {
5109 ENFG ()
5110 Store (0x01, LDN)
5111 Store (Zero, ACTR)
5112 EXFG ()
5113 DISD (0x00)
5114 }
5115
5116 Method (_CRS, 0, NotSerialized)
5117 {
5118 Name (BUF1, ResourceTemplate ()
5119 {
5120 IO (Decode16,
5121 0x0000, // Range Minimum
5122 0x0000, // Range Maximum
5123 0x01, // Alignment
5124 0x08, // Length
5125 _Y03)
5126 IRQNoFlags (_Y04)
5127 {}
5128 })
5129 CreateByteField (BUF1, \_SB.PCI0.UAR1._CRS._Y03._MIN, IOLO)
5130 CreateByteField (BUF1, 0x03, IOHI)
5131 CreateByteField (BUF1, \_SB.PCI0.UAR1._CRS._Y03._MAX, IORL)
5132 CreateByteField (BUF1, 0x05, IORH)
5133 CreateWordField (BUF1, \_SB.PCI0.UAR1._CRS._Y04._INT, IRQW)
5134 ENFG ()
5135 Store (0x01, LDN)
5136 Store (IOAL, IOLO)
5137 Store (IOAL, IORL)
5138 Store (IOAH, IOHI)
5139 Store (IOAH, IORH)
5140 Store (One, Local0)
5141 ShiftLeft (Local0, INTR, IRQW)
5142 EXFG ()
5143 Return (BUF1)
5144 }
5145
5146 Name (_PRS, ResourceTemplate ()
5147 {
5148 StartDependentFnNoPri ()
5149 {
5150 IO (Decode16,
5151 0x03F8, // Range Minimum
5152 0x03F8, // Range Maximum
5153 0x01, // Alignment
5154 0x08, // Length
5155 )
5156 IRQNoFlags ()
5157 {3,4,5,7,9,10,11,12}
5158 }
5159 StartDependentFnNoPri ()
5160 {
5161 IO (Decode16,
5162 0x02F8, // Range Minimum
5163 0x02F8, // Range Maximum
5164 0x01, // Alignment
5165 0x08, // Length
5166 )
5167 IRQNoFlags ()
5168 {3,4,5,7,9,10,11,12}
5169 }
5170 StartDependentFnNoPri ()
5171 {
5172 IO (Decode16,
5173 0x03E8, // Range Minimum
5174 0x03E8, // Range Maximum
5175 0x01, // Alignment
5176 0x08, // Length
5177 )
5178 IRQNoFlags ()
5179 {3,4,5,7,9,10,11,12}
5180 }
5181 StartDependentFnNoPri ()
5182 {
5183 IO (Decode16,
5184 0x02E8, // Range Minimum
5185 0x02E8, // Range Maximum
5186 0x01, // Alignment
5187 0x08, // Length
5188 )
5189 IRQNoFlags ()
5190 {3,4,5,7,9,10,11,12}
5191 }
5192 EndDependentFn ()
5193 })
5194 Method (_SRS, 1, NotSerialized)
5195 {
5196 CreateByteField (Arg0, 0x02, IOLO)
5197 CreateByteField (Arg0, 0x03, IOHI)
5198 CreateWordField (Arg0, 0x02, IOAD)
5199 CreateWordField (Arg0, 0x09, IRQW)
5200 ENFG ()
5201 Store (0x01, LDN)
5202 Store (One, ACTR)
5203 Store (IOLO, IOAL)
5204 Store (IOHI, IOAH)
5205 FindSetRightBit (IRQW, Local0)
5206 Subtract (Local0, 0x01, INTR)
5207 EXFG ()
5208 CKIO (IOAD, 0x00)
5209 }
5210 }
5211
5212 Device (LPT1)
5213 {
5214 Name (_HID, EisaId ("PNP0400"))
5215 Method (_STA, 0, NotSerialized)
5216 {
5217 ENFG ()
5218 Store (0x03, LDN)
5219 And (OPT1, 0x02, Local0)
5220 If (LNotEqual (Local0, 0x02))
5221 {
5222 If (ACTR)
5223 {
5224 EXFG ()
5225 Return (0x0F)
5226 }
5227 Else
5228 {
5229 If (LOr (IOAH, IOAL))
5230 {
5231 EXFG ()
5232 Return (0x0D)
5233 }
5234 Else
5235 {
5236 EXFG ()
5237 Return (0x00)
5238 }
5239 }
5240 }
5241 Else
5242 {
5243 EXFG ()
5244 Return (0x00)
5245 }
5246 }
5247
5248 Method (_DIS, 0, NotSerialized)
5249 {
5250 ENFG ()
5251 Store (0x03, LDN)
5252 Store (Zero, ACTR)
5253 EXFG ()
5254 DISD (0x02)
5255 }
5256
5257 Method (_CRS, 0, NotSerialized)
5258 {
5259 Name (BUF5, ResourceTemplate ()
5260 {
5261 IO (Decode16,
5262 0x0000, // Range Minimum
5263 0x0000, // Range Maximum
5264 0x01, // Alignment
5265 0x08, // Length
5266 _Y05)
5267 IRQNoFlags (_Y06)
5268 {}
5269 })
5270 CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y05._MIN, IOLO)
5271 CreateByteField (BUF5, 0x03, IOHI)
5272 CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y05._MAX, IORL)
5273 CreateByteField (BUF5, 0x05, IORH)
5274 CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y05._LEN, IOLE)
5275 CreateWordField (BUF5, \_SB.PCI0.LPT1._CRS._Y06._INT, IRQW)
5276 ENFG ()
5277 Store (0x03, LDN)
5278 Store (IOAL, IOLO)
5279 Store (IOLO, IORL)
5280 Store (IOAH, IOHI)
5281 Store (IOHI, IORH)
5282 If (LEqual (IOLO, 0xBC))
5283 {
5284 Store (0x04, IOLE)
5285 }
5286 Else
5287 {
5288 Store (0x08, IOLE)
5289 }
5290
5291 Store (One, Local0)
5292 Store (INTR, Local5)
5293 ShiftLeft (Local0, Local5, IRQW)
5294 EXFG ()
5295 Return (BUF5)
5296 }
5297
5298 Name (_PRS, ResourceTemplate ()
5299 {
5300 StartDependentFnNoPri ()
5301 {
5302 IO (Decode16,
5303 0x0378, // Range Minimum
5304 0x0378, // Range Maximum
5305 0x01, // Alignment
5306 0x08, // Length
5307 )
5308 IRQNoFlags ()
5309 {3,4,5,7,9,10,11,12}
5310 }
5311 StartDependentFnNoPri ()
5312 {
5313 IO (Decode16,
5314 0x0278, // Range Minimum
5315 0x0278, // Range Maximum
5316 0x01, // Alignment
5317 0x08, // Length
5318 )
5319 IRQNoFlags ()
5320 {3,4,5,7,9,10,11,12}
5321 }
5322 StartDependentFnNoPri ()
5323 {
5324 IO (Decode16,
5325 0x03BC, // Range Minimum
5326 0x03BC, // Range Maximum
5327 0x01, // Alignment
5328 0x04, // Length
5329 )
5330 IRQNoFlags ()
5331 {3,4,5,7,9,10,11,12}
5332 }
5333 EndDependentFn ()
5334 })
5335 Method (_SRS, 1, NotSerialized)
5336 {
5337 CreateByteField (Arg0, 0x02, IOLO)
5338 CreateByteField (Arg0, 0x03, IOHI)
5339 CreateWordField (Arg0, 0x02, IOAD)
5340 CreateByteField (Arg0, 0x04, IORL)
5341 CreateByteField (Arg0, 0x05, IORH)
5342 CreateWordField (Arg0, 0x09, IRQW)
5343 ENFG ()
5344 Store (0x03, LDN)
5345 Store (One, ACTR)
5346 Store (IOLO, IOAL)
5347 Store (IOHI, IOAH)
5348 FindSetLeftBit (IRQW, Local0)
5349 Subtract (Local0, 0x01, Local0)
5350 Store (Local0, INTR)
5351 EXFG ()
5352 CKIO (IOAD, 0x02)
5353 }
5354 }
5355
5356 Device (ECP1)
5357 {
5358 Name (_HID, EisaId ("PNP0401"))
5359 Method (_STA, 0, NotSerialized)
5360 {
5361 ENFG ()
5362 Store (0x03, LDN)
5363 And (OPT1, 0x02, Local0)
5364 If (LEqual (Local0, 0x02))
5365 {
5366 If (ACTR)
5367 {
5368 EXFG ()
5369 Return (0x0F)
5370 }
5371 Else
5372 {
5373 If (LOr (IOAH, IOAL))
5374 {
5375 EXFG ()
5376 Return (0x0D)
5377 }
5378 Else
5379 {
5380 EXFG ()
5381 Return (0x00)
5382 }
5383 }
5384 }
5385 Else
5386 {
5387 EXFG ()
5388 Return (0x00)
5389 }
5390 }
5391
5392 Method (_DIS, 0, NotSerialized)
5393 {
5394 ENFG ()
5395 Store (0x03, LDN)
5396 Store (Zero, ACTR)
5397 SLDM (DMCH, 0x04)
5398 EXFG ()
5399 DISD (0x02)
5400 }
5401
5402 Method (_CRS, 0, NotSerialized)
5403 {
5404 Name (BUF6, ResourceTemplate ()
5405 {
5406 IO (Decode16,
5407 0x0000, // Range Minimum
5408 0x0000, // Range Maximum
5409 0x01, // Alignment
5410 0x04, // Length
5411 _Y07)
5412 IO (Decode16,
5413 0x0000, // Range Minimum
5414 0x0000, // Range Maximum
5415 0x01, // Alignment
5416 0x04, // Length
5417 _Y08)
5418 IRQNoFlags (_Y09)
5419 {}
5420 DMA (Compatibility, NotBusMaster, Transfer8, _Y0A)
5421 {}
5422 })
5423 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y07._MIN, IOLO)
5424 CreateByteField (BUF6, 0x03, IOHI)
5425 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y07._MAX, IORL)
5426 CreateByteField (BUF6, 0x05, IORH)
5427 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y07._LEN, IOLE)
5428 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y08._MIN, IOEL)
5429 CreateByteField (BUF6, 0x0B, IOEH)
5430 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y08._MAX, IOML)
5431 CreateByteField (BUF6, 0x0D, IOMH)
5432 CreateWordField (BUF6, \_SB.PCI0.ECP1._CRS._Y09._INT, IRQW)
5433 CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y0A._DMA, DMAC)
5434 ENFG ()
5435 Store (0x03, LDN)
5436 Store (IOAL, Local2)
5437 Store (Local2, IOLO)
5438 Store (IOAH, Local3)
5439 Store (Local3, IOHI)
5440 Or (Local3, 0x04, Local3)
5441 Store (Local3, IOEH)
5442 Store (Local3, IOMH)
5443 Store (IOLO, IORL)
5444 Store (IOLO, IOEL)
5445 Store (IOLO, IOML)
5446 Store (IOHI, IORH)
5447 If (LEqual (IOLO, 0xBC))
5448 {
5449 Store (0x04, IOLE)
5450 }
5451 Else
5452 {
5453 Store (0x08, IOLE)
5454 }
5455
5456 Store (One, Local0)
5457 Store (INTR, Local5)
5458 ShiftLeft (Local0, Local5, IRQW)
5459 Store (One, Local0)
5460 Store (DMCH, Local5)
5461 ShiftLeft (Local0, Local5, DMAC)
5462 EXFG ()
5463 Return (BUF6)
5464 }
5465
5466 Name (_PRS, ResourceTemplate ()
5467 {
5468 StartDependentFnNoPri ()
5469 {
5470 IO (Decode16,
5471 0x0378, // Range Minimum
5472 0x0378, // Range Maximum
5473 0x00, // Alignment
5474 0x08, // Length
5475 )
5476 IO (Decode16,
5477 0x0778, // Range Minimum
5478 0x0778, // Range Maximum
5479 0x00, // Alignment
5480 0x04, // Length
5481 )
5482 IRQNoFlags ()
5483 {3,4,5,7,9,10,11,12}
5484 DMA (Compatibility, NotBusMaster, Transfer8, )
5485 {0,1,3}
5486 }
5487 StartDependentFnNoPri ()
5488 {
5489 IO (Decode16,
5490 0x0278, // Range Minimum
5491 0x0278, // Range Maximum
5492 0x00, // Alignment
5493 0x08, // Length
5494 )
5495 IO (Decode16,
5496 0x0678, // Range Minimum
5497 0x0678, // Range Maximum
5498 0x00, // Alignment
5499 0x04, // Length
5500 )
5501 IRQNoFlags ()
5502 {3,4,5,7,9,10,11,12}
5503 DMA (Compatibility, NotBusMaster, Transfer8, )
5504 {0,1,3}
5505 }
5506 StartDependentFnNoPri ()
5507 {
5508 IO (Decode16,
5509 0x03BC, // Range Minimum
5510 0x03BC, // Range Maximum
5511 0x00, // Alignment
5512 0x04, // Length
5513 )
5514 IO (Decode16,
5515 0x07BC, // Range Minimum
5516 0x07BC, // Range Maximum
5517 0x00, // Alignment
5518 0x04, // Length
5519 )
5520 IRQNoFlags ()
5521 {3,4,5,7,9,10,11,12}
5522 DMA (Compatibility, NotBusMaster, Transfer8, )
5523 {0,1,3}
5524 }
5525 EndDependentFn ()
5526 })
5527 Method (_SRS, 1, NotSerialized)
5528 {
5529 CreateByteField (Arg0, 0x02, IOLO)
5530 CreateByteField (Arg0, 0x03, IOHI)
5531 CreateWordField (Arg0, 0x02, IOAD)
5532 CreateWordField (Arg0, 0x11, IRQW)
5533 CreateByteField (Arg0, 0x14, DMAC)
5534 ENFG ()
5535 Store (0x03, LDN)
5536 Store (One, ACTR)
5537 Store (IOLO, IOAL)
5538 Store (IOHI, IOAH)
5539 FindSetLeftBit (IRQW, Local0)
5540 Subtract (Local0, 0x01, Local0)
5541 Store (Local0, INTR)
5542 FindSetLeftBit (DMAC, Local1)
5543 Store (DMCH, Local0)
5544 Subtract (Local1, 0x01, DMCH)
5545 SLDM (Local0, DMCH)
5546 EXFG ()
5547 CKIO (IOAD, 0x02)
5548 }
5549 }
5550
5551 OperationRegion (KBCT, SystemIO, 0x60, 0x05)
5552 Field (KBCT, ByteAcc, NoLock, Preserve)
5553 {
5554 P060, 8,
5555 Offset (0x04),
5556 P064, 8
5557 }
5558
5559 Device (PS2M)
5560 {
5561 Name (_HID, EisaId ("PNP0F13"))
5562 Method (_STA, 0, NotSerialized)
5563 {
5564 If (LEqual (PS2F, 0x00))
5565 {
5566 Return (0x0F)
5567 }
5568 Else
5569 {
5570 Return (0x00)
5571 }
5572 }
5573
5574 Method (_CRS, 0, NotSerialized)
5575 {
5576 Name (BUF1, ResourceTemplate ()
5577 {
5578 IRQNoFlags ()
5579 {12}
5580 })
5581 Name (BUF2, ResourceTemplate ()
5582 {
5583 IO (Decode16,
5584 0x0060, // Range Minimum
5585 0x0060, // Range Maximum
5586 0x01, // Alignment
5587 0x01, // Length
5588 )
5589 IO (Decode16,
5590 0x0064, // Range Minimum
5591 0x0064, // Range Maximum
5592 0x01, // Alignment
5593 0x01, // Length
5594 )
5595 IRQNoFlags ()
5596 {12}
5597 })
5598 If (LEqual (KBDI, 0x01))
5599 {
5600 If (LEqual (OSFL, 0x02))
5601 {
5602 Return (BUF1)
5603 }
5604
5605 If (LEqual (OSFL, 0x01))
5606 {
5607 Return (BUF1)
5608 }
5609 Else
5610 {
5611 Return (BUF2)
5612 }
5613 }
5614 Else
5615 {
5616 Return (BUF1)
5617 }
5618 }
5619 }
5620
5621 Device (PS2K)
5622 {
5623 Name (_HID, EisaId ("PNP0303"))
5624 Method (_STA, 0, NotSerialized)
5625 {
5626 If (LEqual (KBDI, 0x01))
5627 {
5628 Return (0x00)
5629 }
5630 Else
5631 {
5632 Return (0x0F)
5633 }
5634 }
5635
5636 Name (_CRS, ResourceTemplate ()
5637 {
5638 IO (Decode16,
5639 0x0060, // Range Minimum
5640 0x0060, // Range Maximum
5641 0x01, // Alignment
5642 0x01, // Length
5643 )
5644 IO (Decode16,
5645 0x0064, // Range Minimum
5646 0x0064, // Range Maximum
5647 0x01, // Alignment
5648 0x01, // Length
5649 )
5650 IRQNoFlags ()
5651 {1}
5652 })
5653 }
5654
5655 Device (PSMR)
5656 {
5657 Name (_HID, EisaId ("PNP0C02"))
5658 Name (_UID, 0x03)
5659 Method (_STA, 0, NotSerialized)
5660 {
5661 If (LEqual (KBDI, 0x00))
5662 {
5663 Return (0x00)
5664 }
5665
5666 If (LEqual (PS2F, 0x00))
5667 {
5668 If (LEqual (OSFL, 0x02))
5669 {
5670 Return (0x0F)
5671 }
5672
5673 If (LEqual (OSFL, 0x01))
5674 {
5675 Return (0x0F)
5676 }
5677
5678 Return (0x00)
5679 }
5680
5681 Return (0x00)
5682 }
5683
5684 Name (_CRS, ResourceTemplate ()
5685 {
5686 IO (Decode16,
5687 0x0060, // Range Minimum
5688 0x0060, // Range Maximum
5689 0x01, // Alignment
5690 0x01, // Length
5691 )
5692 IO (Decode16,
5693 0x0064, // Range Minimum
5694 0x0064, // Range Maximum
5695 0x01, // Alignment
5696 0x01, // Length
5697 )
5698 })
5699 }
5700
5701 Method (\_SB.PCI0.PS2M._PRW, 0, NotSerialized)
5702 {
5703 Return (Package (0x02)
5704 {
5705 0x03,
5706 0x05
5707 })
5708 }
5709
5710 Method (\_SB.PCI0.PS2K._PRW, 0, NotSerialized)
5711 {
5712 Return (Package (0x02)
5713 {
5714 0x03,
5715 0x05
5716 })
5717 }
5718
5719 Method (_PRW, 0, NotSerialized)
5720 {
5721 Return (Package (0x02)
5722 {
5723 0x04,
5724 0x05
5725 })
5726 }
5727
5728 Device (AGP)
5729 {
5730 Name (_ADR, 0x00010000)
5731 Name (PICM, Package (0x06)
5732 {
5733 Package (0x04)
5734 {
5735 0x0005FFFF,
5736 0x00,
5737 \_SB.PCI0.LPC0.LNKC,
5738 0x00
5739 },
5740
5741 Package (0x04)
5742 {
5743 0x0005FFFF,
5744 0x01,
5745 \_SB.PCI0.LPC0.LNKD,
5746 0x00
5747 },
5748
5749 Package (0x04)
5750 {
5751 0x0005FFFF,
5752 0x02,
5753 \_SB.PCI0.LPC0.LNKA,
5754 0x00
5755 },
5756
5757 Package (0x04)
5758 {
5759 0x0005FFFF,
5760 0x03,
5761 \_SB.PCI0.LPC0.LNKB,
5762 0x00
5763 },
5764
5765 Package (0x04)
5766 {
5767 0x0007FFFF,
5768 0x00,
5769 \_SB.PCI0.LPC0.LNKA,
5770 0x00
5771 },
5772
5773 Package (0x04)
5774 {
5775 0x0007FFFF,
5776 0x01,
5777 \_SB.PCI0.LPC0.LNKD,
5778 0x00
5779 }
5780 })
5781 Name (APIC, Package (0x06)
5782 {
5783 Package (0x04)
5784 {
5785 0x0005FFFF,
5786 0x00,
5787 0x00,
5788 0x12
5789 },
5790
5791 Package (0x04)
5792 {
5793 0x0005FFFF,
5794 0x01,
5795 0x00,
5796 0x13
5797 },
5798
5799 Package (0x04)
5800 {
5801 0x0005FFFF,
5802 0x02,
5803 0x00,
5804 0x10
5805 },
5806
5807 Package (0x04)
5808 {
5809 0x0005FFFF,
5810 0x03,
5811 0x00,
5812 0x11
5813 },
5814
5815 Package (0x04)
5816 {
5817 0x0007FFFF,
5818 0x00,
5819 0x00,
5820 0x10
5821 },
5822
5823 Package (0x04)
5824 {
5825 0x0007FFFF,
5826 0x01,
5827 0x00,
5828 0x13
5829 }
5830 })
5831 Method (_PRT, 0, NotSerialized)
5832 {
5833 If (LNot (PICF))
5834 {
5835 Return (PICM)
5836 }
5837 Else
5838 {
5839 Return (APIC)
5840 }
5841 }
5842 }
5843 }
5844
5845 OperationRegion (SXTM, SystemMemory, 0x000FFEA1, 0x04)
5846 Field (SXTM, WordAcc, NoLock, Preserve)
5847 {
5848 SMEM, 32
5849 }
5850
5851 Device (MEM)
5852 {
5853 Name (_HID, EisaId ("PNP0C01"))
5854 Method (_CRS, 0, NotSerialized)
5855 {
5856 Name (BUF0, ResourceTemplate ()
5857 {
5858 Memory32Fixed (ReadWrite,
5859 0x000F0000, // Address Base
5860 0x00004000, // Address Length
5861 _Y0C)
5862 Memory32Fixed (ReadWrite,
5863 0x000F4000, // Address Base
5864 0x00004000, // Address Length
5865 _Y0D)
5866 Memory32Fixed (ReadWrite,
5867 0x000F8000, // Address Base
5868 0x00004000, // Address Length
5869 _Y0E)
5870 Memory32Fixed (ReadWrite,
5871 0x000FC000, // Address Base
5872 0x00004000, // Address Length
5873 _Y0F)
5874 Memory32Fixed (ReadWrite,
5875 0x00000000, // Address Base
5876 0x00010000, // Address Length
5877 _Y0B)
5878 Memory32Fixed (ReadWrite,
5879 0xFFFF0000, // Address Base
5880 0x00010000, // Address Length
5881 )
5882 Memory32Fixed (ReadWrite,
5883 0x00000000, // Address Base
5884 0x000A0000, // Address Length
5885 )
5886 Memory32Fixed (ReadWrite,
5887 0x00100000, // Address Base
5888 0x00000000, // Address Length
5889 _Y10)
5890 Memory32Fixed (ReadWrite,
5891 0x00000000, // Address Base
5892 0x00000000, // Address Length
5893 _Y11)
5894 Memory32Fixed (ReadWrite,
5895 0xFEC00000, // Address Base
5896 0x00001000, // Address Length
5897 )
5898 Memory32Fixed (ReadWrite,
5899 0xFEE00000, // Address Base
5900 0x00001000, // Address Length
5901 )
5902 Memory32Fixed (ReadWrite,
5903 0xFFF80000, // Address Base
5904 0x00070000, // Address Length
5905 )
5906 })
5907 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0B._BAS, ACMM)
5908 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0B._LEN, ASSM)
5909 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0C._BAS, RMA1)
5910 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0C._LEN, RSS1)
5911 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0D._BAS, RMA2)
5912 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0D._LEN, RSS2)
5913 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0E._BAS, RMA3)
5914 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0E._LEN, RSS3)
5915 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0F._BAS, RMA4)
5916 CreateDWordField (BUF0, \_SB.MEM._CRS._Y0F._LEN, RSS4)
5917 CreateDWordField (BUF0, \_SB.MEM._CRS._Y10._LEN, EXTM)
5918 CreateDWordField (BUF0, \_SB.MEM._CRS._Y11._BAS, SXT1)
5919 CreateDWordField (BUF0, \_SB.MEM._CRS._Y11._LEN, SXT2)
5920 If (LNotEqual (SMEM, Zero))
5921 {
5922 Add (AMEM, 0x00010000, SXT1)
5923 Add (SXT1, 0x00100000, SXT1)
5924 }
5925 Else
5926 {
5927 Store (Zero, SXT1)
5928 }
5929
5930 Store (SMEM, SXT2)
5931 Subtract (AMEM, 0x00100000, EXTM)
5932 If (LNotEqual (ROM1, Zero))
5933 {
5934 Store (RMA1, RMA2)
5935 ShiftLeft (ROM1, 0x08, Local0)
5936 Store (Local0, RMA1)
5937 ShiftLeft (RMS1, 0x08, Local0)
5938 Store (Local0, RSS1)
5939 Store (0x8000, RSS2)
5940 }
5941
5942 If (LNotEqual (ROM2, Zero))
5943 {
5944 Store (RMA2, RMA3)
5945 ShiftLeft (ROM2, 0x08, Local0)
5946 Store (Local0, RMA2)
5947 ShiftLeft (RMS2, 0x08, Local0)
5948 Store (Local0, RSS2)
5949 Store (0xC000, RSS3)
5950 }
5951
5952 If (LNotEqual (ROM3, Zero))
5953 {
5954 Store (RMA3, RMA4)
5955 ShiftLeft (ROM3, 0x08, Local0)
5956 Store (Local0, RMA3)
5957 ShiftLeft (RMS3, 0x08, Local0)
5958 Store (Local0, RSS3)
5959 Store (0x00010000, RSS4)
5960 }
5961
5962 Store (AMEM, ACMM)
5963 And (AMEM, 0x000FFFFF, Local0)
5964 Subtract (0x00100000, Local0, ASSM)
5965 Return (BUF0)
5966 }
5967 }
5968
5969 Device (\_SB.PCI0.EXPL)
5970 {
5971 Name (_HID, EisaId ("PNP0C02"))
5972 Name (_UID, 0x04)
5973 Method (_CRS, 0, NotSerialized)
5974 {
5975 Name (BUF0, ResourceTemplate ()
5976 {
5977 Memory32Fixed (ReadWrite,
5978 0xE0000000, // Address Base
5979 0x10000000, // Address Length
5980 )
5981 })
5982 Return (BUF0)
5983 }
5984 }
5985 }
5986}
5987