/**\r
Requests the monotonic counter from the designated RPMC counter.\r
\r
- @param[in] CounterIndex The RPMC index\r
@param[out] CounterValue A pointer to a buffer to store the RPMC value.\r
\r
@retval EFI_SUCCESS The operation completed successfully.\r
EFI_STATUS\r
EFIAPI\r
RequestMonotonicCounter (\r
- IN UINT8 CounterIndex,\r
OUT UINT32 *CounterValue\r
);\r
\r
/**\r
Increments the monotonic counter in the SPI flash device by 1.\r
\r
- @param[in] CounterIndex The RPMC index\r
-\r
@retval EFI_SUCCESS The operation completed successfully.\r
@retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.\r
@retval EFI_UNSUPPORTED The operation is un-supported.\r
EFI_STATUS\r
EFIAPI\r
IncrementMonotonicCounter (\r
- IN UINT8 CounterIndex\r
+ VOID\r
);\r
\r
#endif\r
/**\r
Requests the monotonic counter from the designated RPMC counter.\r
\r
- @param[in] CounterIndex The RPMC index\r
@param[out] CounterValue A pointer to a buffer to store the RPMC value.\r
\r
@retval EFI_SUCCESS The operation completed successfully.\r
EFI_STATUS\r
EFIAPI\r
RequestMonotonicCounter (\r
- IN UINT8 CounterIndex,\r
OUT UINT32 *CounterValue\r
)\r
{\r
/**\r
Increments the monotonic counter in the SPI flash device by 1.\r
\r
- @param[in] CounterIndex The RPMC index\r
-\r
@retval EFI_SUCCESS The operation completed successfully.\r
@retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.\r
@retval EFI_UNSUPPORTED The operation is un-supported.\r
EFI_STATUS\r
EFIAPI\r
IncrementMonotonicCounter (\r
- IN UINT8 CounterIndex\r
+ VOID\r
)\r
{\r
ASSERT (FALSE);\r