2 Legacy resource template
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 Name(_HID,EISAID("PNP0B00"))
22 Name(BUF0,ResourceTemplate() {
23 IO(Decode16,0x70,0x70,0x01,0x04)
24 IO(Decode16,0x74,0x74,0x01,0x04)
26 Name(BUF1,ResourceTemplate() {
27 IO(Decode16,0x70,0x70,0x01,0x04)
28 IO(Decode16,0x74,0x74,0x01,0x04)
31 Method(_CRS,0,Serialized)
46 Name(_HID,EISAID("PNP0000"))
48 Name(_CRS,ResourceTemplate() {
49 IO(Decode16,0x20,0x20,0x01,0x1E) // length of 1Eh includes all aliases
50 IO(Decode16,0xA0,0xA0,0x01,0x1E)
51 IO(Decode16,0x4D0,0x4D0,0x01,0x02)
57 Name(_HID,EISAID("PNP0100"))
59 Name(BUF0,ResourceTemplate() {
60 IO(Decode16,0x40,0x40,0x01,0x04)
61 IO(Decode16,0x50,0x50,0x01,0x04) // alias
63 Name(BUF1,ResourceTemplate() {
64 IO(Decode16,0x40,0x40,0x01,0x04)
65 IO(Decode16,0x50,0x50,0x01,0x04) // alias
68 Method(_CRS,0,Serialized)
83 Name(_HID,EISAID("PNP0800"))
85 Name(_CRS,ResourceTemplate() {
86 IO(Decode16,0x61,0x61,0x01,0x01)
90 Device(XTRA) // all "PNP0C02" devices- pieces that don't fit anywhere else
92 Name(_HID,EISAID("PNP0C02")) // Generic motherboard devices
97 IO(Decode16,0x2E,0x2E,0x01,0x02)
98 IO(Decode16,0x4E,0x2E,0x01,0x02)
99 IO(Decode16,0x63,0x61,0x01,0x01)
100 IO(Decode16,0x65,0x61,0x01,0x01)
101 IO(Decode16,0x67,0x61,0x01,0x01)
102 IO(Decode16,0x80,0x80,0x01,0x01)
103 IO(Decode16,0x84,0x84,0x01,0x04)
104 IO(Decode16,0x88,0x88,0x01,0x01)
105 IO(Decode16,0x8c,0x8c,0x01,0x03)
106 IO(Decode16,0x92,0x92,0x01,0x01)
156 Method (_CRS, 0, NotSerialized) {
157 CreateWordField (CRS, ^FIX1._MIN, MBR0)
159 CreateWordField (CRS, ^FIX1._MAX, MBR1)
161 CreateWordField (CRS, ^FIX2._MIN, MBR2)
163 CreateWordField (CRS, ^FIX2._MAX, MBR3)
165 CreateWordField (CRS, ^FIX3._MIN, MBR4)
167 CreateWordField (CRS, ^FIX3._MAX, MBR5)
169 CreateWordField (CRS, ^FIX5._MIN, MBR8)
171 CreateWordField (CRS, ^FIX5._MAX, MBR9)
173 CreateWordField (CRS, ^FIX6._MIN, MBRA)
175 CreateWordField (CRS, ^FIX6._MAX, MBRB)
181 Device(LGIO) // Legacy GPIO.
183 Name(_HID, "INT3488")
184 Name(_CID, "INT3488")
200 Method (_CRS, 0, NotSerialized) {
201 CreateWordField (CRS, ^FIX4._MIN, MBR6)
203 CreateWordField (CRS, ^FIX4._MAX, MBR7)
209 Device(HPET) // High Performance Event Timer
211 Name(_HID,EISAID("PNP0103"))
213 Name(BUF0,ResourceTemplate()
217 Memory32Fixed(ReadOnly, 0, 0, FIX1)
222 // Show this Device only if the OS is WINXP or beyond.
224 If(LGreaterEqual(OSTP,WINDOWS_XP))
228 Return(0x000F) // Enabled, do Display.
233 // OS = WIN98, WINME, or WIN2000.
237 Return(0x000B) // Enabled, don't Display.
241 Return(0x0000) // Return Nothing.
244 Method(_CRS,0,Serialized)
246 CreateDWordField (BUF0, ^FIX1._BAS, MBR0)
248 CreateDWordField (BUF0, ^FIX1._LEN, MBR1)