mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Fix mocked versions of GetVariable() and SetVariable(). * VendorGuid parameter use expect_memory() not expect_value() * MockSetVariable() use check_expected() for Attributes parameter * MockSetVariable() use check_expected_ptr() for Data parameter * Calls to MockGetVariable() use (UINTN) cast for will_return() of pointer to data buffer returned. Issues found with Linux GCC NOOPT IA32 builds of unit tests. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> |
||
|---|---|---|
| .. | ||
| MockPlatformPKProtectionLib.c | ||
| MockPlatformPKProtectionLib.inf | ||
| MockUefiLib.c | ||
| MockUefiLib.inf | ||
| MockUefiRuntimeServicesTableLib.c | ||
| MockUefiRuntimeServicesTableLib.inf | ||
| SecureBootVariableLibUnitTest.c | ||
| SecureBootVariableLibUnitTest.inf | ||