Searched hist:a9e3195c286f52f9d84bd782a397e19d85424427 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/include/arch/aarch64/ |
| H A D | arch.h | a9e3195c286f52f9d84bd782a397e19d85424427 Mon Apr 14 08:53:39 UTC 2025 Saivardhan Thatikonda <saivardhan.thatikonda@amd.com> fix(lib): use 64-bit constants in MDCR_EL2 bit macros
Updated bitmask definitions in MDCR_EL2 macros to use ULL(1) instead of U(1), ensuring the left operand in shift operations is of an appropriate width. This avoids MISRA C:2012 Rule 12.2 violations, which prohibit shifting a value by more than 7 bits when the left- hand operand is an unsigned int.
Change-Id: I279fb33c2ef714367953d53e61456490cd7c798b Signed-off-by: Saivardhan Thatikonda <saivardhan.thatikonda@amd.com>
|