summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-01-14 08:45:22 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-01-21 12:15:06 +0300
commit715a8dc06756dd666eb57e86dec25752a6fc60b6 (patch)
treec504b8deebc91da7a5a411f42fa226e1eee7261f /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h
parent43e0552a74622a9e63d5bebc5a86e5ea4c33ceb5 (diff)
downloadedk2-715a8dc06756dd666eb57e86dec25752a6fc60b6.tar.xz
SecurityPkg/Library/SecureBootVariableLib/UnitTest: Cmocka use issues
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions