]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(xilinx): resolve integer handling issue
authorAkshay Belsare <Akshay.Belsare@amd.com>
Thu, 15 Dec 2022 10:26:23 +0000 (15:56 +0530)
committerAkshay Belsare <akshay.belsare@amd.com>
Fri, 16 Dec 2022 12:13:43 +0000 (17:43 +0530)
commit4e46db40fc86ddc0556c42ba01198d13002fcf14
tree7317071e46f06422fed6e1042f0ac391e76aa233
parent309b18bdc99b498b5428bcb575d5ff1b67745989
fix(xilinx): resolve integer handling issue

OEN Number 48 to 63 is for Trusted App and OS.
GET_SMC_OEN limits the return value of OEN number to 63 by bitwise AND
operation with 0x3F. Thus the upper limit check for OEN value returned
by GET_SMC_OEN is not required.
Removing the upper limit check for the OEN value returned by GET_SMC_OEN
resolves integer handling issue CONSTANT_EXPRESSION_RESULT

Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
Change-Id: Ie04a4e2fb7cc85ec6055a5662736a805a89f7085
plat/xilinx/common/ipi_mailbox_service/ipi_mailbox_svc.c