diff options
| author | Lans Zhang <jia.zhang@windriver.com> | 2016-12-16 19:59:18 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-02-06 11:18:07 -0500 |
| commit | 478f0f094801ad14cadfb9939ed4d2225322c888 (patch) | |
| tree | 2bfe08bed13e0f0aedf23a69304420b0cc972af5 | |
| parent | 94c955bbbd788fddf3f707c49feebd8828afe123 (diff) | |
| download | efi-boot-shim-478f0f094801ad14cadfb9939ed4d2225322c888.tar.gz efi-boot-shim-478f0f094801ad14cadfb9939ed4d2225322c888.zip | |
shim/tpm: the EFI_TCG2_BOOT_SERVICE_CAPABILITY structure shouldn't be packed
According to TCG EFI Protocol Specification, this structure is not packed.
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
| -rw-r--r-- | tpm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -75,7 +75,7 @@ typedef struct tdTREE_VERSION { typedef struct tdEFI_TCG2_VERSION { uint8_t Major; uint8_t Minor; -} __attribute__ ((packed)) EFI_TCG2_VERSION; +} EFI_TCG2_VERSION; typedef struct tdTREE_BOOT_SERVICE_CAPABILITY { uint8_t Size; @@ -101,7 +101,7 @@ typedef struct tdEFI_TCG2_BOOT_SERVICE_CAPABILITY { uint32_t ManufacturerID; uint32_t NumberOfPcrBanks; EFI_TCG2_EVENT_ALGORITHM_BITMAP ActivePcrBanks; -} __attribute__ ((packed)) EFI_TCG2_BOOT_SERVICE_CAPABILITY; +} EFI_TCG2_BOOT_SERVICE_CAPABILITY; typedef uint32_t TCG_PCRINDEX; typedef uint32_t TCG_EVENTTYPE; |
