878ddf1f |
1 | /*++\r |
2 | \r |
3 | Copyright (c) 2006, Intel Corporation \r |
4 | All rights reserved. This program and the accompanying materials \r |
5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r |
7 | http://opensource.org/licenses/bsd-license.php \r |
8 | \r |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r |
11 | \r |
12 | Module Name:\r |
13 | \r |
14 | PciHotPlugRequest.h\r |
15 | \r |
16 | Abstract:\r |
17 | \r |
18 | \r |
19 | \r |
20 | --*/\r |
21 | \r |
22 | #ifndef _PCI_HOTPLUG_REQUEST_H_\r |
23 | #define _PCI_HOTPLUG_REQUEST_H_\r |
24 | \r |
25 | #define EFI_PCI_HOTPLUG_REQUEST_PROTOCOL_GUID \\r |
26 | {0x19cb87ab,0x2cb9,{0x4665,0x83,0x60,0xdd,0xcf,0x60,0x54,0xf7,0x9d}}\r |
27 | \r |
28 | typedef enum {\r |
29 | EfiPciHotPlugRequestAdd,\r |
30 | EfiPciHotplugRequestRemove\r |
31 | } EFI_PCI_HOTPLUG_OPERATION;\r |
32 | \r |
33 | typedef struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL EFI_PCI_HOTPLUG_REQUEST_PROTOCOL;\r |
34 | \r |
35 | typedef\r |
36 | EFI_STATUS\r |
37 | (EFIAPI *EFI_PCI_HOTPLUG_REQUEST_NOTIFY) (\r |
38 | IN EFI_PCI_HOTPLUG_REQUEST_PROTOCOL *This,\r |
39 | IN EFI_PCI_HOTPLUG_OPERATION Operation,\r |
40 | IN EFI_HANDLE Controller,\r |
41 | IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL,\r |
42 | IN OUT UINT8 *NumberOfChildren,\r |
43 | IN OUT EFI_HANDLE *ChildHandleBuffer\r |
44 | );\r |
45 | \r |
46 | \r |
47 | \r |
48 | struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL {\r |
49 | EFI_PCI_HOTPLUG_REQUEST_NOTIFY Notify;\r |
50 | };\r |
51 | \r |
52 | extern EFI_GUID gEfiPciHotPlugRequestProtocolGuid;\r |
53 | \r |
54 | #endif\r |