/* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20200925 (64-bit version) * Copyright (c) 2000 - 2020 Intel Corporation * * Disassembling to symbolic ASL+ operators * * Disassembly of iASL3zuEus.aml, Tue Jan 17 11:27:15 2023 * * Original Table Header: * Signature "SSDT" * Length 0x00000BEF (3055) * Revision 0x02 * Checksum 0xC8 * OEM ID "Apple" * OEM Table ID "Olarila" * OEM Revision 0x00000000 (0) * Compiler ID "INTL" * Compiler Version 0x20220331 (539099953) */ DefinitionBlock ("", "SSDT", 2, "Apple", "Olarila", 0x00000000) { External (_PR_.CPU0, ProcessorObj) External (_PR_.PR00, ProcessorObj) External (_SB_.PCI0, DeviceObj) External (_SB_.PCI0.GFX0, DeviceObj) External (_SB_.PCI0.LPCB, DeviceObj) External (_SB_.PCI0.SBUS, DeviceObj) External (_SB_.PR00, ProcessorObj) External (GPEN, FieldUnitObj) External (GPHD, FieldUnitObj) External (STAS, IntObj) Method (XOSI, 1, NotSerialized) { Local0 = Package (0x14) { "Windows 2001", "Windows 2001.1", "Windows 2001 SP1", "Windows 2001 SP2", "Windows 2001 SP3", "Windows 2006", "Windows 2006 SP1", "Windows 2009", "Windows 2012", "Windows 2013", "Windows 2015", "Windows 2016", "Windows 2017", "Windows 2018", "Windows 2019", "Windows 2020", "Windows 2021", "Microsoft Windows NT", "Microsoft Windows", "Microsoft WindowsME: Millennium Edition" } If (_OSI ("Darwin")) { Return ((Ones != Match (Local0, MEQ, Arg0, MTR, Zero, Zero))) } Else { Return (_OSI (Arg0)) } } Device (\_SB.EC) { Name (_HID, "MALD0000") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Scope (\) { If (_OSI ("Darwin")) { GPEN = One } } Scope (\) { If (_OSI ("Darwin")) { GPHD = Zero } } Scope (\_SB.PCI0.GFX0) { Device (PNLF) { Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID Name (_CID, "backlight") // _CID: Compatible ID Name (_UID, 0x10) // _UID: Unique ID Name (_STA, 0x0B) // _STA: Status } } Scope (\) { Method (_INI, 0, NotSerialized) // _INI: Initialize { If (_OSI ("Darwin")) { STAS = One } } } Method (PMPM, 4, NotSerialized) { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x02) { "plugin-type", One }) } If (CondRefOf (\_PR.CPU0)) { If ((ObjectType (\_PR.CPU0) == 0x0C)) { Scope (\_PR.CPU0) { Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { Return (PMPM (Arg0, Arg1, Arg2, Arg3)) } } } } If (CondRefOf (\_SB.PR00)) { If ((ObjectType (\_SB.PR00) == 0x0C)) { Scope (\_SB.PR00) { Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { Return (PMPM (Arg0, Arg1, Arg2, Arg3)) } } } } If (CondRefOf (\_PR.PR00)) { If ((ObjectType (\_PR.PR00) == 0x0C)) { Scope (\_PR.PR00) { Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { Return (PMPM (Arg0, Arg1, Arg2, Arg3)) } } } } Device (\_SB.PCI0.MCHC) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.OLA1) { Name (_ADR, 0x00080000) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x0A) { "AAPL,slot-name", "Built In", "built-in", Buffer (One) { 0x00 // . }, "name", "Gaussian Mixture", "device_type", Buffer (0x11) { "Gaussian Mixture" }, "model", Buffer (0x39) { "Intel Corporation, Series Chipset Gaussian Mixture Model" } }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.DMAC) { Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x20, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x01, // Alignment 0x11, // Length ) IO (Decode16, 0x0093, // Range Minimum 0x0093, // Range Maximum 0x01, // Alignment 0x0D, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x01, // Alignment 0x20, // Length ) DMA (Compatibility, NotBusMaster, Transfer8_16, ) {4} }) Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.OLAR) { Name (_ADR, 0x00120000) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x08) { "AAPL,slot-name", "Built In", "model", Buffer (0x2A) { "Olarila.com - The Real Vanilla Hackintosh" }, "name", Buffer (0x08) { "Olarila" }, "device_type", Buffer (0x08) { "Olarila" } }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.MALD) { Name (_ADR, 0x00140002) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x08) { "AAPL,slot-name", "Built In", "model", Buffer (0x20) { "Patched by MaLd0n - Olarila.com" }, "name", Buffer (0x07) { "MaLd0n" }, "device_type", Buffer (0x07) { "MaLd0n" } }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.XSPI) { Name (_ADR, 0x001F0005) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x0A) { "AAPL,slot-name", "Built In", "name", "Serial Bus Controller", "model", Buffer (0x31) { "Intel Corporation, Series Chipset SPI Controller" }, "device_type", Buffer (0x16) { "Serial Bus Controller" }, "pci-device-hidden", Buffer (0x08) { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // ........ } }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.LPCB.RTC0) { Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length ) }) OperationRegion (CMS0, SystemCMOS, Zero, 0x40) Field (CMS0, ByteAcc, NoLock, Preserve) { } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.LPCB.PMCR) { Name (_HID, EisaId ("APP9876")) // _HID: Hardware ID Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { Memory32Fixed (ReadWrite, 0xFE000000, // Address Base 0x00010000, // Address Length ) }) Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0B) } Else { Return (Zero) } } } Device (\_SB.USBX) { Name (_ADR, Zero) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x08) { "kUSBSleepPowerSupply", 0x13EC, "kUSBSleepPortCurrentLimit", 0x0834, "kUSBWakePowerSupply", 0x13EC, "kUSBWakePortCurrentLimit", 0x0834 }) } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.SBUS.BUS0) { Name (_CID, "smbus") // _CID: Compatible ID Name (_ADR, Zero) // _ADR: Address Device (MKY0) { Name (_ADR, Zero) // _ADR: Address Name (_CID, "mikey") // _CID: Compatible ID Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x07) { "refnum", Zero, "address", 0x39, "device-id", 0x0CCB, Buffer (One) { 0x00 // . } }) } Method (H1EN, 1, Serialized) { If ((Arg0 <= One)){} } Method (H1IP, 1, Serialized) { If ((Arg0 <= One)) { Arg0 = ~Arg0 } } Name (H1IN, 0x11) } Device (DVL0) { Name (_ADR, 0x57) // _ADR: Address Name (_CID, "diagsvault") // _CID: Compatible ID Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x03) { "address", 0x57, Buffer (One) { 0x00 // . } }) } } Device (BUS1) { Name (_CID, "smbus") // _CID: Compatible ID Name (_ADR, One) // _ADR: Address } Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.ALS0) { Name (_HID, "ACPI0008" /* Ambient Light Sensor Device */) // _HID: Hardware ID Name (_CID, "smc-als") // _CID: Compatible ID Name (_ALI, 0x012C) // _ALI: Ambient Light Illuminance Name (_ALR, Package (0x01) // _ALR: Ambient Light Response { Package (0x02) { 0x64, 0x012C } }) Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (\_SB.PCI0.DMI0) { Name (_ADR, Zero) // _ADR: Address Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } Device (RMNE) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "NULE0000") // _HID: Hardware ID Name (MAC, Buffer (0x06) { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 // ."3DUf }) Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x0A) { "built-in", Buffer (One) { 0x00 // . }, "IOName", "ethernet", "name", Buffer (0x09) { "ethernet" }, "model", Buffer (0x15) { "RM-NullEthernet-1001" }, "device_type", Buffer (0x09) { "ethernet" } }) } } Method (DTGP, 5, NotSerialized) { If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b") /* Unknown UUID */)) { If ((Arg1 == One)) { If ((Arg2 == Zero)) { Arg4 = Buffer (One) { 0x03 // . } Return (One) } If ((Arg2 == One)) { Return (One) } } } Arg4 = Buffer (One) { 0x00 // . } Return (Zero) } }