Add some definitions in Framework FV 0.9 spec but not in PI 1.0.
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / PciHotPlugRequest.h
CommitLineData
a9102619 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PciHotPlugRequest.h\r
15\r
16Abstract:\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
28typedef enum {\r
29 EfiPciHotPlugRequestAdd,\r
30 EfiPciHotplugRequestRemove\r
31} EFI_PCI_HOTPLUG_OPERATION;\r
32\r
33typedef struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL EFI_PCI_HOTPLUG_REQUEST_PROTOCOL;\r
34\r
35typedef\r
36EFI_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
48struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL {\r
49 EFI_PCI_HOTPLUG_REQUEST_NOTIFY Notify;\r
50};\r
51\r
52extern EFI_GUID gEfiPciHotPlugRequestProtocolGuid;\r
53\r
54#endif\r