Docs: updated ACPISamples

This commit is contained in:
Andrey1970AppleLife 2019-05-30 16:58:36 +03:00 committed by GitHub
parent 24d6ffd9fd
commit 3c8a1c669c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 6 deletions

View File

@ -54,10 +54,21 @@ DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000)
Scope (\_SB.PCI0.LPCB)
{
Device (EC)
{
Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
If (_OSI ("Darwin"))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
}
}

View File

@ -1,22 +1,22 @@
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20190215 (64-bit version)
* AML/ASL+ Disassembler version 20190405 (64-bit version)
* Copyright (c) 2000 - 2019 Intel Corporation
*
* Disassembling to symbolic ASL+ operators
*
* Disassembly of iASL1WfHko.aml, Thu May 9 02:08:52 2019
* Disassembly of iASLSmLgeI.aml, Thu May 30 16:21:47 2019
*
* Original Table Header:
* Signature "SSDT"
* Length 0x0000005B (91)
* Length 0x00000077 (119)
* Revision 0x02
* Checksum 0x5A
* Checksum 0x2D
* OEM ID "APPLE "
* OEM Table ID "SsdtEC"
* OEM Revision 0x00001000 (4096)
* Compiler ID "INTL"
* Compiler Version 0x20190215 (538509845)
* Compiler Version 0x20190405 (538510341)
*/
DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000)
{
@ -27,6 +27,17 @@ DefinitionBlock ("", "SSDT", 2, "APPLE ", "SsdtEC", 0x00001000)
Device (EC)
{
Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
}
}
}