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.
5 files changed
tree: 60e6a1686e7cbb8533db6c6af2bb8b8c28f1c97c
  1. libsel4allocman/
  2. libsel4bench/
  3. libsel4debug/
  4. libsel4muslcsys/
  5. libsel4platsupport/
  6. libsel4simple/
  7. libsel4simple-default/
  8. libsel4sync/
  9. libsel4test/
  10. libsel4utils/
  11. libsel4vka/
  12. libsel4vmm/
  13. libsel4vspace/
  14. .gitignore
  15. LICENSE_BSD2.txt
  16. README.md
README.md

seL4_libs

seL4 Libraries

A collection of libraries for working on seL4.

  • libsel4allocman: an allocator for managing virtual memory, malloc memory and cspaces.
  • libsel4bench: a library with utilities for benchmarking on seL4.
  • libsel4debug: a library with utilities for debugging on seL4.
  • libsel4muslcsys: a library to support muslc for the root task.
  • libsel4platsupport: a wrapper around libplatsupport specificially for seL4.
  • libsel4simple: an interface which abstracts over the boot environment of a seL4 application.
  • libsel4simple-default: an implementation of simple for the master branch of the kernel.
  • libsel4simple-experimental: an implementatoin of simple for the experimental branch of the kernel.
  • libsel4sync: a synchronisation library that uses notifications to construct basic locks.
  • libsel4test: a very basic test infrastructure library.
  • libsel4utils: a library OS - implements threads, processes, elf loading, virtual memory management etc.
  • libsel4vka: an allocation interface for seL4.
  • libsel4vspace: a virtual memory management interface for seL4.

License

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.