]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/QNC.asi
12ec4fab836cf27c331767b3bcf1efbe6c6e74d1
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / QNC.asi
1 /** @file
2 QNC devices
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef QNC_ASI
11 #define QNC_ASI
12
13 Device(IOCM) // I/O controller miscellaneous
14 {
15 Name(_HID,EISAID("PNP0C02")) // System board resources device node ID
16
17 Name(CRS, ResourceTemplate()
18 {
19
20 // PCIEXBAR memory range
21 Memory32Fixed(ReadOnly, 0, 0, FIX1)
22
23 // RCRB memory range
24 Memory32Fixed(ReadOnly, 0, 0, FIX2)
25
26 // Option ROM shadow memory range
27 Memory32Fixed(ReadOnly, 0x000C0000, 0x20000)
28
29 // BIOS ROM shadow memory range
30 Memory32Fixed(ReadOnly, 0x000E0000, 0x20000)
31
32 // BIOS Firmware just below 4GByte of memory 8MBytes
33 Memory32Fixed(ReadOnly, 0xFF800000, 0x800000)
34 }
35 )
36
37 Method (_CRS, 0, NotSerialized) {
38 CreateDWordField (CRS, ^FIX1._BAS, MBR0)
39 Store(\PEXB, MBR0)
40 CreateDWordField (CRS, ^FIX1._LEN, MBR1)
41 Store(\PEXS, MBR1)
42 CreateDWordField (CRS, ^FIX2._BAS, MBR2)
43 Store(\RCBB, MBR2)
44 CreateDWordField (CRS, ^FIX2._LEN, MBR3)
45 Store(\RCBS, MBR3)
46 Return (CRS)
47 }
48 }
49 #endif