Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: de4cc40b8c1d9044df82e077e72ef6e192ea12e2
https://github.com/tianocore/edk2/commit/de4cc40b8c1d9044df82e077e72ef6e192ea12e2
Author: Ard Biesheuvel <[email protected]>
Date: 2024-06-04 (Tue, 04 Jun 2024)
Changed paths:
M MdeModulePkg/Universal/HiiDatabaseDxe/Image.c
Log Message:
-----------
MdeModulePkg/HiiDatabaseDxe: Avoid struct assignment
Struct assignments are not permitted in EDK2, as they may be converted
by the compiler into calls to the 'memcpy' intrinsic, which is not
guaranteed to be available in EDK2.
So replace the assignment with a call to CopyMem (), and -while at it-
replace the loop with a single CopyMem () call, as the loop operates on
items that are contiguous in memory.
Signed-off-by: Ard Biesheuvel <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits