commit | c70fed58702951c1360f7440f71a415bdd9100b8 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Thu Jun 14 13:28:31 2018 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Thu Jun 14 18:35:38 2018 +0200 |
tree | c081cc3e6cdcaeb5ac121eb80a56292f81ca87d6 | |
parent | 953e94d78d9f8ac69ad4ccb7ca3d9e0b4ee9f565 [diff] |
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>