utils,cbor: Use uint64_t for type

new_reference has code that expects the emitted field to be sometimes
larger than a 32bit value so it's necessary to make the type 64 bits on
32-bit architectures.
Also reordered the field in the struct to likely get slightly better
packing efficiency.

Signed-off-by: Kent McLeod <kent@kry10.com>
2 files changed
tree: 1356d96761408e03b0d7330aa10e7ff5ba402079
  1. .github/
  2. libcpio/
  3. libelf/
  4. libethdrivers/
  5. libfdt/
  6. liblwip/
  7. libpci/
  8. libpicotcp/
  9. libplatsupport/
  10. libutils/
  11. LICENSES/
  12. .licenseignore
  13. .stylefilter
  14. CMakeLists.txt
  15. Findutil_libs.cmake
  16. LICENSE.md
  17. README.md
README.md

Collection of OS independent utility libs:

  • libcpio - a library for parsing CPIO files.
  • libelf - a library for parsing ELF files.
  • libethdrivers - a library for ethernet drivers.
  • libpci - a library for PCI drivers.
  • libplatsupport - a library of platform support utilities, interfaces for interacting with drivers, timer drivers, serial drivers and clock drivers.
  • libfdt - a library for flat device tree manipulation libfdt
  • libutils - a library of generic utilities including:
    • ansi.h - utilities for formatting ansi output.
    • arith.h - utilities for arithmetic, ie MAX, MIN, ROUND_UP etc.
    • assume.h - provides ASSUME, which allows the user to provide hints to gcc.
    • builtin.h - defines conventient macros for using builtin gcc attributes.
    • compile_time.h - provides compile time asserts.
    • debug.h - various debugging macros.
    • formats.h - formats for printf.
    • list.h - a basic, void * pointer based list implementation.
    • math.h - provies complex math, ie. muldivu64.
    • page.h - provides virtual memory page operations.
    • sglib.h - an open source template library that provides arrays, lists, red-black trees etc.
    • stringify.h - provides macros for creating even more macros.
    • time.h - provides temporal constants (i.e US_IN_S)
    • util.h - includes all util header files.
    • verification.h - macros for verification in Isabelle.
    • zf_log_config.h - provides zf_log config.
    • zf_log.h - an open source logging library.
    • libpicotcp - a wrapper library to include picotcp.