[PATCH 2/2] fwts-test: fix up tests related to iasl and syntaxcheck changes
Colin Ian King
colin.king at canonical.com
Thu Jul 24 07:19:46 UTC 2014
On 24/07/14 07:06, Keng-Yu Lin wrote:
> Hi Colin:
>
> This patch does not has SOB. Do you like to re-send one with it?
>
>> -------- Forwarded Message --------
>> Subject: [PATCH 2/2] fwts-test: fix up tests related to iasl and syntaxcheck
>> changes
>> Date: Thu, 29 May 2014 14:59:22 +0100
>> From: Colin King <colin.king at canonical.com>
>> To: fwts-devel at lists.ubuntu.com
>>
>> From: Colin Ian King <colin.king at canonical.com>
>>
>> Signed-off-by: Colin Ian King <colin.king at canonical.com>
^^ Isn't that the SOB you were referring to?
>> ---
>> .../arg-show-tests-0001/arg-show-tests-0001.log | 2 +-
>> .../arg-show-tests-full-0001.log | 7 +-
>> fwts-test/disassemble-0001/DSDT.dsl.original | 6636
>> --------------------
>> fwts-test/disassemble-0001/DSDT0.dsl.original | 6636
>> ++++++++++++++++++++
>> fwts-test/disassemble-0001/SSDT0.dsl.original | 156 -
>> fwts-test/disassemble-0001/SSDT1.dsl.original | 157 +-
>> fwts-test/disassemble-0001/SSDT2.dsl.original | 286 +-
>> fwts-test/disassemble-0001/SSDT3.dsl.original | 248 +-
>> fwts-test/disassemble-0001/SSDT4.dsl.original | 219 +-
>> fwts-test/disassemble-0001/SSDT5.dsl.original | 216 +
>> .../disassemble-0001/disassemble-aml-0001.log | 12 +-
>> fwts-test/disassemble-0001/test-0001.sh | 12 +-
>> fwts-test/syntaxcheck-0001/syntaxcheck-0001.log | 84 +-
>> 13 files changed, 7335 insertions(+), 7336 deletions(-)
>> delete mode 100644 fwts-test/disassemble-0001/DSDT.dsl.original
>> create mode 100644 fwts-test/disassemble-0001/DSDT0.dsl.original
>> delete mode 100644 fwts-test/disassemble-0001/SSDT0.dsl.original
>> create mode 100644 fwts-test/disassemble-0001/SSDT5.dsl.original
>>
>> diff --git a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
>> b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
>> index 9833208..0b3c17b 100644
>> --- a/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
>> +++ b/fwts-test/arg-show-tests-0001/arg-show-tests-0001.log
>> @@ -36,7 +36,7 @@ Batch tests:
>> pciirq PCI IRQ Routing Table test.
>> pnp BIOS Support Installation structure test.
>> securebootcert UEFI secure boot test.
>> - syntaxcheck Re-assemble DSDT and find syntax errors and warnings.
>> + syntaxcheck Re-assemble DSDT and SSDTs to find syntax errors and
>> warnings.
>> version Gather kernel system information.
>> virt CPU Virtualisation Configuration test.
>> wakealarm ACPI Wakealarm tests.
>> diff --git a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
>> b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
>> index 074a0f1..1ff7c06 100644
>> --- a/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
>> +++ b/fwts-test/arg-show-tests-full-0001/arg-show-tests-full-0001.log
>> @@ -255,9 +255,8 @@ Batch tests:
>> PnP BIOS Support Installation structure test.
>> securebootcert (1 test):
>> UEFI secure boot test.
>> - syntaxcheck (2 tests):
>> - Disassemble and reassemble DSDT
>> - Disassemble and reassemble SSDT
>> + syntaxcheck (1 test):
>> + Disassemble and reassemble DSDT and SSDTs.
>> version (4 tests):
>> Gather kernel signature.
>> Gather kernel system information.
>> @@ -367,4 +366,4 @@ UEFI tests:
>> Test UEFI RT service set variable interface stress test.
>> Test UEFI RT service query variable info interface stress test.
>>
>> -Total of 286 tests
>> +Total of 285 tests
>> diff --git a/fwts-test/disassemble-0001/DSDT.dsl.original
>> b/fwts-test/disassemble-0001/DSDT.dsl.original
>> deleted file mode 100644
>> index f8b38e6..0000000
>> --- a/fwts-test/disassemble-0001/DSDT.dsl.original
>> +++ /dev/null
>> @@ -1,6636 +0,0 @@
>> -/*
>> - * Intel ACPI Component Architecture
>> - * AML Disassembler version 20140325-64 [Mar 25 2014]
>> - * Copyright (c) 2000 - 2014 Intel Corporation
>> - *
>> - * Disassembly of /tmp/fwts_iasl_27987_DSDT.dat, Tue Mar 25 20:18:15 2014
>> - *
>> - * Original Table Header:
>> - * Signature "DSDT"
>> - * Length 0x00005FF4 (24564)
>> - * Revision 0x02
>> - * Checksum 0x11
>> - * OEM ID "TOSCPL"
>> - * OEM Table ID "CRESTLNE"
>> - * OEM Revision 0x06040000 (100925440)
>> - * Compiler ID "INTL"
>> - * Compiler Version 0x20060608 (537265672)
>> - */
>> -DefinitionBlock ("/tmp/fwts_iasl_27987_DSDT.aml", "DSDT", 2, "TOSCPL",
>> "CRESTLNE", 0x06040000)
>> -{
>> -
>> - External (_PR_.CPU0._PPC, UnknownObj)
>> - External (CFGD, UnknownObj)
>> - External (PDC0, UnknownObj)
>> - External (PDC1, UnknownObj)
>> -
>> - Name (Z000, One)
>> - Name (Z001, 0x02)
>> - Name (Z002, 0x04)
>> - Name (Z003, 0x08)
>> - Name (Z004, Zero)
>> - Name (Z005, 0x0F)
>> - Name (Z006, 0x0D)
>> - Name (Z007, 0x0B)
>> - Name (Z008, 0x09)
>> - Name (ECDY, 0x07)
>> - Mutex (MUTX, 0x00)
>> - OperationRegion (PRT0, SystemIO, 0x80, 0x04)
>> - Field (PRT0, DWordAcc, Lock, Preserve)
>> - {
>> - P80H, 32
>> - }
>> -
>> - Method (P8XH, 2, Serialized)
>> - {
>> - If (LEqual (Arg0, Zero))
>> - {
>> - Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D) /* \P80D */
>> - }
>> -
>> - If (LEqual (Arg0, One))
>> - {
>> - Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)
>> - ), P80D) /* \P80D */
>> - }
>> -
>> - If (LEqual (Arg0, 0x02))
>> - {
>> - Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)
>> - ), P80D) /* \P80D */
>> - }
>> -
>> - If (LEqual (Arg0, 0x03))
>> - {
>> - Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18)
>> - ), P80D) /* \P80D */
>> - }
>> -
>> - Store (P80D, P80H) /* \P80H */
>> - }
>> -
>> - Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
>> - {
>> - Store (Arg0, GPIC) /* \GPIC */
>> - }
>> -
>> - Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
>> - {
>> - Store (Zero, P80D) /* \P80D */
>> - P8XH (Zero, Arg0)
>> - If (LEqual (Arg0, 0x03))
>> - {
>> - Store (One, \_SB.PCI0.LPCB.EC0.S3LD)
>> - }
>> -
>> - If (LEqual (Arg0, 0x04))
>> - {
>> - Store (One, \_SB.PCI0.LPCB.EC0.S3LD)
>> - \_SB.PCI0.LPCB.PHSS (0x0E)
>> - }
>> - }
>> -
>> - Method (_WAK, 1, NotSerialized) // _WAK: Wake
>> - {
>> - P8XH (One, 0xAB)
>> - If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
>> - {
>> - If (And (CFGD, 0x01000000))
>> - {
>> - If (LAnd (And (CFGD, 0xF0), LEqual (OSYS, 0x07D1)))
>> - {
>> - TRAP (0x3D)
>> - }
>> - }
>> - }
>> -
>> - If (LEqual (RP1D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP01, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (RP2D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP02, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (RP3D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP03, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (RP4D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP04, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (RP5D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP05, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (RP6D, Zero))
>> - {
>> - Notify (\_SB.PCI0.RP06, Zero) // Bus Check
>> - }
>> -
>> - If (LEqual (Arg0, 0x03))
>> - {
>> - P8XH (Zero, 0x30)
>> - TRAP (0x46)
>> - }
>> -
>> - If (LEqual (Arg0, 0x04))
>> - {
>> - P8XH (Zero, 0x40)
>> - \_SB.PCI0.LPCB.PHSS (0x0F)
>> - Store (WAKF, Local0)
>> - Store (Zero, WAKF) /* \WAKF */
>> - And (Local0, 0x05, Local0)
>> - If (LEqual (Local0, One))
>> - {
>> - P8XH (Zero, 0x41)
>> - Notify (\_SB.PWRB, 0x02) // Device Wake
>> - }
>> -
>> - If (DTSE)
>> - {
>> - TRAP (0x47)
>> - If (LAnd (\_SB.PCI0.LPCB.ECOK (), LEqual (ECDY, Zero)))
>> - {
>> - If (LGreaterEqual (DTS1, DTS2))
>> - {
>> - Store (DTS1, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - Else
>> - {
>> - Store (DTS2, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - }
>> - Else
>> - {
>> - \_SB.PCI0.LPCB.PHSS (0x10)
>> - }
>> - }
>> - }
>> -
>> - \_PR.RPPC ()
>> - Return (Package (0x02)
>> - {
>> - Zero,
>> - Zero
>> - })
>> - }
>> -
>> - Method (GETB, 3, Serialized)
>> - {
>> - Multiply (Arg0, 0x08, Local0)
>> - Multiply (Arg1, 0x08, Local1)
>> - CreateField (Arg2, Local0, Local1, TBF3)
>> - Return (TBF3) /* \GETB.TBF3 */
>> - }
>> -
>> - Method (PNOT, 0, Serialized)
>> - {
>> - If (MPEN)
>> - {
>> - If (And (PDC0, 0x08))
>> - {
>> - Notify (\_PR.CPU0, 0x80) // Performance Capability Change
>> - If (And (PDC0, 0x10))
>> - {
>> - Sleep (0x64)
>> - Notify (\_PR.CPU0, 0x81) // C-State Change
>> - }
>> - }
>> -
>> - If (And (PDC1, 0x08))
>> - {
>> - Notify (\_PR.CPU1, 0x80) // Performance Capability Change
>> - If (And (PDC1, 0x10))
>> - {
>> - Sleep (0x64)
>> - Notify (\_PR.CPU1, 0x81) // C-State Change
>> - }
>> - }
>> - }
>> - Else
>> - {
>> - Notify (\_PR.CPU0, 0x80) // Performance Capability Change
>> - Sleep (0x64)
>> - Notify (\_PR.CPU0, 0x81) // C-State Change
>> - }
>> - }
>> -
>> - Method (TRAP, 1, Serialized)
>> - {
>> - Store (Arg0, SMIF) /* \SMIF */
>> - Store (Zero, TRP0) /* \TRP0 */
>> - Return (SMIF) /* \SMIF */
>> - }
>> -
>> - Scope (_SB)
>> - {
>> - Method (_INI, 0, NotSerialized) // _INI: Initialize
>> - {
>> - Store (0x9999, MARK) /* \MARK */
>> - If (DTSE)
>> - {
>> - TRAP (0x47)
>> - ^PCI0.LPCB.PHSS (0x10)
>> - }
>> -
>> - Store (0x07D0, OSYS) /* \OSYS */
>> - If (CondRefOf (_OSI, Local0))
>> - {
>> - If (_OSI ("Linux"))
>> - {
>> - Store (One, LINX) /* \LINX */
>> - Store (Zero, ECDY) /* \ECDY */
>> - }
>> -
>> - If (_OSI ("Windows 2001"))
>> - {
>> - Store (0x07D1, OSYS) /* \OSYS */
>> - }
>> -
>> - If (_OSI ("Windows 2001 SP1"))
>> - {
>> - Store (0x07D1, OSYS) /* \OSYS */
>> - }
>> -
>> - If (_OSI ("Windows 2001 SP2"))
>> - {
>> - Store (0x07D2, OSYS) /* \OSYS */
>> - }
>> -
>> - If (_OSI ("Windows 2006"))
>> - {
>> - Store (0x07D6, OSYS) /* \OSYS */
>> - }
>> - }
>> -
>> - If (LAnd (MPEN, LEqual (OSYS, 0x07D1)))
>> - {
>> - TRAP (0x3D)
>> - }
>> -
>> - TRAP (0x2B)
>> - }
>> - }
>> -
>> - OperationRegion (GNVS, SystemMemory, 0xBF6E2DBC, 0x0100)
>> - Field (GNVS, AnyAcc, Lock, Preserve)
>> - {
>> - OSYS, 16,
>> - SMIF, 8,
>> - PRM0, 8,
>> - PRM1, 8,
>> - SCIF, 8,
>> - PRM2, 8,
>> - PRM3, 8,
>> - LCKF, 8,
>> - PRM4, 8,
>> - PRM5, 8,
>> - P80D, 32,
>> - LIDS, 8,
>> - PWRS, 8,
>> - DBGS, 8,
>> - LINX, 8,
>> - Offset (0x14),
>> - ACT1, 8,
>> - ACTT, 8,
>> - PSVT, 8,
>> - TC1V, 8,
>> - TC2V, 8,
>> - TSPV, 8,
>> - CRTT, 8,
>> - DTSE, 8,
>> - DTS1, 8,
>> - DTS2, 8,
>> - Offset (0x28),
>> - APIC, 8,
>> - MPEN, 8,
>> - PCP0, 8,
>> - PCP1, 8,
>> - PPCM, 8,
>> - Offset (0x32),
>> - CMAP, 8,
>> - CMBP, 8,
>> - LPTP, 8,
>> - FDCP, 8,
>> - Offset (0x3C),
>> - IGDS, 8,
>> - TLST, 8,
>> - CADL, 8,
>> - PADL, 8,
>> - CSTE, 16,
>> - NSTE, 16,
>> - SSTE, 16,
>> - NDID, 8,
>> - DID1, 32,
>> - DID2, 32,
>> - DID3, 32,
>> - DID4, 32,
>> - DID5, 32,
>> - Offset (0x67),
>> - BLCS, 8,
>> - BRTL, 8,
>> - ALSE, 8,
>> - ALAF, 8,
>> - LLOW, 8,
>> - LHIH, 8,
>> - Offset (0x6E),
>> - EMAE, 8,
>> - EMAP, 16,
>> - EMAL, 16,
>> - Offset (0x74),
>> - MEFE, 8,
>> - Offset (0x78),
>> - TPMP, 8,
>> - TPME, 8,
>> - Offset (0x82),
>> - GTF0, 56,
>> - GTF2, 56,
>> - IDEM, 8,
>> - GTF1, 56,
>> - Offset (0xAA),
>> - ASLB, 32,
>> - IBTT, 8,
>> - IPAT, 8,
>> - ITVF, 8,
>> - ITVM, 8,
>> - IPSC, 8,
>> - IBLC, 8,
>> - IBIA, 8,
>> - ISSC, 8,
>> - I409, 8,
>> - I509, 8,
>> - I609, 8,
>> - I709, 8,
>> - IDMM, 8,
>> - IDMS, 8,
>> - IF1E, 8,
>> - HVCO, 8,
>> - NXD1, 32,
>> - NXD2, 32,
>> - MARK, 16,
>> - BRAD, 8,
>> - BTEN, 8,
>> - VVEN, 8,
>> - BGTL, 8,
>> - TMEE, 1,
>> - Offset (0xCD),
>> - SCU0, 1,
>> - SCU1, 1,
>> - SCU2, 1,
>> - SCU3, 1,
>> - Offset (0xCE),
>> - XKSP, 1,
>> - XKIN, 1,
>> - XKID, 1,
>> - XKOK, 1,
>> - Offset (0xCF),
>> - BGU1, 8,
>> - BST1, 8,
>> - BFC1, 16,
>> - WKLN, 8,
>> - WAKF, 8,
>> - DSMD, 8,
>> - BAYS, 8,
>> - HAPE, 1,
>> - Offset (0xD8),
>> - DTSM, 1,
>> - Offset (0xD9),
>> - ODT1, 8,
>> - ODT2, 8,
>> - DTSW, 8
>> - }
>> -
>> - Name (DSEN, One)
>> - Name (ECON, Zero)
>> - Name (GPIC, Zero)
>> - Name (CTYP, Zero)
>> - Name (L01C, Zero)
>> - Name (VFN0, Zero)
>> - Name (VFN1, Zero)
>> - Scope (_GPE)
>> - {
>> - Method (_L01, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Add (L01C, One, L01C) /* \L01C */
>> - P8XH (Zero, One)
>> - P8XH (One, L01C)
>> - If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.RP01.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP01.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP01.PDCX)
>> - Store (One, \_SB.PCI0.RP01.HPSX)
>> - Notify (\_SB.PCI0.RP01, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP01.HPSX)
>> - }
>> - }
>> -
>> - If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.RP02.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP02.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP02.PDCX)
>> - Store (One, \_SB.PCI0.RP02.HPSX)
>> - Notify (\_SB.PCI0.RP02, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP02.HPSX)
>> - }
>> - }
>> -
>> - If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.RP03.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP03.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP03.PDCX)
>> - Store (One, \_SB.PCI0.RP03.HPSX)
>> - Notify (\_SB.PCI0.RP03, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP03.HPSX)
>> - }
>> - }
>> -
>> - If (LAnd (LEqual (RP4D, Zero), \_SB.PCI0.RP04.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP04.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP04.PDCX)
>> - Store (One, \_SB.PCI0.RP04.HPSX)
>> - Notify (\_SB.PCI0.RP04, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP04.HPSX)
>> - }
>> - }
>> -
>> - If (LAnd (LEqual (RP5D, Zero), \_SB.PCI0.RP05.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP05.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP05.PDCX)
>> - Store (One, \_SB.PCI0.RP05.HPSX)
>> - Notify (\_SB.PCI0.RP05, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP05.HPSX)
>> - }
>> - }
>> -
>> - If (LAnd (LEqual (RP6D, Zero), \_SB.PCI0.RP06.HPSX))
>> - {
>> - Sleep (0x64)
>> - If (\_SB.PCI0.RP06.PDCX)
>> - {
>> - Store (One, \_SB.PCI0.RP06.PDCX)
>> - Store (One, \_SB.PCI0.RP06.HPSX)
>> - Notify (\_SB.PCI0.RP06, Zero) // Bus Check
>> - }
>> - Else
>> - {
>> - Store (One, \_SB.PCI0.RP06.HPSX)
>> - }
>> - }
>> - }
>> -
>> - Method (_L02, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Store (Zero, GPEC) /* \GPEC */
>> - If (\_SB.PCI0.LPCB.ECOK ())
>> - {
>> - If (LEqual (DTSW, One))
>> - {
>> - If (LGreaterEqual (DTS1, DTS2))
>> - {
>> - Store (DTS1, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - Else
>> - {
>> - Store (DTS2, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - }
>> - Else
>> - {
>> - If (LGreaterEqual (ODT1, ODT2))
>> - {
>> - Store (ODT1, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - Else
>> - {
>> - Store (ODT2, \_SB.PCI0.LPCB.EC0.SKTA)
>> - }
>> - }
>> - }
>> - Else
>> - {
>> - \_SB.PCI0.LPCB.PHSS (0x10)
>> - }
>> - }
>> -
>> - Method (_L03, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.USB1, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L04, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.USB2, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L05, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.USB5, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - If (\_SB.PCI0.GFX0.GSSE)
>> - {
>> - \_SB.PCI0.GFX0.GSCI ()
>> - }
>> - Else
>> - {
>> - Store (One, SCIS) /* \SCIS */
>> - }
>> - }
>> -
>> - Method (_L09, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - If (\_SB.PCI0.RP01.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP01.PSPX)
>> - Store (One, \_SB.PCI0.RP01.PMSX)
>> - Notify (\_SB.PCI0.RP01, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.RP02.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP02.PSPX)
>> - Store (One, \_SB.PCI0.RP02.PMSX)
>> - Notify (\_SB.PCI0.RP02, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.RP03.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP03.PSPX)
>> - Store (One, \_SB.PCI0.RP03.PMSX)
>> - Notify (\_SB.PCI0.RP03, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.RP04.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP04.PSPX)
>> - Store (One, \_SB.PCI0.RP04.PMSX)
>> - Notify (\_SB.PCI0.RP04, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.RP05.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP05.PSPX)
>> - Store (One, \_SB.PCI0.RP05.PMSX)
>> - Notify (\_SB.PCI0.RP05, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.RP06.PSPX)
>> - {
>> - Store (One, \_SB.PCI0.RP06.PSPX)
>> - Store (One, \_SB.PCI0.RP06.PMSX)
>> - Notify (\_SB.PCI0.RP06, 0x02) // Device Wake
>> - }
>> - }
>> -
>> - Method (_L0B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.PCIB, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L0C, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.USB3, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L0D, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - If (\_SB.PCI0.EHC1.PMES)
>> - {
>> - Store (One, \_SB.PCI0.EHC1.PMES)
>> - Notify (\_SB.PCI0.EHC1, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.EHC2.PMES)
>> - {
>> - Store (One, \_SB.PCI0.EHC2.PMES)
>> - Notify (\_SB.PCI0.EHC2, 0x02) // Device Wake
>> - }
>> -
>> - If (\_SB.PCI0.HDEF.PMES)
>> - {
>> - Store (One, \_SB.PCI0.HDEF.PMES)
>> - Notify (\_SB.PCI0.HDEF, 0x02) // Device Wake
>> - }
>> - }
>> -
>> - Method (_L0E, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Notify (\_SB.PCI0.USB4, 0x02) // Device Wake
>> - }
>> -
>> - Method (_L1B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
>> - {
>> - Not (LPOL, LPOL) /* \LPOL */
>> - Notify (\_SB.LID0, 0x80) // Status Change
>> - }
>> - }
>> -
>> - Scope (_PR)
>> - {
>> - Processor (CPU0, 0x00, 0x00001010, 0x06) {}
>> - Processor (CPU1, 0x01, 0x00001010, 0x06) {}
>> - Method (RPPC, 0, NotSerialized)
>> - {
>> - If (LEqual (OSYS, 0x07D2))
>> - {
>> - If (And (CFGD, One))
>> - {
>> - If (LGreater (^CPU0._PPC, Zero))
>> - {
>> - Subtract (^CPU0._PPC, One, ^CPU0._PPC) /* External
>> reference */
>> - PNOT ()
>> - Add (^CPU0._PPC, One, ^CPU0._PPC) /* External
>> reference */
>> - PNOT ()
>> - }
>> - Else
>> - {
>> - Add (^CPU0._PPC, One, ^CPU0._PPC) /* External
>> reference */
>> - PNOT ()
>> - Subtract (^CPU0._PPC, One, ^CPU0._PPC) /* External
>> reference */
>> - PNOT ()
>> - }
>> - }
>> - }
>> - }
>> - }
>> -
>> - Name (FWSO, "FWSO")
>> - Name (_PSC, Zero) // _PSC: Power State Current
>> - Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
>> - {
>> - Store (_PSC, Local0)
>> - Store (Zero, _PSC) /* \_PSC */
>> - }
>> -
>> - Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
>> - {
>> - Store (0x03, _PSC) /* \_PSC */
>> - }
>> -
>> - Scope (_SB)
>> - {
>> - Device (AMW0)
>> - {
>> - Name (_HID, "pnp0c14") // _HID: Hardware ID
>> - Name (_UID, Zero) // _UID: Unique ID
>> - Name (_WDG, Buffer (0x3C)
>> - {
>> - /* 0000 */ 0xA7, 0x1D, 0x85, 0x2E, 0x53, 0xD0, 0x5F,
>> 0x49,
>> - /* 0008 */ 0x9D, 0xFA, 0x1A, 0x4A, 0xD6, 0x2E, 0x6A,
>> 0x86,
>> - /* 0010 */ 0x41, 0x43, 0x01, 0x00, 0x3B, 0x6D, 0x43,
>> 0x71,
>> - /* 0018 */ 0xDD, 0xFB, 0x72, 0x4C, 0xBC, 0xB8, 0x43,
>> 0x5B,
>> - /* 0020 */ 0xFE, 0x0D, 0x64, 0xF9, 0x42, 0x43, 0x01,
>> 0x00,
>> - /* 0028 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1,
>> 0x11,
>> - /* 0030 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29,
>> 0x10,
>> - /* 0038 */ 0x42, 0x41, 0x01, 0x00
>> - })
>> - Name (STAC, Buffer (0x04)
>> - {
>> - 0x01, 0x14, 0x03, 0x00
>> - })
>> - Method (WQAC, 1, NotSerialized)
>> - {
>> - Store ("MXMTCConfigData", Debug)
>> - Return (STAC) /* \_SB_.AMW0.STAC */
>> - }
>> -
>> - Name (STBC, Buffer (0x04)
>> - {
>> - 0x01, 0x00, 0x00, 0x00
>> - })
>> - Method (WQBC, 1, NotSerialized)
>> - {
>> - Store ("Get MXMTCControlData: STBC = ", Debug)
>> - Store (STBC, Debug)
>> - Return (STBC) /* \_SB_.AMW0.STBC */
>> - }
>> -
>> - Method (WSBC, 2, NotSerialized)
>> - {
>> - Store (Arg1, STBC) /* \_SB_.AMW0.STBC */
>> - Store ("Set MXMTCControlData: STBC = ", Debug)
>> - Store (STBC, Debug)
>> - If (LEqual (^^PCI0.LPCB.ECOK (), One))
>> - {
>> - Store (DerefOf (Index (STBC, One)),
>> ^^PCI0.LPCB.EC0.SKTC) /* \_SB_.PCI0.LPCB.EC0_.SKTC */
>> - }
>> - }
>> -
>> - Name (WQBA, Buffer (0x02AE)
>> - {
>> - /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00,
>> 0x00,
>> - /* 0008 */ 0x9E, 0x02, 0x00, 0x00, 0xC0, 0x0B, 0x00,
>> 0x00,
>> - /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA,
>> 0x54,
>> - /* 0018 */ 0x28, 0xD9, 0x85, 0x00, 0x01, 0x06, 0x18,
>> 0x42,
>> - /* 0020 */ 0x10, 0x07, 0x10, 0x0A, 0x4B, 0x61, 0x02,
>> 0xC9,
>> - /* 0028 */ 0x21, 0x52, 0x3C, 0x18, 0x94, 0x05, 0x10,
>> 0x43,
>> - /* 0030 */ 0x88, 0x57, 0x04, 0x44, 0x04, 0x84, 0xBC,
>> 0x0A,
>> - /* 0038 */ 0xB0, 0x29, 0xC0, 0x24, 0x88, 0xFA, 0xF7,
>> 0x87,
>> - /* 0040 */ 0x28, 0x09, 0x0E, 0x25, 0x04, 0x42, 0x12,
>> 0x05,
>> - /* 0048 */ 0x98, 0x17, 0xA0, 0x5B, 0x80, 0x61, 0x01,
>> 0xB6,
>> - /* 0050 */ 0x05, 0x98, 0x16, 0xE0, 0x18, 0x92, 0x4A,
>> 0x03,
>> - /* 0058 */ 0xA7, 0x04, 0x96, 0x02, 0x21, 0xA1, 0x02,
>> 0x94,
>> - /* 0060 */ 0x0B, 0xF0, 0x2D, 0x40, 0x3B, 0xA2, 0x24,
>> 0x0B,
>> - /* 0068 */ 0xB0, 0x0C, 0x23, 0x02, 0x8F, 0x82, 0xA1,
>> 0x71,
>> - /* 0070 */ 0x68, 0xEC, 0x30, 0x2C, 0x13, 0x4C, 0x83,
>> 0x38,
>> - /* 0078 */ 0x8C, 0xB2, 0x91, 0x45, 0x60, 0xDC, 0x4E,
>> 0x05,
>> - /* 0080 */ 0xC8, 0x15, 0x20, 0x4C, 0x80, 0x78, 0x54,
>> 0x61,
>> - /* 0088 */ 0x34, 0x07, 0x45, 0xE0, 0x42, 0x63, 0x64,
>> 0x40,
>> - /* 0090 */ 0xC8, 0xA3, 0x00, 0xAB, 0xA3, 0xD0, 0xA4,
>> 0x12,
>> - /* 0098 */ 0xD8, 0xBD, 0x00, 0x65, 0x02, 0x2C, 0x0A,
>> 0x10,
>> - /* 00A0 */ 0x27, 0xC0, 0x9A, 0x00, 0x63, 0x48, 0x32,
>> 0x28,
>> - /* 00A8 */ 0x40, 0x9B, 0x00, 0x5B, 0x20, 0x42, 0x0F,
>> 0xD4,
>> - /* 00B0 */ 0x19, 0x8A, 0x46, 0x70, 0x02, 0x51, 0x6A,
>> 0x46,
>> - /* 00B8 */ 0x11, 0x48, 0xAC, 0x1A, 0x01, 0x85, 0x12,
>> 0x34,
>> - /* 00C0 */ 0x46, 0xB0, 0x10, 0x81, 0xC2, 0x86, 0x37,
>> 0x46,
>> - /* 00C8 */ 0x98, 0x03, 0x88, 0xD1, 0xFE, 0x20, 0x48,
>> 0x20,
>> - /* 00D0 */ 0x05, 0xE3, 0x66, 0x91, 0x46, 0x83, 0x1A,
>> 0x6B,
>> - /* 00D8 */ 0x82, 0x63, 0xF7, 0x68, 0x4E, 0xB8, 0x73,
>> 0x01,
>> - /* 00E0 */ 0xD2, 0xE7, 0x26, 0x90, 0xA3, 0x3B, 0xB8,
>> 0x3A,
>> - /* 00E8 */ 0x07, 0x4D, 0x86, 0xC7, 0xB0, 0x1E, 0x06,
>> 0xD8,
>> - /* 00F0 */ 0x29, 0x00, 0xEF, 0x1A, 0x50, 0xD3, 0x3F,
>> 0x78,
>> - /* 00F8 */ 0x26, 0x08, 0x0E, 0x35, 0x44, 0x8F, 0x3A,
>> 0xDC,
>> - /* 0100 */ 0x09, 0x1C, 0xFB, 0x91, 0x30, 0x88, 0xB3,
>> 0x3B,
>> - /* 0108 */ 0x6E, 0xAC, 0xC3, 0xC9, 0x68, 0xD0, 0xA5,
>> 0x0A,
>> - /* 0110 */ 0x30, 0x7B, 0x00, 0xD0, 0xD0, 0x12, 0x9C,
>> 0xF6,
>> - /* 0118 */ 0x99, 0x84, 0x7E, 0x0F, 0x38, 0x9F, 0x9E,
>> 0x21,
>> - /* 0120 */ 0x89, 0xFC, 0x41, 0xA0, 0x46, 0xE6, 0xFF,
>> 0x3F,
>> - /* 0128 */ 0xB4, 0xC7, 0x78, 0x5A, 0x31, 0x43, 0x3E,
>> 0x0B,
>> - /* 0130 */ 0x1C, 0x16, 0x13, 0x0B, 0xA1, 0x4D, 0x6A,
>> 0x3C,
>> - /* 0138 */ 0x40, 0x40, 0xE1, 0xD1, 0x40, 0x08, 0x6F,
>> 0x06,
>> - /* 0140 */ 0x9E, 0xAF, 0x09, 0x46, 0x86, 0x90, 0x93,
>> 0xF1,
>> - /* 0148 */ 0xA0, 0x06, 0xE0, 0x41, 0xD7, 0x3A, 0x32,
>> 0x8D,
>> - /* 0150 */ 0x27, 0xA6, 0x21, 0xCF, 0xE8, 0x00, 0x22,
>> 0xBF,
>> - /* 0158 */ 0x32, 0x78, 0x0C, 0x41, 0x02, 0xF9, 0xC4,
>> 0x60,
>> - /* 0160 */ 0xB8, 0xC7, 0x81, 0x13, 0x78, 0x02, 0xF0,
>> 0x59,
>> - /* 0168 */ 0x40, 0x10, 0x92, 0x00, 0x21, 0x51, 0xE3,
>> 0xA7,
>> - /* 0170 */ 0x47, 0x08, 0x7E, 0x7A, 0x78, 0x93, 0x30,
>> 0x28,
>> - /* 0178 */ 0x1F, 0xD2, 0x99, 0xF9, 0x90, 0xE1, 0x11,
>> 0xC2,
>> - /* 0180 */ 0x07, 0xC4, 0x7B, 0x9F, 0x3B, 0x19, 0xC1,
>> 0x29,
>> - /* 0188 */ 0x7B, 0xA4, 0xE0, 0xB0, 0x7E, 0x0E, 0x20,
>> 0xC0,
>> - /* 0190 */ 0xAF, 0x0F, 0x8F, 0x0D, 0x09, 0x7C, 0xAE,
>> 0x08,
>> - /* 0198 */ 0x8C, 0x1D, 0xAA, 0xFD, 0x0A, 0x40, 0x08,
>> 0x1E,
>> - /* 01A0 */ 0xED, 0x51, 0xE0, 0x54, 0x23, 0x1C, 0x2D,
>> 0x78,
>> - /* 01A8 */ 0x08, 0x8A, 0x1C, 0x03, 0x4A, 0xCC, 0x18,
>> 0x50,
>> - /* 01B0 */ 0x03, 0x38, 0x85, 0xD0, 0xE7, 0x73, 0x04,
>> 0x47,
>> - /* 01B8 */ 0x14, 0x25, 0xF6, 0x21, 0x19, 0xDA, 0x08,
>> 0xE1,
>> - /* 01C0 */ 0x1F, 0x39, 0x4E, 0xC1, 0xF7, 0x8B, 0x23,
>> 0x3D,
>> - /* 01C8 */ 0xAD, 0x23, 0x78, 0x91, 0xF0, 0x08, 0x30,
>> 0xE1,
>> - /* 01D0 */ 0xCE, 0x28, 0xA8, 0x38, 0x30, 0xF4, 0xFF,
>> 0x7F,
>> - /* 01D8 */ 0x4C, 0x01, 0xDC, 0x7A, 0x3B, 0xA6, 0x80,
>> 0x3E,
>> - /* 01E0 */ 0xC0, 0x31, 0x05, 0x50, 0xFC, 0xFF, 0x3F,
>> 0xA6,
>> - /* 01E8 */ 0x00, 0x87, 0xA8, 0xC7, 0x14, 0xF4, 0x40,
>> 0x0C,
>> - /* 01F0 */ 0x7C, 0x2E, 0xA1, 0x0D, 0xFF, 0x96, 0xC1,
>> 0x8E,
>> - /* 01F8 */ 0x03, 0x87, 0x74, 0x6A, 0x8F, 0x28, 0x80,
>> 0x29,
>> - /* 0200 */ 0x79, 0x47, 0x14, 0x50, 0x8C, 0x14, 0xD6,
>> 0xF1,
>> - /* 0208 */ 0x04, 0x18, 0x05, 0x3C, 0x9B, 0xA0, 0x22,
>> 0x1D,
>> - /* 0210 */ 0x4F, 0x80, 0xCE, 0xFF, 0xFF, 0x78, 0x02,
>> 0x58,
>> - /* 0218 */ 0xB8, 0x9A, 0xBC, 0x92, 0x84, 0x7D, 0x1E,
>> 0x78,
>> - /* 0220 */ 0x1D, 0x89, 0x14, 0xE3, 0x41, 0xE2, 0xB5,
>> 0xE4,
>> - /* 0228 */ 0xC1, 0x24, 0x46, 0x98, 0x08, 0x8F, 0x27,
>> 0x1E,
>> - /* 0230 */ 0x47, 0xC0, 0xB7, 0x82, 0x28, 0x91, 0x8E,
>> 0x3E,
>> - /* 0238 */ 0xC4, 0x83, 0x49, 0x28, 0x63, 0x3E, 0xA3,
>> 0x84,
>> - /* 0240 */ 0x89, 0xF9, 0x04, 0x70, 0x22, 0xEF, 0x27,
>> 0x46,
>> - /* 0248 */ 0x0A, 0x73, 0x2A, 0x8F, 0x27, 0x2C, 0xC4,
>> 0xF1,
>> - /* 0250 */ 0x04, 0xA0, 0x85, 0xE2, 0xE3, 0x09, 0x3A,
>> 0x2C,
>> - /* 0258 */ 0x84, 0xFE, 0xFF, 0xC7, 0x13, 0xDC, 0xE1,
>> 0xC1,
>> - /* 0260 */ 0xA7, 0x0C, 0xFC, 0x85, 0x0C, 0xC6, 0xF9,
>> 0x04,
>> - /* 0268 */ 0x30, 0x24, 0xF0, 0x7C, 0x02, 0xCA, 0xDB,
>> 0x18,
>> - /* 0270 */ 0xE6, 0x80, 0x02, 0x8C, 0x14, 0xDA, 0xF4,
>> 0xA9,
>> - /* 0278 */ 0xD1, 0xA8, 0x55, 0x83, 0x32, 0x35, 0xCA,
>> 0x34,
>> - /* 0280 */ 0xA8, 0xD5, 0xA7, 0x52, 0x63, 0xC6, 0x4C,
>> 0x9C,
>> - /* 0288 */ 0x52, 0xBC, 0x6C, 0x8D, 0xDF, 0xF2, 0x9E,
>> 0x09,
>> - /* 0290 */ 0x02, 0xB1, 0x20, 0x0A, 0x81, 0x38, 0xCC,
>> 0xF3,
>> - /* 0298 */ 0x42, 0x20, 0x96, 0xA2, 0x01, 0x84, 0x85,
>> 0x06,
>> - /* 02A0 */ 0xA1, 0x42, 0xA9, 0x05, 0xE2, 0x98, 0x20,
>> 0x34,
>> - /* 02A8 */ 0x92, 0x0A, 0x10, 0xF6, 0xFF, 0x07
>> - })
>> - }
>> -
>> - Device (LID0)
>> - {
>> - Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID:
>> Hardware ID
>> - Method (_LID, 0, NotSerialized) // _LID: Lid Status
>> - {
>> - Return (LPOL) /* \LPOL */
>> - }
>> - }
>> -
>> - Device (PWRB)
>> - {
>> - Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) //
>> _HID: Hardware ID
>> - }
>> -
>> - Device (PCI0)
>> - {
>> - Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
>> - {
>> - Return (0x02)
>> - }
>> -
>> - Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
>> - {
>> - Return (0x02)
>> - }
>> -
>> - Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID:
>> Hardware ID
>> - Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID:
>> Compatible ID
>> - Device (MCHC)
>> - {
>> - Name (_ADR, Zero) // _ADR: Address
>> - OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
>> - Field (HBUS, DWordAcc, NoLock, Preserve)
>> - {
>> - EPEN, 1,
>> - , 11,
>> - EPBR, 20,
>> - Offset (0x08),
>> - MHEN, 1,
>> - , 13,
>> - MHBR, 18,
>> - Offset (0x20),
>> - PXEN, 1,
>> - PXSZ, 2,
>> - , 23,
>> - PXBR, 6,
>> - Offset (0x28),
>> - DIEN, 1,
>> - , 11,
>> - DIBR, 20,
>> - Offset (0x30),
>> - IPEN, 1,
>> - , 11,
>> - IPBR, 20,
>> - Offset (0x50),
>> - , 4,
>> - PM0H, 2,
>> - Offset (0x51),
>> - PM1L, 2,
>> - , 2,
>> - PM1H, 2,
>> - Offset (0x52),
>> - PM2L, 2,
>> - , 2,
>> - PM2H, 2,
>> - Offset (0x53),
>> - PM3L, 2,
>> - , 2,
>> - PM3H, 2,
>> - Offset (0x54),
>> - PM4L, 2,
>> - , 2,
>> - PM4H, 2,
>> - Offset (0x55),
>> - PM5L, 2,
>> - , 2,
>> - PM5H, 2,
>> - Offset (0x56),
>> - PM6L, 2,
>> - , 2,
>> - PM6H, 2,
>> - Offset (0x57),
>> - , 7,
>> - HENA, 1,
>> - Offset (0x62),
>> - TUUD, 16,
>> - Offset (0x70),
>> - , 4,
>> - TLUD, 12
>> - }
>> - }
>> -
>> - Name (BUF0, ResourceTemplate ()
>> - {
>> - WordBusNumber (ResourceProducer, MinFixed, MaxFixed,
>> PosDecode,
>> - 0x0000, // Granularity
>> - 0x0000, // Range Minimum
>> - 0x00FF, // Range Maximum
>> - 0x0000, // Translation Offset
>> - 0x0100, // Length
>> - ,, )
>> - DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode,
>> EntireRange,
>> - 0x00000000, // Granularity
>> - 0x00000000, // Range Minimum
>> - 0x00000CF7, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00000CF8, // Length
>> - ,, , TypeStatic)
>> - IO (Decode16,
>> - 0x0CF8, // Range Minimum
>> - 0x0CF8, // Range Maximum
>> - 0x01, // Alignment
>> - 0x08, // Length
>> - )
>> - DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode,
>> EntireRange,
>> - 0x00000000, // Granularity
>> - 0x00000D00, // Range Minimum
>> - 0x0000FFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x0000F300, // Length
>> - ,, , TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000A0000, // Range Minimum
>> - 0x000BFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00020000, // Length
>> - ,, , AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000C0000, // Range Minimum
>> - 0x000C3FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y00, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000C4000, // Range Minimum
>> - 0x000C7FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y01, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000C8000, // Range Minimum
>> - 0x000CBFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y02, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000CC000, // Range Minimum
>> - 0x000CFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y03, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000D0000, // Range Minimum
>> - 0x000D3FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y04, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000D4000, // Range Minimum
>> - 0x000D7FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y05, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000D8000, // Range Minimum
>> - 0x000DBFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y06, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000DC000, // Range Minimum
>> - 0x000DFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y07, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000E0000, // Range Minimum
>> - 0x000E3FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y08, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000E4000, // Range Minimum
>> - 0x000E7FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y09, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000E8000, // Range Minimum
>> - 0x000EBFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y0A, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000EC000, // Range Minimum
>> - 0x000EFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00004000, // Length
>> - ,, _Y0B, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x000F0000, // Range Minimum
>> - 0x000FFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00010000, // Length
>> - ,, _Y0C, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0x00000000, // Range Minimum
>> - 0xDFFFFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00000000, // Length
>> - ,, _Y0D, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0xF0000000, // Range Minimum
>> - 0xFEBFFFFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x0EC00000, // Length
>> - ,, _Y0E, AddressRangeMemory, TypeStatic)
>> - DWordMemory (ResourceProducer, PosDecode, MinFixed,
>> MaxFixed, Cacheable, ReadWrite,
>> - 0x00000000, // Granularity
>> - 0xFED40000, // Range Minimum
>> - 0xFED44FFF, // Range Maximum
>> - 0x00000000, // Translation Offset
>> - 0x00000000, // Length
>> - ,, , AddressRangeMemory, TypeStatic)
>> - })
>> - Method (_CRS, 0, Serialized) // _CRS: Current Resource
>> Settings
>> - {
>> - If (^MCHC.PM1L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, C0LN) //
>> _LEN: Length
>> - Store (Zero, C0LN) /* \_SB_.PCI0._CRS.C0LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM1L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y00._RW, C0RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, C0RW) /* \_SB_.PCI0._CRS.C0RW */
>> - }
>> -
>> - If (^MCHC.PM1H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C4LN) //
>> _LEN: Length
>> - Store (Zero, C4LN) /* \_SB_.PCI0._CRS.C4LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM1H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C4RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, C4RW) /* \_SB_.PCI0._CRS.C4RW */
>> - }
>> -
>> - If (^MCHC.PM2L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C8LN) //
>> _LEN: Length
>> - Store (Zero, C8LN) /* \_SB_.PCI0._CRS.C8LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM2L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C8RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, C8RW) /* \_SB_.PCI0._CRS.C8RW */
>> - }
>> -
>> - If (^MCHC.PM2H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, CCLN) //
>> _LEN: Length
>> - Store (Zero, CCLN) /* \_SB_.PCI0._CRS.CCLN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM2H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y03._RW, CCRW) //
>> _RW_: Read-Write Status
>> - Store (Zero, CCRW) /* \_SB_.PCI0._CRS.CCRW */
>> - }
>> -
>> - If (^MCHC.PM3L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, D0LN) //
>> _LEN: Length
>> - Store (Zero, D0LN) /* \_SB_.PCI0._CRS.D0LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM3L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y04._RW, D0RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, D0RW) /* \_SB_.PCI0._CRS.D0RW */
>> - }
>> -
>> - If (^MCHC.PM3H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D4LN) //
>> _LEN: Length
>> - Store (Zero, D4LN) /* \_SB_.PCI0._CRS.D4LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM3H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D4RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, D4RW) /* \_SB_.PCI0._CRS.D4RW */
>> - }
>> -
>> - If (^MCHC.PM4L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D8LN) //
>> _LEN: Length
>> - Store (Zero, D8LN) /* \_SB_.PCI0._CRS.D8LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM4L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D8RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, D8RW) /* \_SB_.PCI0._CRS.D8RW */
>> - }
>> -
>> - If (^MCHC.PM4H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, DCLN) //
>> _LEN: Length
>> - Store (Zero, DCLN) /* \_SB_.PCI0._CRS.DCLN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM4H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y07._RW, DCRW) //
>> _RW_: Read-Write Status
>> - Store (Zero, DCRW) /* \_SB_.PCI0._CRS.DCRW */
>> - }
>> -
>> - If (^MCHC.PM5L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, E0LN) //
>> _LEN: Length
>> - Store (Zero, E0LN) /* \_SB_.PCI0._CRS.E0LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM5L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y08._RW, E0RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, E0RW) /* \_SB_.PCI0._CRS.E0RW */
>> - }
>> -
>> - If (^MCHC.PM5H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E4LN) //
>> _LEN: Length
>> - Store (Zero, E4LN) /* \_SB_.PCI0._CRS.E4LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM5H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E4RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, E4RW) /* \_SB_.PCI0._CRS.E4RW */
>> - }
>> -
>> - If (^MCHC.PM6L)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E8LN) //
>> _LEN: Length
>> - Store (Zero, E8LN) /* \_SB_.PCI0._CRS.E8LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM6L, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E8RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, E8RW) /* \_SB_.PCI0._CRS.E8RW */
>> - }
>> -
>> - If (^MCHC.PM6H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, ECLN) //
>> _LEN: Length
>> - Store (Zero, ECLN) /* \_SB_.PCI0._CRS.ECLN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM6H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, ECRW) //
>> _RW_: Read-Write Status
>> - Store (Zero, ECRW) /* \_SB_.PCI0._CRS.ECRW */
>> - }
>> -
>> - If (^MCHC.PM0H)
>> - {
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, F0LN) //
>> _LEN: Length
>> - Store (Zero, F0LN) /* \_SB_.PCI0._CRS.F0LN */
>> - }
>> -
>> - If (LEqual (^MCHC.PM0H, One))
>> - {
>> - CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, F0RW) //
>> _RW_: Read-Write Status
>> - Store (Zero, F0RW) /* \_SB_.PCI0._CRS.F0RW */
>> - }
>> -
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0D._MIN, M1MN) //
>> _MIN: Minimum Base Address
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0D._MAX, M1MX) //
>> _MAX: Maximum Base Address
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, M1LN) //
>> _LEN: Length
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0E._MIN, M2MN) //
>> _MIN: Minimum Base Address
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0E._MAX, M2MX) //
>> _MAX: Maximum Base Address
>> - CreateDWordField (BUF0, \_SB.PCI0._Y0E._LEN, M2LN) //
>> _LEN: Length
>> - ShiftLeft (^MCHC.PXBR, 0x1A, M1MX) /* \_SB_.PCI0._CRS.M1MX
>> */
>> - ShiftRight (0x10000000, ^MCHC.PXSZ, Local0)
>> - Add (M1MX, Local0, M2MN) /* \_SB_.PCI0._CRS.M2MN */
>> - Add (Subtract (M2MX, M2MN), One, M2LN) /*
>> \_SB_.PCI0._CRS.M2LN */
>> - Subtract (M1MX, One, M1MX) /* \_SB_.PCI0._CRS.M1MX */
>> - ShiftLeft (^MCHC.TLUD, 0x14, M1MN) /* \_SB_.PCI0._CRS.M1MN
>> */
>> - Add (Subtract (M1MX, M1MN), One, M1LN) /*
>> \_SB_.PCI0._CRS.M1LN */
>> - Return (BUF0) /* \_SB_.PCI0.BUF0 */
>> - }
>> -
>> - Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
>> - {
More information about the fwts-devel
mailing list