[edk2] [PATCH 1/5] OvmfPkg/AcpiPlatformDxe: prepare for QEMU_LOADER_WRITE_POINTER definitions

Laszlo Ersek posted 5 patches 7 years, 8 months ago
[edk2] [PATCH 1/5] OvmfPkg/AcpiPlatformDxe: prepare for QEMU_LOADER_WRITE_POINTER definitions
Posted by Laszlo Ersek 7 years, 8 months ago
No functional changes in this patch, just prepare the grounds with some
reformatting (trailing comma after the last enumeration constant,
horizontal whitespace insertion) so that the next patch can be cleaner.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=359
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
 OvmfPkg/AcpiPlatformDxe/QemuLoader.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
index 84dec06422d6..b29944378d76 100644
--- a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
+++ b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
@@ -25,11 +25,11 @@
 #define QEMU_LOADER_FNAME_SIZE QEMU_FW_CFG_FNAME_SIZE
 
 typedef enum {
   QemuLoaderCmdAllocate = 1,
   QemuLoaderCmdAddPointer,
-  QemuLoaderCmdAddChecksum
+  QemuLoaderCmdAddChecksum,
 } QEMU_LOADER_COMMAND_TYPE;
 
 typedef enum {
   QemuLoaderAllocHigh = 1,
   QemuLoaderAllocFSeg
@@ -73,14 +73,14 @@ typedef struct {
 } QEMU_LOADER_ADD_CHECKSUM;
 
 typedef struct {
   UINT32 Type;                             // QEMU_LOADER_COMMAND_TYPE values
   union {
-    QEMU_LOADER_ALLOCATE     Allocate;
-    QEMU_LOADER_ADD_POINTER  AddPointer;
-    QEMU_LOADER_ADD_CHECKSUM AddChecksum;
-    UINT8                    Padding[124];
+    QEMU_LOADER_ALLOCATE      Allocate;
+    QEMU_LOADER_ADD_POINTER   AddPointer;
+    QEMU_LOADER_ADD_CHECKSUM  AddChecksum;
+    UINT8                     Padding[124];
   } Command;
 } QEMU_LOADER_ENTRY;
 #pragma pack ()
 
 #endif
-- 
2.9.3


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel