The width digit was missing.
[AROS.git] / arch / ppc-chrp / rtas / rtas_private.h
blobe724900d4c1467483646ebb3be0f91000119ab01
1 /*
2 * rtas_private.h
4 * Created on: Mar 22, 2009
5 * Author: misc
6 */
8 #ifndef RTAS_PRIVATE_H_
9 #define RTAS_PRIVATE_H_
11 #include <exec/nodes.h>
12 #include <inttypes.h>
14 typedef struct {
15 uint32_t token;
16 uint32_t nargs;
17 uint32_t nret;
18 uint32_t args[16];
19 uint32_t *rets;
20 } rtas_args_t;
22 struct RTASBase {
23 struct Node rtas_Node;
24 void *rtas_base;
25 int (*rtas_entry)(rtas_args_t *args, void *base);
26 rtas_args_t rtas_args;
27 void *KernelBase;
28 void *OpenFirmwareBase;
31 #endif /* RTAS_PRIVATE_H_ */