]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/Protocol/VirtioDevice: fix comment style
authorBrijesh Singh <brijesh.singh@amd.com>
Mon, 14 Aug 2017 11:36:27 +0000 (07:36 -0400)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 15 Aug 2017 19:56:21 +0000 (21:56 +0200)
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>
OvmfPkg/Include/Protocol/VirtioDevice.h

index 910a4866e7ac996b9bb99b026d0694c7bc5fdb58..fc166bd1a2b49713125fec2fdd731eb87fee7cf3 100644 (file)
@@ -21,7 +21,9 @@
 \r
 #include <IndustryStandard/Virtio.h>\r
 \r
 \r
 #include <IndustryStandard/Virtio.h>\r
 \r
-// VirtIo Specification Revision: Major[31:24].Minor[23:16].Revision[15:0\r
+//\r
+// VirtIo Specification Revision: Major[31:24].Minor[23:16].Revision[15:0]\r
+//\r
 #define VIRTIO_SPEC_REVISION(major,minor,revision) \\r
   ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((revision) & 0xFFFF))\r
 \r
 #define VIRTIO_SPEC_REVISION(major,minor,revision) \\r
   ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((revision) & 0xFFFF))\r
 \r
@@ -327,9 +329,13 @@ EFI_STATUS
 ///  outside of the EDK II tree.\r
 ///\r
 struct _VIRTIO_DEVICE_PROTOCOL {\r
 ///  outside of the EDK II tree.\r
 ///\r
 struct _VIRTIO_DEVICE_PROTOCOL {\r
-  /// VirtIo Specification Revision encoded with VIRTIO_SPEC_REVISION()\r
+  //\r
+  // VirtIo Specification Revision encoded with VIRTIO_SPEC_REVISION()\r
+  //\r
   UINT32                      Revision;\r
   UINT32                      Revision;\r
-  /// From the Virtio Spec\r
+  //\r
+  // From the Virtio Spec\r
+  //\r
   INT32                       SubSystemDeviceId;\r
 \r
   VIRTIO_GET_DEVICE_FEATURES  GetDeviceFeatures;\r
   INT32                       SubSystemDeviceId;\r
 \r
   VIRTIO_GET_DEVICE_FEATURES  GetDeviceFeatures;\r
@@ -350,7 +356,9 @@ struct _VIRTIO_DEVICE_PROTOCOL {
   VIRTIO_GET_DEVICE_STATUS    GetDeviceStatus;\r
   VIRTIO_SET_DEVICE_STATUS    SetDeviceStatus;\r
 \r
   VIRTIO_GET_DEVICE_STATUS    GetDeviceStatus;\r
   VIRTIO_SET_DEVICE_STATUS    SetDeviceStatus;\r
 \r
+  //\r
   // Functions to read/write Device Specific headers\r
   // Functions to read/write Device Specific headers\r
+  //\r
   VIRTIO_DEVICE_WRITE         WriteDevice;\r
   VIRTIO_DEVICE_READ          ReadDevice;\r
 };\r
   VIRTIO_DEVICE_WRITE         WriteDevice;\r
   VIRTIO_DEVICE_READ          ReadDevice;\r
 };\r