| 385e3901 | 16-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
libutils: add BIT and SHIFT macros
* Adds BIT32(nr) and BIT64(nr) macros to set a bit in a 32-bit or 64-bit unsigned integer. * Adds SHIFT_U32(v, shift) and SHIFT_U64(v, shift) macros to shift a v
libutils: add BIT and SHIFT macros
* Adds BIT32(nr) and BIT64(nr) macros to set a bit in a 32-bit or 64-bit unsigned integer. * Adds SHIFT_U32(v, shift) and SHIFT_U64(v, shift) macros to shift a value resulting in a 32-bit or 64-bit unsigned integer.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0b647977 | 16-Mar-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
Make sure trace_printf() terminates the string with one unique \n
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens
Make sure trace_printf() terminates the string with one unique \n
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| f4aa5b11 | 12-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Update trace format to be less verbose in INFO and ERROR levels
- By default, traces of severity TRACE_INFO or lower will not print the thread ID, function name or line number. Can be controlled by
Update trace format to be less verbose in INFO and ERROR levels
- By default, traces of severity TRACE_INFO or lower will not print the thread ID, function name or line number. Can be controlled by CFG_MSG_LONG_PREFIX_THRESHOLD (see mk/config.mk). - The trace level string is updated ("DEBUG", "INFO" etc. instead of "DBG", "INF" etc.) for consistency with ARM Trusted Firmware.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| fc26c92a | 16-Jan-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
util.h: add parentheses in ROUND{UP,DOWN} macros
Adds parentheses in ROUND{UP,DOWN} macros in util.h and removes ROUND{UP,DOWN} and MIN/MAX macros from utee_defines.h as they are redundant.
Signed-
util.h: add parentheses in ROUND{UP,DOWN} macros
Adds parentheses in ROUND{UP,DOWN} macros in util.h and removes ROUND{UP,DOWN} and MIN/MAX macros from utee_defines.h as they are redundant.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|