Push/pop pragma packed
This file wasn't pushing/popping packed, so it was getting applied to
files outside of this header erroneously.
Fix it.
Change-Id: Ide47dbf043688a3139f76f4f6514f4517faa23d0
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/edk/Cper.h b/edk/Cper.h
index cc2b3ad..8f9e529 100644
--- a/edk/Cper.h
+++ b/edk/Cper.h
@@ -14,7 +14,7 @@
#ifndef __CPER_GUID_H__
#define __CPER_GUID_H__
-#pragma pack(1)
+#pragma pack(push, 1)
#define EFI_ERROR_RECORD_SIGNATURE_START SIGNATURE_32('C', 'P', 'E', 'R')
#define EFI_ERROR_RECORD_SIGNATURE_END 0xFFFFFFFF
@@ -1370,7 +1370,6 @@
extern EFI_GUID gEfiCxlPhysicalSwitchErrorSectionGuid;
extern EFI_GUID gEfiCxlVirtualSwitchErrorSectionGuid;
extern EFI_GUID gEfiCxlMldPortErrorSectionGuid;
-#pragma pack()
#if defined(MDE_CPU_IA32) || defined(MDE_CPU_X64)
///
@@ -1384,4 +1383,6 @@
#endif
+#pragma pack(pop)
+
#endif