]>
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 | |
de671da8 AP |
15 | #define xen_mb() MemoryFence()\r |
16 | #define xen_rmb() MemoryFence()\r | |
17 | #define xen_wmb() MemoryFence()\r | |
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 | |
30 | \r | |
31 | //\r | |
32 | // UEFI Driver Model Protocols\r | |
33 | //\r | |
34 | #include <Protocol/DriverBinding.h>\r | |
35 | #include <Protocol/ComponentName2.h>\r | |
36 | #include <Protocol/ComponentName.h>\r | |
37 | \r | |
38 | \r | |
39 | //\r | |
40 | // Consumed Protocols\r | |
41 | //\r | |
42 | #include <Protocol/XenBus.h>\r | |
43 | \r | |
44 | \r | |
45 | //\r | |
46 | // Produced Protocols\r | |
47 | //\r | |
48 | #include <Protocol/BlockIo.h>\r | |
49 | \r | |
50 | \r | |
51 | //\r | |
52 | // Driver Version\r | |
53 | //\r | |
54 | #define XEN_PV_BLK_DXE_VERSION 0x00000010\r | |
55 | \r | |
56 | \r | |
57 | //\r | |
58 | // Protocol instances\r | |
59 | //\r | |
60 | extern EFI_DRIVER_BINDING_PROTOCOL gXenPvBlkDxeDriverBinding;\r | |
61 | extern EFI_COMPONENT_NAME2_PROTOCOL gXenPvBlkDxeComponentName2;\r | |
62 | extern EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName;\r | |
63 | \r | |
64 | \r | |
65 | //\r | |
66 | // Include files with function prototypes\r | |
67 | //\r | |
68 | #include "DriverBinding.h"\r | |
69 | #include "ComponentName.h"\r | |
5de8a35c | 70 | #include "BlockIo.h"\r |
de671da8 AP |
71 | \r |
72 | \r | |
73 | #endif\r |