audk/ArmPkg
Michael Kubacki d451bba399 ArmPkg/ArmMmuLib: Use function pointer type
mReplaceLiveEntryFunc is a function pointer but assigned as a VOID*
pointer:

  mReplaceLiveEntryFunc = *(VOID **)GET_GUID_HOB_DATA (Hob);

This leads to the Visual Studio warning:

  nonstandard extension, function/data pointer conversion in
  expression

This change updates the assignment to avoid using a data pointer and
defines a type for the function pointer to succinctly and accurately
refer to the type when it is used in the library code.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
2023-11-28 10:12:29 +00:00
..
Drivers ArmPkg/ArmPsciMpServices: Add EFI_NOT_READY return 2023-10-18 09:00:09 +00:00
Filesystem/SemihostFs ArmPkg/SemihostFs: replace SetMem with ZeroMem 2023-03-09 09:45:39 +00:00
Include ArmPkg/ArmLib: Add ArmHasEte () helper function 2023-10-30 12:16:56 +00:00
Library ArmPkg/ArmMmuLib: Use function pointer type 2023-11-28 10:12:29 +00:00
Universal/Smbios ArmPkg/SmbiosMiscDxe: use UINT64 for BiosPhysicalSize 2023-08-30 21:10:54 +00:00
ArmPkg.ci.yaml ArmPkg: Enable AuditMode for Uncrustify CI checks 2023-06-02 10:02:03 +00:00
ArmPkg.dec ArmPkg: add EL2 virtual timer interrupt Pcd 2023-09-19 20:27:55 +00:00
ArmPkg.dsc Revert "ArmPkg: add ArmCpuInfo EFI application" 2023-09-05 17:00:40 +00:00