Merge "fix(zynqmp): fix sdei arm_validate_ns_entrypoint()" into integration

This commit is contained in:
Madhukar Pappireddy 2023-06-07 16:25:46 +02:00 committed by TrustedFirmware Code Review
commit c58a9c36fa

View file

@ -16,7 +16,10 @@
int arm_validate_ns_entrypoint(uintptr_t entrypoint)
{
return (entrypoint < BL31_BASE || entrypoint > BL31_LIMIT) ? 0 : -1;
uint64_t base = BL31_BASE;
uint64_t limit = BL31_LIMIT;
return (entrypoint < base || entrypoint > limit) ? 0 : -1;
}
/* Private event mappings */