ProcessRecoveryCapsule(), ProcessFmpCapsuleImage(), ProcessRecoveryImage(),\r
ValidateFmpCapsule() will receive untrusted input and do basic validation.\r
\r
-Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
Status = DeviceRecoveryPpi->GetRecoveryCapsuleInfo (\r
(EFI_PEI_SERVICES **)PeiServices,\r
DeviceRecoveryPpi,\r
- FeaturePcdGet(PcdFrameworkCompatibilitySupport) ? CapsuleInstance - 1 : CapsuleInstance,\r
+ CapsuleInstance,\r
&CapsuleSize,\r
&CapsuleType\r
);\r
Status = DeviceRecoveryPpi->LoadRecoveryCapsule (\r
(EFI_PEI_SERVICES **)PeiServices,\r
DeviceRecoveryPpi,\r
- FeaturePcdGet(PcdFrameworkCompatibilitySupport) ? CapsuleInstance - 1 : CapsuleInstance,\r
+ CapsuleInstance,\r
CapsuleBuffer\r
);\r
DEBUG ((DEBUG_ERROR, "LoadRecoveryCapsule - LoadRecoveryCapsule (%d) - %r\n", CapsuleInstance, Status));\r