cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / emulation / qemu-i440fx / acpi / pci-crs.asl
blobb39c1e831610ececfa4af5dd8db9b4f479b0c635
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 /* PCI CRS (current resources) definition. */
4 Scope(\_SB.PCI0) {
6     Name(CRES, ResourceTemplate() {
7         WordBusNumber(ResourceProducer, MinFixed, MaxFixed, PosDecode,
8             0x0000,             // Address Space Granularity
9             0x0000,             // Address Range Minimum
10             0x00FF,             // Address Range Maximum
11             0x0000,             // Address Translation Offset
12             0x0100,             // Address Length
13             ,, )
14         IO(Decode16,
15             0x0CF8,             // Address Range Minimum
16             0x0CF8,             // Address Range Maximum
17             0x01,               // Address Alignment
18             0x08,               // Address Length
19             )
20         WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
21             0x0000,             // Address Space Granularity
22             0x0000,             // Address Range Minimum
23             0x0CF7,             // Address Range Maximum
24             0x0000,             // Address Translation Offset
25             0x0CF8,             // Address Length
26             ,, , TypeStatic)
27         WordIO(ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
28             0x0000,             // Address Space Granularity
29             0x0D00,             // Address Range Minimum
30             0xFFFF,             // Address Range Maximum
31             0x0000,             // Address Translation Offset
32             0xF300,             // Address Length
33             ,, , TypeStatic)
34         DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
35             0x00000000,         // Address Space Granularity
36             0x000A0000,         // Address Range Minimum
37             0x000BFFFF,         // Address Range Maximum
38             0x00000000,         // Address Translation Offset
39             0x00020000,         // Address Length
40             ,, , AddressRangeMemory, TypeStatic)
41         DWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
42             0x00000000,         // Address Space Granularity
43             0xE0000000,         // Address Range Minimum
44             0xFEBFFFFF,         // Address Range Maximum
45             0x00000000,         // Address Translation Offset
46             0x1EC00000,         // Address Length
47             ,, PW32, AddressRangeMemory, TypeStatic)
48     })
50     Name(CR64, ResourceTemplate() {
51         QWordMemory(ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
52             0x00000000,          // Address Space Granularity
53             0x8000000000,        // Address Range Minimum
54             0xFFFFFFFFFF,        // Address Range Maximum
55             0x00000000,          // Address Translation Offset
56             0x8000000000,        // Address Length
57             ,, PW64, AddressRangeMemory, TypeStatic)
58     })
60     Method(_CRS, 0) {
61         Return (CRES)
62     }