This is an instance of the Unit Test Persistence Lib that does nothing.\r
\r
Copyright (c) Microsoft Corporation.<BR>\r
+ Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
\r
@param[in] FrameworkHandle A pointer to the framework that is being persisted.\r
@param[in] SaveData A pointer to the buffer containing the serialized\r
framework internal state.\r
+ @param[in] SaveStateSize The size of SaveData in bytes.\r
\r
@retval EFI_SUCCESS Data is persisted and the test can be safely quit.\r
@retval Others Data is not persisted and test cannot be resumed upon exit.\r
EFIAPI\r
SaveUnitTestCache (\r
IN UNIT_TEST_FRAMEWORK_HANDLE FrameworkHandle,\r
- IN UNIT_TEST_SAVE_HEADER *SaveData\r
+ IN VOID *SaveData,\r
+ IN UINTN SaveStateSize\r
)\r
{\r
return EFI_UNSUPPORTED;\r
Will allocate a buffer to hold the loaded data.\r
\r
@param[in] FrameworkHandle A pointer to the framework that is being persisted.\r
- @param[in] SaveData A pointer pointer that will be updated with the address\r
+ @param[out] SaveData A pointer pointer that will be updated with the address\r
of the loaded data buffer.\r
+ @param[out] SaveStateSize Return the size of SaveData in bytes.\r
\r
@retval EFI_SUCCESS Data has been loaded successfully and SaveData is updated\r
with a pointer to the buffer.\r
EFIAPI\r
LoadUnitTestCache (\r
IN UNIT_TEST_FRAMEWORK_HANDLE FrameworkHandle,\r
- OUT UNIT_TEST_SAVE_HEADER **SaveData\r
+ OUT VOID **SaveData,\r
+ OUT UINTN *SaveStateSize\r
)\r
{\r
return EFI_UNSUPPORTED;\r