2 Function declaration and internal data for XenBusDxe.
4 Copyright (C) 2014, Citrix Ltd.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef __EFI_XENBUS_DXE_H__
17 #define __EFI_XENBUS_DXE_H__
24 #include <Library/UefiBootServicesTableLib.h>
25 #include <Library/MemoryAllocationLib.h>
26 #include <Library/BaseMemoryLib.h>
27 #include <Library/BaseLib.h>
28 #include <Library/UefiLib.h>
29 #include <Library/DevicePathLib.h>
30 #include <Library/DebugLib.h>
34 // UEFI Driver Model Protocols
36 #include <Protocol/DriverBinding.h>
42 #include <Protocol/PciIo.h>
53 #define XENBUS_DXE_VERSION 0x00000010
59 extern EFI_DRIVER_BINDING_PROTOCOL gXenBusDxeDriverBinding
;
60 extern EFI_COMPONENT_NAME2_PROTOCOL gXenBusDxeComponentName2
;
61 extern EFI_COMPONENT_NAME_PROTOCOL gXenBusDxeComponentName
;
65 // Include files with function prototypes
67 #include "DriverBinding.h"
68 #include "ComponentName.h"
73 #define PCI_VENDOR_ID_XEN 0x5853
74 #define PCI_DEVICE_ID_XEN_PLATFORM 0x0001