tree: 02cb8b3a98745e78d06f303a3ab268631670889d [path history] [tgz]
  1. templates/
  2. BUILD.gn
  3. README.md
  4. zircon_ifs.go
zircon/tools/zither/backends/zircon_ifs/README.md

The zither “zircon.ifs” Backend

The zither zircon.ifs backend is responsible for generating “zircon.ifs”, the text ABI specification of libzircon.so, derived from the FIDL syscall specifications of library zx. It also generates “libzircon.json”, which is a simple list of system call linkage names in JSON format.

Output layout

One “zircon.ifs” and one “libzircon.json” is generated.

GN integration

${fidl_target}_zither.zircon_ifs generates the one file, which is intended to be accessed via zither_golden_files() in order to be checked in as source.

Bindings

Any declaration type not mentioned below is ignored.

Syscalls

Each syscall contributes two .ifs entries:

- { Name: _zx_foo_bar, Type: Func }
- { Name: zx_foo_bar, Type: Func, Weak: true }

The JSON file consists of a single JSON array of strings. This lists only the plain zx_foo_bar names, without each _-prefixed counterpart.