Created
August 22, 2019 15:49
-
-
Save rbradford/5650a389afce2289e7a6e0527a1cb57b to your computer and use it in GitHub Desktop.
Cloud Hypervisor DSDT ASL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DefinitionBlock ("", "DSDT", 6, "CLOUDH", "CHDSDT ", 0x00000001) | |
{ | |
Device (_SB.PCI0) | |
{ | |
Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID | |
Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID | |
Name (_ADR, Zero) // _ADR: Address | |
Name (_SEG, Zero) // _SEG: PCI Segment | |
Name (_UID, Zero) // _UID: Unique ID | |
Name (SUPP, Zero) | |
} | |
Scope (_SB.PCI0) | |
{ | |
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
{ | |
WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, | |
0x0000, // Granularity | |
0x0000, // Range Minimum | |
0x00FF, // Range Maximum | |
0x0000, // Translation Offset | |
0x0100, // Length | |
,, ) | |
IO (Decode16, | |
0x0CF8, // Range Minimum | |
0x0CF8, // Range Maximum | |
0x01, // Alignment | |
0x08, // Length | |
) | |
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, | |
0x0000, // Granularity | |
0x0000, // Range Minimum | |
0x0CF7, // Range Maximum | |
0x0000, // Translation Offset | |
0x0CF8, // Length | |
,, , TypeStatic, DenseTranslation) | |
WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, | |
0x0000, // Granularity | |
0x0D00, // Range Minimum | |
0xFFFF, // Range Maximum | |
0x0000, // Translation Offset | |
0xF300, // Length | |
,, , TypeStatic, DenseTranslation) | |
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, | |
0x00000000, // Granularity | |
0x000A0000, // Range Minimum | |
0x000BFFFF, // Range Maximum | |
0x00000000, // Translation Offset | |
0x00020000, // Length | |
,, , AddressRangeMemory, TypeStatic) | |
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, | |
0x00000000, // Granularity | |
0xC0000000, // Range Minimum | |
0xFEC00000, // Range Maximum | |
0x00000000, // Translation Offset | |
0x3EC00001, // Length | |
,, , AddressRangeMemory, TypeStatic) | |
QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, | |
0x0000000000000000, // Granularity | |
0x0000000800000000, // Range Minimum | |
0x0000000FFFFFFFFF, // Range Maximum | |
0x0000000000000000, // Translation Offset | |
0x0000000800000000, // Length | |
,, , AddressRangeMemory, TypeStatic) | |
}) | |
} | |
Scope (_SB.PCI0) | |
{ | |
Device (ISA) | |
{ | |
Name (_ADR, 0x00010000) // _ADR: Address | |
Device (COM1) | |
{ | |
Name (_HID, EisaId ("PNP0501") /* 16550A-compatible COM Serial Port */) // _HID: Hardware ID | |
Name (_UID, One) // _UID: Unique ID | |
Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings | |
{ | |
IO (Decode16, | |
0x03F8, // Range Minimum | |
0x03F8, // Range Maximum | |
0x00, // Alignment | |
0x08, // Length | |
) | |
IRQNoFlags () | |
{4} | |
}) | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment