X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FTpm2DeviceLibDTpm%2FTpm2DeviceLibDTpmStandaloneMm.c;fp=SecurityPkg%2FLibrary%2FTpm2DeviceLibDTpm%2FTpm2DeviceLibDTpmStandaloneMm.c;h=f56edc8bafc27a08657271f3b98ee7375f4cc8b6;hp=eac866d2a77a6059e7c6c35aef2abb1093d6704a;hb=c411b485b63a671a1e276700cff025c73997233c;hpb=39de741e2dcb8f11e9b4438e37224797643d8451 diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c index eac866d2a7..f56edc8baf 100644 --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandaloneMm.c @@ -51,15 +51,15 @@ InternalTpm2DeviceLibDTpmCommonConstructor ( ) { mActiveTpmInterfaceType = 0xFF; - mCRBIdleByPass = 0xFF; + mCRBIdleByPass = 0xFF; // // Always cache current active TpmInterfaceType for StandaloneMm implementation // - mActiveTpmInterfaceType = Tpm2GetPtpInterface ((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAddress)); + mActiveTpmInterfaceType = Tpm2GetPtpInterface ((VOID *)(UINTN)PcdGet64 (PcdTpmBaseAddress)); if (mActiveTpmInterfaceType == Tpm2PtpInterfaceCrb) { - mCRBIdleByPass = Tpm2GetIdleByPass((VOID *) (UINTN) PcdGet64 (PcdTpmBaseAddress)); + mCRBIdleByPass = Tpm2GetIdleByPass ((VOID *)(UINTN)PcdGet64 (PcdTpmBaseAddress)); } return EFI_SUCCESS;