]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Library/XenHypercallLib/ArmXenHypercall.c
OvmfPkg/VirtioLib: change the parameter of VirtioAppendDesc() to UINT64
[mirror_edk2.git] / OvmfPkg / Library / XenHypercallLib / ArmXenHypercall.c
index 1f213d6e6f1880c7eff96af400c9134995a14fdf..58cd3ec76bf812eadb497d7f5c38d963121e91f0 100644 (file)
 \r
 #include <Base.h>\r
 \r
+/**\r
+  Check if the Xen Hypercall library is able to make calls to the Xen\r
+  hypervisor.\r
+\r
+  Client code should call further functions in this library only if, and after,\r
+  this function returns TRUE.\r
+\r
+  @retval TRUE   Hypercalls are available.\r
+  @retval FALSE  Hypercalls are not available.\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+XenHypercallIsAvailable (\r
+  VOID\r
+  )\r
+{\r
+  return TRUE;\r
+}\r
+\r
 RETURN_STATUS\r
 EFIAPI\r
 XenHypercallLibInit (\r