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