QNCApic.asi 622 B

1234567891011121314151617181920212223242526272829303132
  1. /** @file
  2. QNC I/O Apic devices
  3. Copyright (c) 2013-2015 Intel Corporation.
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef QNC_APIC_ASI
  7. #define QNC_APIC_ASI
  8. Device(APIC)
  9. {
  10. Name(_HID,EISAID("PNP0003")) // APIC resources
  11. Name(CRS, ResourceTemplate()
  12. {
  13. Memory32Fixed(ReadOnly, 0, 0, FIX1) // IO APIC
  14. }
  15. )
  16. Method (_CRS, 0, NotSerialized) {
  17. CreateDWordField (CRS, ^FIX1._BAS, MBR0)
  18. Store(\APCB, MBR0)
  19. CreateDWordField (CRS, ^FIX1._LEN, MBR1)
  20. Store(\APCS, MBR1)
  21. Return (CRS)
  22. }
  23. }
  24. #endif