diff options
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Tpm12.h | 4 | ||||
-rw-r--r-- | MdePkg/Include/Protocol/TcgService.h | 4 | ||||
-rw-r--r-- | MdePkg/Include/Uefi/UefiTcgPlatform.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm12.h b/MdePkg/Include/IndustryStandard/Tpm12.h index fc2eaa4da2..86eb8e0e11 100644 --- a/MdePkg/Include/IndustryStandard/Tpm12.h +++ b/MdePkg/Include/IndustryStandard/Tpm12.h @@ -25,7 +25,7 @@ // Structures are all packed on 1-byte alignment
//
-#pragma pack (push, 1)
+#pragma pack (1)
//
// Part 2, section 2.2: Basic types & Helper redefinitions
@@ -1835,6 +1835,6 @@ typedef struct tdTPM_RSP_COMMAND_HDR { TPM_RESULT returnCode;
} TPM_RSP_COMMAND_HDR;
-#pragma pack (pop)
+#pragma pack ()
#endif // _TPM12_H_
diff --git a/MdePkg/Include/Protocol/TcgService.h b/MdePkg/Include/Protocol/TcgService.h index 762e0ea6bf..430e4a6a84 100644 --- a/MdePkg/Include/Protocol/TcgService.h +++ b/MdePkg/Include/Protocol/TcgService.h @@ -26,7 +26,7 @@ typedef struct _EFI_TCG_PROTOCOL EFI_TCG_PROTOCOL; //
// Set structure alignment to 1-byte
//
-#pragma pack (push, 1)
+#pragma pack (1)
typedef struct {
UINT8 Major;
@@ -50,7 +50,7 @@ typedef UINT32 TCG_ALGORITHM_ID; //
// Restore original structure alignment
//
-#pragma pack (pop)
+#pragma pack ()
/**
This service provides EFI protocol capability information, state information
diff --git a/MdePkg/Include/Uefi/UefiTcgPlatform.h b/MdePkg/Include/Uefi/UefiTcgPlatform.h index 155c940532..a67bfcb277 100644 --- a/MdePkg/Include/Uefi/UefiTcgPlatform.h +++ b/MdePkg/Include/Uefi/UefiTcgPlatform.h @@ -56,7 +56,7 @@ //
// Set structure alignment to 1-byte
//
-#pragma pack (push, 1)
+#pragma pack (1)
typedef UINT32 TCG_EVENTTYPE;
@@ -144,7 +144,7 @@ typedef struct tdEFI_GPT_DATA { //
// Restore original structure alignment
//
-#pragma pack (pop)
+#pragma pack ()
#endif
|