Home
last modified time | relevance | path

Searched hist:"167 c5f8098d372e15e2ec0791beb323e880cdfff" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/lib/
H A Dutils_def.h167c5f8098d372e15e2ec0791beb323e880cdfff Thu Jun 14 11:28:31 UTC 2018 Yann Gautier <yann.gautier@st.com> utils: Add BIT_32 and BIT_64 macros

When applying some MISRA rules, lots of issues are raised with BIT macro
on AARCH32, and cast on uint32_t would be required (Rule 10.3).
The macros BIT_32 and BIT_64 are then created for 32bit and 64bit.
Then the BIT macro defaults on BIT_64 on AARCH64,
and on BIT_32 on AARCH32.

Signed-off-by: Yann Gautier <yann.gautier@st.com>