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>
This commit is contained in:
Brijesh Singh 2017-08-14 07:36:27 -04:00 committed by Laszlo Ersek
parent 22701a3d4d
commit a136bc3ccf
1 changed files with 11 additions and 3 deletions

View File

@ -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;
};