https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=43081

Clone this repo:

Branches

  1. 14828a5 [nlio] Add OWNERS file by Marina Ciocea · 2 years ago main master
  2. 12c8b4f Resolve '-Wextra-semi' warnings by Prashanth Swaminathan · 3 years ago
  3. 18a909f [nlio] Add GN support to include nlio headers by Prashanth Swaminathan · 4 years, 10 months ago
  4. 6ae054c Initial import of nlio by Nicolas Sylvain · 5 years ago

Build Status Coverage Status

Nest Labs Memory Mapped I/O

Introduction

Nest Labs Memory Mapped I/O (NLIO) is designed to provide both C and C++ language bindings to macros and functions for:

  1. Determining, at both compile- and run-time, the byte ordering of the target system.
  2. Performing in place byte-swapping of compile-time constants via the C preprocessor as well as functions for performing byte-swapping by value and in place by pointer for 16-, 32-, and 64-bit types.
  3. Safely performing simple, efficient memory-mapped accesses, potentially to unaligned memory locations, with or without byte reordering, to 8-, 16-, 32-, and 64-bit quantities. Functions both with and without pointer management are also available.

Interact

There are numerous avenues for nlio support:

Versioning

nlio follows the Semantic Versioning guidelines for release cycle transparency and to maintain backwards compatibility.

License

nlio is released under the Apache License, Version 2.0 license. See the LICENSE file for more information.