Skip to content

Commit 147b2c7

Browse files
authored
Merge pull request #1081 from osy/fix-dmac
Add DMAC device for AppleVTD support
2 parents 2bccb75 + 7b1b152 commit 147b2c7

File tree

3 files changed

+46
-6
lines changed

3 files changed

+46
-6
lines changed

ACPI/SSDT-VTd.asl

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/**
2+
* AppleVTD support
3+
*/
4+
DefinitionBlock ("", "SSDT", 2, "OSY86 ", "AppleVTD", 0x00001000)
5+
{
6+
External (\_SB_.PCI0.LPCB, DeviceObj) // (from opcode)
7+
8+
Scope (\_SB.PCI0.LPCB)
9+
{
10+
Device (DMAC)
11+
{
12+
Name (_HID, EisaId ("PNP0200")) // _HID: Hardware ID
13+
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
14+
{
15+
IO (Decode16,
16+
0x0000, // Range Minimum
17+
0x0000, // Range Maximum
18+
0x01, // Alignment
19+
0x20, // Length
20+
)
21+
IO (Decode16,
22+
0x0081, // Range Minimum
23+
0x0081, // Range Maximum
24+
0x01, // Alignment
25+
0x11, // Length
26+
)
27+
IO (Decode16,
28+
0x0093, // Range Minimum
29+
0x0093, // Range Maximum
30+
0x01, // Alignment
31+
0x0D, // Length
32+
)
33+
IO (Decode16,
34+
0x00C0, // Range Minimum
35+
0x00C0, // Range Maximum
36+
0x01, // Alignment
37+
0x20, // Length
38+
)
39+
DMA (Compatibility, NotBusMaster, Transfer8_16, )
40+
{4}
41+
})
42+
}
43+
}
44+
}

Installer/data/OpenCore/source.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
https://github.com/dortania/build-repo/releases/download/OpenCorePkg-c72c258/OpenCore-0.9.2-RELEASE.zip
2-
09b1e89797c0344a453706973faf5d05913bd4aea9c83392a0df2334cd9ad7b9
1+
https://github.com/acidanthera/OpenCorePkg/releases/download/0.9.1/OpenCore-0.9.1-RELEASE.zip
2+
26c8d1e960e7fa4d6d61392770aff9d5abfafd68031660c1f20a991a6d746e36

OC/config.plist

-4
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,6 @@
477477
<true/>
478478
<key>AppleXcpmCfgLock</key>
479479
<true/>
480-
<key>DisableIoMapper</key>
481-
<true/>
482-
<key>DisableIoMapperMapping</key>
483-
<true/>
484480
<key>DisableLinkeditJettison</key>
485481
<true/>
486482
<key>PanicNoKextDump</key>

0 commit comments

Comments
 (0)