]>
Commit | Line | Data |
---|---|---|
79964ac8 | 1 | /** @file\r |
2 | This file declares EFI Incompatible PCI Device Support Protocol\r | |
3 | \r | |
4 | Copyright (c) 2007, Intel Corporation\r | |
5 | All rights reserved. This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | Module Name: IncompatiblePciDeviceSupport.h\r | |
14 | \r | |
15 | @par Revision Reference:\r | |
16 | This protocol is defined in Framework of EFI PCI Platform Support Specification.\r | |
17 | Version0.9\r | |
18 | \r | |
19 | **/\r | |
20 | \r | |
21 | #ifndef _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_\r | |
22 | #define _INCOMPATIBLE_PCI_DEVICE_SUPPORT_H_\r | |
23 | \r | |
b80fbe85 | 24 | #include <PiDxe.h>\r |
25 | \r | |
79964ac8 | 26 | #define EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL_GUID \\r |
27 | {0xeb23f55a, 0x7863, 0x4ac2, {0x8d, 0x3d, 0x95, 0x65, 0x35, 0xde, 0x03, 0x75} }\r | |
28 | \r | |
29 | typedef struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL;\r | |
30 | \r | |
31 | /**\r | |
32 | Returns a list of ACPI resource descriptors that detail the special\r | |
33 | resource configuration requirements for an incompatible PCI device.\r | |
34 | \r | |
35 | @param This Pointer to the EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL instance.\r | |
36 | @param VendorID A unique ID to identify the manufacturer of the PCI device.\r | |
37 | @param DeviceID A unique ID to identify the particular PCI device.\r | |
38 | @param RevisionID A PCI device-specific revision identifier.\r | |
39 | @param SubsystemVendorId Specifies the subsystem vendor ID.\r | |
40 | @param SubsystemDeviceId Specifies the subsystem device ID.\r | |
41 | @param Configuration A list of ACPI resource descriptors that detail\r | |
42 | the configuration requirement.\r | |
43 | \r | |
44 | @retval EFI_SUCCESS The function always returns EFI_SUCCESS.\r | |
45 | \r | |
46 | **/\r | |
47 | typedef\r | |
48 | EFI_STATUS\r | |
49 | (EFIAPI *EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_CHECK_DEVICE) (\r | |
50 | IN EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL *This,\r | |
51 | IN UINTN VendorId,\r | |
52 | IN UINTN DeviceId,\r | |
53 | IN UINTN Revision,\r | |
54 | IN UINTN SubVendorId,OPTIONAL\r | |
55 | IN UINTN SubDeviceId,OPTIONAL\r | |
56 | OUT VOID **Configuration\r | |
57 | );\r | |
58 | \r | |
59 | \r | |
60 | //\r | |
61 | // Interface structure for the Incompatible PCI Device Support Protocol\r | |
62 | //\r | |
63 | /**\r | |
64 | @par Protocol Description:\r | |
65 | This protocol can find some incompatible PCI devices and report their\r | |
66 | special resource requirements to the PCI bus driver.\r | |
67 | \r | |
68 | @param CheckDevice\r | |
69 | Returns a list of ACPI resource descriptors that detail any special\r | |
70 | resource configuration requirements if the specified device is a recognized\r | |
71 | incompatible PCI device.\r | |
72 | \r | |
73 | **/\r | |
74 | struct _EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL {\r | |
75 | EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_CHECK_DEVICE CheckDevice;\r | |
76 | };\r | |
77 | \r | |
78 | extern EFI_GUID gEfiIncompatiblePciDeviceSupportProtocolGuid;\r | |
79 | \r | |
80 | #endif\r |