tree: 93f184b644328ac9e0cce35eced1d1ecb06e8aab [path history] [tgz]
  1. assert.h
  2. float.h
  3. iso646.h
  4. limits.h
  5. meson.build
  6. README.md
  7. stdalign.h
  8. stdarg.h
  9. stdbool.h
  10. stddef.h
  11. stdint.h
  12. stdnoreturn.h
sw/device/lib/base/freestanding/README.md

title: “Freestanding C Headers”

This subtree defines headers requred for a C freestanding implementation, as specified in S4p6 of the C11 standard. Said headers are implemented to the letter as described in respective sections of said standard.

All of sw/device is compiled using only these headers, and this directory acts as the sole root against which #include <...> directives are resolved. Headers provided by the system or the compiler are totally inaccessible and should not be used.

These headers are guaranteed to be compatible with processors and compilers implementing the RISC-V ILP32 psABI, though they may be compatible with other architectures and calling conventions on a best-effort basis. However, compilers must be compatible with Clang and GCC's intrinsics.