Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b38d9eb7c6299d1bbb46773d261452a11427505b
      
https://github.com/tianocore/edk2/commit/b38d9eb7c6299d1bbb46773d261452a11427505b
  Author: Mingjie Shen <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaCommon.c
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaRxTxMap.c
    M MdeModulePkg/Library/ArmFfaLib/ArmFfaStandaloneMmRxTxMap.c

  Log Message:
  -----------
  MdeModulePkg/ArmFfaLib: Use EFI_PAGES_TO_SIZE

Replace manual page-size multiplication with EFI_PAGES_TO_SIZE
in the ArmFfaLib sources.

This commit mimics 3457388 and is generated by the following coccinelle
scipt:

```smpl
@pages_to_size@
expression PAGE_COUNT;
@@
- PcdGet64 (PAGE_COUNT) * EFI_PAGE_SIZE
+ EFI_PAGES_TO_SIZE (PcdGet64 (PAGE_COUNT))
```

Tested:
- stuart_ci_build -c .pytool/CISettings.py -p MdeModulePkg -a AARCH64 -t DEBUG 
TOOL_CHAIN_TAG=GCC
- stuart_ci_build -c .pytool/CISettings.py -p MdeModulePkg -a AARCH64 -t 
RELEASE,NO-TARGET TOOL_CHAIN_TAG=GCC

Signed-off-by: Mingjie Shen <[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

Reply via email to