]>
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 | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __EFI_XEN_PV_BLK_DXE_H__\r | |
17 | #define __EFI_XEN_PV_BLK_DXE_H__\r | |
18 | \r | |
19 | #include <Uefi.h>\r | |
20 | \r | |
de671da8 AP |
21 | #define xen_mb() MemoryFence()\r |
22 | #define xen_rmb() MemoryFence()\r | |
23 | #define xen_wmb() MemoryFence()\r | |
24 | \r | |
25 | //\r | |
26 | // Libraries\r | |
27 | //\r | |
28 | #include <Library/UefiBootServicesTableLib.h>\r | |
29 | #include <Library/MemoryAllocationLib.h>\r | |
30 | #include <Library/BaseMemoryLib.h>\r | |
31 | #include <Library/BaseLib.h>\r | |
32 | #include <Library/UefiLib.h>\r | |
33 | #include <Library/DevicePathLib.h>\r | |
34 | #include <Library/DebugLib.h>\r | |
35 | \r | |
36 | \r | |
37 | //\r | |
38 | // UEFI Driver Model Protocols\r | |
39 | //\r | |
40 | #include <Protocol/DriverBinding.h>\r | |
41 | #include <Protocol/ComponentName2.h>\r | |
42 | #include <Protocol/ComponentName.h>\r | |
43 | \r | |
44 | \r | |
45 | //\r | |
46 | // Consumed Protocols\r | |
47 | //\r | |
48 | #include <Protocol/XenBus.h>\r | |
49 | \r | |
50 | \r | |
51 | //\r | |
52 | // Produced Protocols\r | |
53 | //\r | |
54 | #include <Protocol/BlockIo.h>\r | |
55 | \r | |
56 | \r | |
57 | //\r | |
58 | // Driver Version\r | |
59 | //\r | |
60 | #define XEN_PV_BLK_DXE_VERSION 0x00000010\r | |
61 | \r | |
62 | \r | |
63 | //\r | |
64 | // Protocol instances\r | |
65 | //\r | |
66 | extern EFI_DRIVER_BINDING_PROTOCOL gXenPvBlkDxeDriverBinding;\r | |
67 | extern EFI_COMPONENT_NAME2_PROTOCOL gXenPvBlkDxeComponentName2;\r | |
68 | extern EFI_COMPONENT_NAME_PROTOCOL gXenPvBlkDxeComponentName;\r | |
69 | \r | |
70 | \r | |
71 | //\r | |
72 | // Include files with function prototypes\r | |
73 | //\r | |
74 | #include "DriverBinding.h"\r | |
75 | #include "ComponentName.h"\r | |
5de8a35c | 76 | #include "BlockIo.h"\r |
de671da8 AP |
77 | \r |
78 | \r | |
79 | #endif\r |