OvmfPkg/VirtioFsDxe: implement EFI_FILE_PROTOCOL.GetPosition, .SetPosition
Using the functions introduced previously, we can now implement VirtioFsSimpleFileGetPosition() and VirtioFsSimpleFileSetPosition(). Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3097 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20201216211125.19496-32-lersek@redhat.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
This commit is contained in:
committed by
mergify[bot]
parent
b6b240f94f
commit
c4edb49b4f
@@ -139,6 +139,7 @@ typedef struct {
|
||||
VIRTIO_FS *OwnerFs;
|
||||
LIST_ENTRY OpenFilesEntry;
|
||||
CHAR8 *CanonicalPathname;
|
||||
UINT64 FilePosition;
|
||||
//
|
||||
// In the FUSE wire protocol, every request except FUSE_INIT refers to a
|
||||
// file, namely by the "VIRTIO_FS_FUSE_REQUEST.NodeId" field; that is, by the
|
||||
|
Reference in New Issue
Block a user