11 lines
252 B
C
Raw Permalink Normal View History

2023-07-01 12:07:36 +01:00
#include <stdint.h>
2023-07-01 12:23:50 +01:00
#define SERVICE(name, len, args, rets) \
char _service[len] = name; \
ofw_arg.service = _service; \
ofw_arg.n_args = args; \
ofw_arg.n_rets = rets;
2023-07-03 11:30:04 +01:00
typedef int32_t phandle;
typedef int32_t ihandle;