]>
Commit | Line | Data |
---|---|---|
de671da8 AP |
1 | /** @file\r |
2 | Main header for XenPvBlkDxe\r | |
3 | \r | |
4 | Copyright (C) 2014, Citrix Ltd.\r | |
5 | \r | |
b26f0cf9 | 6 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
de671da8 AP |
7 | \r |
8 | **/\r | |
9 | \r | |
10 | #ifndef __EFI_XEN_PV_BLK_DXE_H__\r | |
11 | #define __EFI_XEN_PV_BLK_DXE_H__\r | |
12 | \r | |
13 | #include <Uefi.h>\r | |
14 | \r | |
ac0a286f MK |
15 | #define xen_mb() MemoryFence()\r |
16 | #define xen_rmb() MemoryFence()\r | |
17 | #define xen_wmb() MemoryFence()\r | |
de671da8 AP |
18 | \r |
19 | //\r | |
20 | // Libraries\r | |
21 | //\r | |
22 | #include <Library/UefiBootServicesTableLib.h>\r | |
23 | #include <Library/MemoryAllocationLib.h>\r | |
24 | #include <Library/BaseMemoryLib.h>\r | |
25 | #include <Library/BaseLib.h>\r | |
26 | #include <Library/UefiLib.h>\r | |
27 | #include <Library/DevicePathLib.h>\r | |
28 | #include <Library/DebugLib.h>\r | |
29 | \r | |
de671da8 AP |
30 | //\r |
31 | // UEFI Driver Model Protocols\r | |
32 | //\r | |
33 | #include <Protocol/DriverBinding.h>\r | |
34 | #include <Protocol/ComponentName2.h>\r | |
35 | #include <Protocol/ComponentName.h>\r | |
36 | \r | |
de671da8 AP |
37 | //\r |
38 | // Consumed Protocols\r | |
39 | //\r | |
40 | #include <Protocol/XenBus.h>\r | |
41 | \r | |
de671da8 AP |
42 | //\r |
43 | // Produced Protocols\r | |
44 | //\r | |
45 | #include <Protocol/BlockIo.h>\r | |
46 | \r | |
de671da8 AP |
47 | //\r |
48 | // Driver Version\r | |
49 | //\r | |
50 | #define XEN_PV_BLK_DXE_VERSION 0x00000010\r | |
51 | \r | |
de671da8 AP |
52 | //\r |
53 | // Protocol instances\r | |
54 | //\r | |
ac0a286f | 55 | extern EFI_DRIVER_BINDING_PROTOCOL gXenPvBlkDxeDriverBinding;\r |
de671da8 | 56 | extern EFI_COMPONENT_NAME2_PROTOCOL gXenPvBlkDxeComponentName2;\r |
ac0a286f | 57 | extern EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName;\r |
de671da8 AP |
58 | \r |
59 | //\r | |
60 | // Include files with function prototypes\r | |
61 | //\r | |
62 | #include "DriverBinding.h"\r | |
63 | #include "ComponentName.h"\r | |
5de8a35c | 64 | #include "BlockIo.h"\r |
de671da8 | 65 | \r |
de671da8 | 66 | #endif\r |