Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: cdbdd1246005669d5b4f66dff692c398920c3c2b
      
https://github.com/tianocore/edk2/commit/cdbdd1246005669d5b4f66dff692c398920c3c2b
  Author: Taylor Beebe <[email protected]>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
    M ArmPkg/Include/IndustryStandard/ArmStdSmc.h

  Log Message:
  -----------
  ArmPkg: Apply Uncrustify to Non-Compliant Files

This patch applies Uncrustify to the following files:
ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.c
ArmPkg/Include/IndustryStandard/ArmStdSmc.h

Signed-off-by: Taylor Beebe <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>


  Commit: 1b25a7049c4a2621da48d19817b2053217e65478
      
https://github.com/tianocore/edk2/commit/1b25a7049c4a2621da48d19817b2053217e65478
  Author: Taylor Beebe <[email protected]>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
    M ArmPkg/Drivers/CpuDxe/Arm/Mmu.c

  Log Message:
  -----------
  ArmPkg: Update GetMemoryRegion() to Handle No mapping

This patch updates the GetMemoryRegion() function to handle the case
where there is no mapping for the requested address.

The original logic for the ARM would hit an ASSERT after
GetMemoryRegionPage() returned EFI_SUCCESS but did not update The
RegionLength parameter.

The original logic for the AARCH64 would never initialize the
RegionLength parameter to zero and return EFI_SUCCESS after
traversing an unknown number of pages.

To fix this, update the logic for both architecture to return
EFI_NO_MAPPING if the BaseAddress being checked is unmapped.

Signed-off-by: Taylor Beebe <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>


  Commit: 3b74b0394d5ba50b1a465f8102bfa7a5033f4994
      
https://github.com/tianocore/edk2/commit/3b74b0394d5ba50b1a465f8102bfa7a5033f4994
  Author: Taylor Beebe <[email protected]>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
    M ArmPkg/Drivers/CpuDxe/Arm/Mmu.c

  Log Message:
  -----------
  ArmPkg: Fix Unsafe ASSERTs in MMU Logic

There are ASSERTs present in the MMU logic to ensure various
functions return successfully, but these ASSERTs may be ignored
on release builds causing unsafe behavior. This patch updates
the logic to handle unexpected return values and branch safely.

Signed-off-by: Taylor Beebe <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>


  Commit: 6c744465b6970080dadb1f297db024284153c912
      
https://github.com/tianocore/edk2/commit/6c744465b6970080dadb1f297db024284153c912
  Author: Taylor Beebe <[email protected]>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
    M ArmPkg/Drivers/CpuDxe/Arm/Mmu.c

  Log Message:
  -----------
  ArmPkg: Add Function Headers to MMU Logic

Much of the MMU logic was written without function headers. This patch
adds function headers where absent and updates function headers which
do not match the EDK2 standard.

Signed-off-by: Taylor Beebe <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/f2188fe5d155...6c744465b697


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to