toolchain: add a program for compiling ipc interface definitions

ifc can be used to compile .if files into self-contained header-only C
libraries, which can be used to send/receive messages that conform
to the described interface.
This commit is contained in:
2026-02-26 19:44:21 +00:00
parent e2b19c3e9a
commit b631fca0fd
25 changed files with 3692 additions and 9 deletions

12
toolchain/ifc/file-span.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef IFC_FILE_SPAN_H_
#define IFC_FILE_SPAN_H_
struct file_cell {
unsigned int c_row, c_col;
};
struct file_span {
struct file_cell s_start, s_end;
};
#endif