tree: a56d499969bcb11b7a4899b51563e7ac0b56f1d4 [path history] [tgz]
  1. BUILD.gn
  2. constraints.fidl
  3. format_modifier.fidl
  4. image_formats.fidl
  5. image_formats_deprecated.fidl
  6. overview.fidl
  7. OWNERS
  8. README.md
  9. usages.fidl
sdk/banjo/fuchsia.sysmem/README.md

fuchsia.sysmem Banjo library

TODO(b/306258166): Delete this library when clients have moved away from using

these old sysmem(1) banjo types.

This library is based on FIDL library. Copied files were edited to remove constant declarations so that they don't conflict with their FIDL counterparts in contexts where both Banjo and FIDL bindings are used. Protocols are removed leaving only types.

All these types are deprecated. Client code still using these old types can define equivalent local types instead (essentially just copying the banjo codegen types locally as a starting point), or migrate to FIDL types in FIDL library or FIDL library.

The most authoritative/automated translation to sysmem2 and images2 types (for reference at least) is what you get when you treat these types as FIDL /sdk/fidl/fuchsia.sysmem “wire” types (bit for bit), then use sysmem-version.h to convert from the sysmem(1) types to sysmem2 / images2 types.

Ultimately the present library will disappear when no more clients are using these banjo types.