]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/IndustryStandard/VirtioFs.h
OvmfPkg/VirtioFsDxe: implement the wrapper function for FUSE_FLUSH
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / VirtioFs.h
index 797d94a39a390ce34db45dcaf8766134a1798586..fec2f4be531f3c3cad574295f33b4677fdf7556e 100644 (file)
@@ -88,6 +88,7 @@ typedef enum {
   VirtioFsFuseOpForget      =  2,\r
   VirtioFsFuseOpRelease     = 18,\r
   VirtioFsFuseOpFsync       = 20,\r
+  VirtioFsFuseOpFlush       = 25,\r
   VirtioFsFuseOpInit        = 26,\r
   VirtioFsFuseOpOpenDir     = 27,\r
   VirtioFsFuseOpReleaseDir  = 29,\r
@@ -141,6 +142,16 @@ typedef struct {
   UINT32 Padding;\r
 } VIRTIO_FS_FUSE_FSYNC_REQUEST;\r
 \r
+//\r
+// Header for VirtioFsFuseOpFlush.\r
+//\r
+typedef struct {\r
+  UINT64 FileHandle;\r
+  UINT32 Unused;\r
+  UINT32 Padding;\r
+  UINT64 LockOwner;\r
+} VIRTIO_FS_FUSE_FLUSH_REQUEST;\r
+\r
 //\r
 // Headers for VirtioFsFuseOpInit.\r
 //\r