-
Notifications
You must be signed in to change notification settings - Fork 45
/
SSDT-DMAC.dsl
executable file
·53 lines (50 loc) · 972 Bytes
/
SSDT-DMAC.dsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//
// SSDT-DMAC.dsl
//
// Dell XPS 15 9560
//
// This SSDT adds a DMA Controller to the LPCB (Low Pin Count Bus).
//
// Credit to syscl:
// https://github.com/syscl/XPS9350-macOS
//
DefinitionBlock("SSDT-DMAC.aml", "SSDT", 2, "hack", "DMAC", 0)
{
External(_SB.PCI0.LPCB, DeviceObj)
Scope(_SB.PCI0.LPCB)
{
Device (DMAC) // macOS desires DMAC credit syscl
{
Name (_HID, EisaId ("PNP0200"))
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0000,
0x0000,
0x01,
0x20,
)
IO (Decode16,
0x0081,
0x0081,
0x01,
0x11,
)
IO (Decode16,
0x0093,
0x0093,
0x01,
0x0D,
)
IO (Decode16,
0x00C0,
0x00C0,
0x01,
0x20,
)
DMA (Compatibility, NotBusMaster, Transfer8_16, )
{4}
})
}
}
}