mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
SSDT-HV-CPU.dsl is replaced with SSDT-HV-DEV.dsl for compatibility with older macOS versions on Windows 10 and newer
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
/*
|
|
* Hyper-V VMBUS SSDT to enable ACPI node identification.
|
|
*
|
|
* AppleACPIPlatform requires standard _HID values for proper EFI device
|
|
* path generation, and will not work with the default string values Hyper-V provides.
|
|
*
|
|
* Requires the following ACPI patches:
|
|
* (1) Base: \_SB.VMOD
|
|
* Comment: _HID to XHID rename (Hyper-V VMOD)
|
|
* Count: 1
|
|
* Find: _HID
|
|
* Replace: XHID
|
|
* TableSignature: 44534454 (DSDT)
|
|
* (2) Base: \_SB.VMOD.VMBS
|
|
* Comment: _HID to XHID rename (Hyper-V VMBus)
|
|
* Count: 1
|
|
* Find: _HID
|
|
* Replace: XHID
|
|
* TableSignature: 44534454 (DSDT)
|
|
*/
|
|
|
|
DefinitionBlock ("", "SSDT", 2, "ACDT", "HVVMBUS", 0x00000000)
|
|
{
|
|
External (\_SB.VMOD, DeviceObj)
|
|
External (\_SB.VMOD.XHID, MethodObj)
|
|
External (\_SB.VMOD.VMBS, DeviceObj)
|
|
External (\_SB.VMOD.VMBS.XHID, MethodObj)
|
|
|
|
Scope (\_SB.VMOD)
|
|
{
|
|
Method (_HID, 0, NotSerialized)
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (EisaId ("VMD0001"))
|
|
}
|
|
|
|
Return (\_SB.VMOD.XHID())
|
|
}
|
|
}
|
|
|
|
Scope (\_SB.VMOD.VMBS)
|
|
{
|
|
Method (_HID, 0, NotSerialized)
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (EisaId ("VBS0001"))
|
|
}
|
|
|
|
Return (\_SB.VMOD.VMBS.XHID())
|
|
}
|
|
}
|
|
}
|