toolchain: replace ifc interface compiler with xpcg

xpcg is used to generate xpc interfaces
This commit is contained in:
2026-03-10 19:12:14 +00:00
parent 3a06c18e10
commit 26a49162e6
24 changed files with 427 additions and 878 deletions

13
toolchain/xpcg/backend.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef XPCG_BACKEND_H_
#define XPCG_BACKEND_H_
struct interface_definition;
struct backend {
const char *b_name;
int (*b_emit)(const struct interface_definition *);
};
extern const struct backend *c_mpc_backend(void);
#endif