edk2/MdeModulePkg
Ard Biesheuvel de4cc40b8c 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 <ardb@kernel.org>
2024-06-04 19:06:24 +00:00
..
Application MdeModulePkg/CapsuleApp: Add EFIAPI to CompareFileNameInAlphabet() 2023-05-06 17:48:49 +00:00
Bus MdeModulePkg: SpiHc: SpiHc Drivers 2024-05-08 04:43:58 +00:00
Core MdeModulePkg: Update GCD attribute conversion to support SP attribute 2024-06-02 01:58:12 +00:00
Include MdeModulePkg:Remove MpService2Ppi field in SMM_S3_RESUME_STATE 2024-06-04 07:40:27 +00:00
Library MdeModulePkg:BaseSpiHcPlatformLib: Adding NULL lib instance 2024-05-08 04:43:58 +00:00
Logo MdeModulePkg/Logo: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Test MdeModulePkg: Update DumpImageRecord() in ImagePropertiesRecordLib 2023-11-27 18:55:18 +00:00
Universal MdeModulePkg/HiiDatabaseDxe: Avoid struct assignment 2024-06-04 19:06:24 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Remove ArmPkg Dependency 2024-03-14 16:29:22 +00:00
MdeModulePkg.dec MdeModulePkg: Add gEdkiiS3MtrrSettingGuid 2024-06-04 07:40:27 +00:00
MdeModulePkg.dsc MdeModulePkg: Adding SpiHc Drivers 2024-05-08 04:43:58 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00