summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include/Protocol
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2017-08-14 07:36:27 -0400
committerLaszlo Ersek <lersek@redhat.com>2017-08-15 21:56:21 +0200
commita136bc3ccfa479ec8a3fc9afcbd00283339101fa (patch)
tree9026dc0297b7f9fb15f056b848ce802f2bf4a7b9 /OvmfPkg/Include/Protocol
parent22701a3d4dd1fd3eed385215d6e2dad0ad069b7f (diff)
downloadedk2-a136bc3ccfa479ec8a3fc9afcbd00283339101fa.tar.gz
edk2-a136bc3ccfa479ec8a3fc9afcbd00283339101fa.tar.bz2
edk2-a136bc3ccfa479ec8a3fc9afcbd00283339101fa.zip
OvmfPkg/Protocol/VirtioDevice: fix comment style
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> [lersek@redhat.com: clarify subject line] [lersek@redhat.com: adjust the set of comments updated by the patch] Reviewed-by: Laszlo Ersek <lersek@redhat.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/Include/Protocol')
-rw-r--r--OvmfPkg/Include/Protocol/VirtioDevice.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/OvmfPkg/Include/Protocol/VirtioDevice.h b/OvmfPkg/Include/Protocol/VirtioDevice.h
index 910a4866e7..fc166bd1a2 100644
--- a/OvmfPkg/Include/Protocol/VirtioDevice.h
+++ b/OvmfPkg/Include/Protocol/VirtioDevice.h
@@ -21,7 +21,9 @@
#include <IndustryStandard/Virtio.h>
-// VirtIo Specification Revision: Major[31:24].Minor[23:16].Revision[15:0
+//
+// VirtIo Specification Revision: Major[31:24].Minor[23:16].Revision[15:0]
+//
#define VIRTIO_SPEC_REVISION(major,minor,revision) \
((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((revision) & 0xFFFF))
@@ -327,9 +329,13 @@ EFI_STATUS
/// outside of the EDK II tree.
///
struct _VIRTIO_DEVICE_PROTOCOL {
- /// VirtIo Specification Revision encoded with VIRTIO_SPEC_REVISION()
+ //
+ // VirtIo Specification Revision encoded with VIRTIO_SPEC_REVISION()
+ //
UINT32 Revision;
- /// From the Virtio Spec
+ //
+ // From the Virtio Spec
+ //
INT32 SubSystemDeviceId;
VIRTIO_GET_DEVICE_FEATURES GetDeviceFeatures;
@@ -350,7 +356,9 @@ struct _VIRTIO_DEVICE_PROTOCOL {
VIRTIO_GET_DEVICE_STATUS GetDeviceStatus;
VIRTIO_SET_DEVICE_STATUS SetDeviceStatus;
+ //
// Functions to read/write Device Specific headers
+ //
VIRTIO_DEVICE_WRITE WriteDevice;
VIRTIO_DEVICE_READ ReadDevice;
};