]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/IndustryStandard/VirtioBlk.h
OvmfPkg: IndustryStandard/VirtioBlk: add extra horizontal whitespace
[mirror_edk2.git] / OvmfPkg / Include / IndustryStandard / VirtioBlk.h
index ab11e6c8552abdc7986632d565cbecc8d7045e8f..a9f91e4673b922d0d6e338bad3a92ae1e8da1943 100644 (file)
 //\r
 #pragma pack(1)\r
 typedef struct {\r
-  UINT64     Capacity;\r
-  UINT32     SizeMax;\r
-  UINT32     SegMax;\r
-  UINT16     Cylinders;\r
-  UINT8      Heads;\r
-  UINT8      Sectors;\r
-  UINT32     BlkSize;\r
+  UINT64              Capacity;\r
+  UINT32              SizeMax;\r
+  UINT32              SegMax;\r
+  UINT16              Cylinders;\r
+  UINT8               Heads;\r
+  UINT8               Sectors;\r
+  UINT32              BlkSize;\r
 } VIRTIO_BLK_CONFIG;\r
 #pragma pack()\r
 \r
@@ -44,12 +44,12 @@ typedef struct {
 #define VIRTIO_BLK_F_SEG_MAX  BIT2\r
 #define VIRTIO_BLK_F_GEOMETRY BIT4\r
 #define VIRTIO_BLK_F_RO       BIT5\r
-#define VIRTIO_BLK_F_BLK_SIZE BIT6 // treated as "logical block size" in\r
-                                   // practice; actual host side implementation\r
-                                   // negotiates "optimal" block size\r
-                                   // separately\r
+#define VIRTIO_BLK_F_BLK_SIZE BIT6  // treated as "logical block size" in\r
+                                    // practice; actual host side\r
+                                    // implementation negotiates "optimal"\r
+                                    // block size separately\r
 #define VIRTIO_BLK_F_SCSI     BIT7\r
-#define VIRTIO_BLK_F_FLUSH    BIT9 // identical to "write cache enabled"\r
+#define VIRTIO_BLK_F_FLUSH    BIT9  // identical to "write cache enabled"\r
 \r
 //\r
 // We keep the status byte separate from the rest of the virtio-blk request\r