2 * Bochs/QEMU ACPI DSDT ASL definition
4 * Copyright (c) 2006 Fabrice Bellard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License version 2 as published by the Free Software Foundation.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 ACPI_EXTRACT_ALL_CODE AcpiDsdtAmlCode
23 "acpi-dsdt.aml", // Output Filename
25 0x01, // DSDT Compliance Revision
34 Name(_HID, EisaId("PNP0A03"))
38 // External(PX13, DeviceObj)
42 /****************************************************************
44 ****************************************************************/
47 OperationRegion(PCST, SystemIO, 0xae00, 0x08)
48 Field(PCST, DWordAcc, NoLock, WriteAsZeros) {
53 OperationRegion(SEJ, SystemIO, 0xae08, 0x04)
54 Field(SEJ, DWordAcc, NoLock, WriteAsZeros) {
58 OperationRegion(BNMR, SystemIO, 0xae10, 0x04)
59 Field(BNMR, DWordAcc, NoLock, WriteAsZeros) {
63 /* Lock to protect access to fields above. */
66 /* Methods called by bulk generated PCI devices below */
68 /* Methods called by hotplug devices */
69 Method(PCEJ, 2, NotSerialized) {
70 // _EJ0 method - eject callback
73 Store(ShiftLeft(1, Arg1), B0EJ)
78 /* Hotplug notification method supplied by SSDT */
79 External(\_SB.PCI0.PCNT, MethodObj)