diff options
-rw-r--r-- | OvmfPkg/Include/Library/VirtioLib.h | 2 | ||||
-rw-r--r-- | OvmfPkg/Library/VirtioLib/VirtioLib.c | 2 | ||||
-rw-r--r-- | OvmfPkg/VirtioBlkDxe/VirtioBlk.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/OvmfPkg/Include/Library/VirtioLib.h b/OvmfPkg/Include/Library/VirtioLib.h index 95657a7111..eff66da6b3 100644 --- a/OvmfPkg/Include/Library/VirtioLib.h +++ b/OvmfPkg/Include/Library/VirtioLib.h @@ -175,7 +175,7 @@ VirtioRingUninit ( **/
VOID
EFIAPI
-AppendDesc (
+VirtioAppendDesc (
IN OUT VRING *Ring,
IN UINTN BufferPhysAddr,
IN UINT32 BufferSize,
diff --git a/OvmfPkg/Library/VirtioLib/VirtioLib.c b/OvmfPkg/Library/VirtioLib/VirtioLib.c index 580824261c..f0328ef4cd 100644 --- a/OvmfPkg/Library/VirtioLib/VirtioLib.c +++ b/OvmfPkg/Library/VirtioLib/VirtioLib.c @@ -314,7 +314,7 @@ VirtioRingUninit ( **/
VOID
EFIAPI
-AppendDesc (
+VirtioAppendDesc (
IN OUT VRING *Ring,
IN UINTN BufferPhysAddr,
IN UINT32 BufferSize,
diff --git a/OvmfPkg/VirtioBlkDxe/VirtioBlk.c b/OvmfPkg/VirtioBlkDxe/VirtioBlk.c index eeeb4bef6e..ce38ff7093 100644 --- a/OvmfPkg/VirtioBlkDxe/VirtioBlk.c +++ b/OvmfPkg/VirtioBlkDxe/VirtioBlk.c @@ -301,8 +301,8 @@ SynchronousRequest ( //
// virtio-blk header in first desc
//
- AppendDesc (&Dev->Ring, (UINTN) &Request, sizeof Request, VRING_DESC_F_NEXT,
- FirstAvailIdx, &NextAvailIdx);
+ VirtioAppendDesc (&Dev->Ring, (UINTN) &Request, sizeof Request,
+ VRING_DESC_F_NEXT, FirstAvailIdx, &NextAvailIdx);
//
// data buffer for read/write in second desc
@@ -321,7 +321,7 @@ SynchronousRequest ( //
// VRING_DESC_F_WRITE is interpreted from the host's point of view.
//
- AppendDesc (&Dev->Ring, (UINTN) Buffer, (UINT32) BufferSize,
+ VirtioAppendDesc (&Dev->Ring, (UINTN) Buffer, (UINT32) BufferSize,
VRING_DESC_F_NEXT | (RequestIsWrite ? 0 : VRING_DESC_F_WRITE),
FirstAvailIdx, &NextAvailIdx);
}
@@ -329,7 +329,7 @@ SynchronousRequest ( //
// host status in last (second or third) desc
//
- AppendDesc (&Dev->Ring, (UINTN) &HostStatus, sizeof HostStatus,
+ VirtioAppendDesc (&Dev->Ring, (UINTN) &HostStatus, sizeof HostStatus,
VRING_DESC_F_WRITE, FirstAvailIdx, &NextAvailIdx);
//
|