From 7fcacd6c92616fd993a5befd93bcc9cad2610c90 Mon Sep 17 00:00:00 2001 From: jljusten Date: Fri, 12 Oct 2012 18:54:17 +0000 Subject: OvmfPkg: rename AppendDesc to VirtioAppendDesc AppendDesc() should have a prefix implying its containing library, VirtioLib. Update its sole client VirtioBlkDxe. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Jordan Justen git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13843 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/VirtioBlkDxe/VirtioBlk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OvmfPkg/VirtioBlkDxe') 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); // -- cgit v1.2.3