powerpc-ofw-boot/include/ofw.h

11 lines
252 B
C
Raw Normal View History

2023-07-01 11:07:36 +00:00
#include <stdint.h>
2023-07-01 11:23:50 +00: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 10:30:04 +00:00
typedef int32_t phandle;
typedef int32_t ihandle;