Skip to content
Commit ac0c0a61 authored by Jaxson Han's avatar Jaxson Han Committed by Christopher Friedt
Browse files

include: arm64: Refine the mem alignment macros



Add a new macro MEM_DOMAIN_ALIGN_AND_SIZE for mmu and mpu mem
alignment.
MEM_DOMAIN_ALIGN_AND_SIZE is
  - CONFIG_MMU_PAGE_SIZE, when mmu is enabled.
  - CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE when mpu enabled.

Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent d282d86d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment