summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2017-02-08 14:25:01 +0100
committerLaszlo Ersek <lersek@redhat.com>2017-02-21 13:10:05 +0100
commit75ccd1d89e78d4aa3ba3facbdada897149ff7091 (patch)
treea3ae344954f8fa0e8d73feab992ee8ec2f352045
parent85520606ad459ba7d825c7ea5f225cffa1dbe95b (diff)
downloadedk2-platforms-75ccd1d89e78d4aa3ba3facbdada897149ff7091.tar.xz
OvmfPkg/AcpiPlatformDxe: prepare for QEMU_LOADER_WRITE_POINTER definitions
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> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--OvmfPkg/AcpiPlatformDxe/QemuLoader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
index 84dec06422..b29944378d 100644
--- a/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
+++ b/OvmfPkg/AcpiPlatformDxe/QemuLoader.h
@@ -27,7 +27,7 @@
typedef enum {
QemuLoaderCmdAllocate = 1,
QemuLoaderCmdAddPointer,
- QemuLoaderCmdAddChecksum
+ QemuLoaderCmdAddChecksum,
} QEMU_LOADER_COMMAND_TYPE;
typedef enum {
@@ -75,10 +75,10 @@ typedef struct {
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 ()