| commit | 87c5c44de4eb9017dc0eda366402f7aae3a777a6 | [log] [tgz] |
|---|---|---|
| author | Kofi Doku Atuah <kofi.dokuatuah@nicta.com.au> | Sun May 15 15:52:08 2016 +1000 |
| committer | Kofi Doku Atuah <kofi.dokuatuah@nicta.com.au> | Thu May 19 10:08:51 2016 +1000 |
| tree | 60e6a1686e7cbb8533db6c6af2bb8b8c28f1c97c | |
| parent | 372d356f09873fab3f05c0b1b33ca0d4cad765eb [diff] |
Added sel4_strerror() and some convenience macros for ZF_LOG().
* Moved sel4_strerror and ZF_LOG into seL4_libs, as opposed to util_libs.
* New library function sel4_strerror():
* Does what your gut thinks: prints a stringified version of an seL4 system
error code.
* New macros to make logging cleaner and reduce code size:
* Can be found in sel4_zf_logif.h.
* ZF_LOG?_IF(condition, fmt, ...):
* Prints to log if "condition" is true.
* ZF_LOG?_IFERR(error, fmt, ...):
* Prints to log if error != 0.
* Also prints stringified version of error code.
* Added static index-checking to an array of error-code strings.
* Moved sel4_debug.[ch] from libsel4utils into libsel4debug.
A collection of libraries for working on seL4.
The files in this repository are release under standard open source licenses. Please see individual file headers and the LICENSE_BSD2.txt file for details.