1 /** @file 2 QNC devices 3 4 Copyright (c) 2013-2015 Intel Corporation. 5 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 10 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. 13 14 **/ 15 16 #ifndef QNC_ASI 17 #define QNC_ASI 18 19 Device(IOCM) // I/O controller miscellaneous 20 { 21 Name(_HID,EISAID("PNP0C02")) // System board resources device node ID 22 23 Name(CRS, ResourceTemplate() 24 { 25 26 // PCIEXBAR memory range 27 Memory32Fixed(ReadOnly, 0, 0, FIX1) 28 29 // RCRB memory range 30 Memory32Fixed(ReadOnly, 0, 0, FIX2) 31 32 // Option ROM shadow memory range 33 Memory32Fixed(ReadOnly, 0x000C0000, 0x20000) 34 35 // BIOS ROM shadow memory range 36 Memory32Fixed(ReadOnly, 0x000E0000, 0x20000) 37 38 // BIOS Firmware just below 4GByte of memory 8MBytes 39 Memory32Fixed(ReadOnly, 0xFF800000, 0x800000) 40 } 41 ) 42 43 Method (_CRS, 0, NotSerialized) { 44 CreateDWordField (CRS, ^FIX1._BAS, MBR0) 45 Store(\PEXB, MBR0) 46 CreateDWordField (CRS, ^FIX1._LEN, MBR1) 47 Store(\PEXS, MBR1) 48 CreateDWordField (CRS, ^FIX2._BAS, MBR2) 49 Store(\RCBB, MBR2) 50 CreateDWordField (CRS, ^FIX2._LEN, MBR3) 51 Store(\RCBS, MBR3) 52 Return (CRS) 53 } 54 } 55 #endif 56