1/** @file 2QNC I/O Apic devices 3 4Copyright (c) 2013-2015 Intel Corporation. 5 6This program and the accompanying materials 7are licensed and made available under the terms and conditions of the BSD License 8which accompanies this distribution. The full text of the license may be found at 9http://opensource.org/licenses/bsd-license.php 10 11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 14**/ 15 16#ifndef QNC_APIC_ASI 17#define QNC_APIC_ASI 18 19Device(APIC) 20{ 21 Name(_HID,EISAID("PNP0003")) // APIC resources 22 23 Name(CRS, ResourceTemplate() 24 { 25 Memory32Fixed(ReadOnly, 0, 0, FIX1) // IO APIC 26 } 27 ) 28 29 Method (_CRS, 0, NotSerialized) { 30 CreateDWordField (CRS, ^FIX1._BAS, MBR0) 31 Store(\APCB, MBR0) 32 CreateDWordField (CRS, ^FIX1._LEN, MBR1) 33 Store(\APCS, MBR1) 34 Return (CRS) 35 } 36} 37 38#endif 39