mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
Merge "fix(zynqmp): fix sdei arm_validate_ns_entrypoint()" into integration
This commit is contained in:
commit
c58a9c36fa
1 changed files with 4 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue