Hi Ayan, > On 11 Jun 2025, at 15:35, Ayan Kumar Halder <ayan.kumar.hal...@amd.com> wrote: > > Introduce pr_t typedef which is a structure having the prbar and prlar > members, > each being structured as the registers of the AArch32 Armv8-R architecture. > > Also, define MPU_REGION_RES0 to 0 as there are no reserved 0 bits beyond the > BASE or LIMIT bitfields in prbar or prlar respectively. > > In pr_of_addr(), enclose prbar and prlar arm64 specific bitfields with > appropriate macros. So, that this function can be later reused for arm32 as > well. > > Signed-off-by: Ayan Kumar Halder <ayan.kumar.hal...@amd.com>
LGTM! I’ve also built for Arm32 and Arm64. Reviewed-by: Luca Fancellu <luca.fance...@arm.com>