]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Library/PciIncompatibleDeviceSupportLib/IncompatiblePciDeviceList.h
Due to SmBios2.6 spec section 3.3.8.5 doesn't enumerate 24-way set-associative for...
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / PciIncompatibleDeviceSupportLib / IncompatiblePciDeviceList.h
CommitLineData
54bd896e 1/** @file\r
8e8227d1 2 The incompatible PCI device list template.\r
54bd896e 3\r
8e8227d1 4Copyright (c) 2006 - 2009, Intel Corporation \r
53bd6e4c 5All rights reserved. This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php \r
9 \r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
54bd896e 12\r
13**/\r
14\r
ae358cb2 15#ifndef _EFI_INCOMPATIBLE_PCI_DEVICE_LIST_H_\r
16#define _EFI_INCOMPATIBLE_PCI_DEVICE_LIST_H_\r
54bd896e 17\r
a97a7e79 18#include <Library/PciIncompatibleDeviceSupportLib.h>\r
19#include <Library/MemoryAllocationLib.h>\r
20#include <Library/DebugLib.h>\r
54bd896e 21\r
8e8227d1 22#include <IndustryStandard/Pci.h>\r
54bd896e 23#include <IndustryStandard/Acpi.h>\r
24\r
25\r
26#define PCI_DEVICE_ID(VendorId, DeviceId, Revision, SubVendorId, SubDeviceId) \\r
27 VendorId, DeviceId, Revision, SubVendorId, SubDeviceId\r
28\r
29#define PCI_BAR_TYPE_IO ACPI_ADDRESS_SPACE_TYPE_IO\r
30#define PCI_BAR_TYPE_MEM ACPI_ADDRESS_SPACE_TYPE_MEM\r
31\r
32#define DEVICE_INF_TAG 0xFFF2\r
33#define DEVICE_RES_TAG 0xFFF1\r
34#define LIST_END_TAG 0x0000\r
35\r
36//\r
37// descriptor for access width of incompatible PCI device\r
38//\r
39typedef struct {\r
40 UINT64 AccessType;\r
41 UINT64 AccessWidth;\r
42 EFI_PCI_REGISTER_ACCESS_DATA PciRegisterAccessData;\r
43} EFI_PCI_REGISTER_ACCESS_DESCRIPTOR;\r
44\r
45//\r
46// descriptor for register value of incompatible PCI device\r
47//\r
48typedef struct {\r
49 UINT64 AccessType;\r
50 UINT64 Offset;\r
51 EFI_PCI_REGISTER_VALUE_DATA PciRegisterValueData;\r
52} EFI_PCI_REGISTER_VALUE_DESCRIPTOR;\r
53\r
54bd896e 54#endif\r