arch/ppc-sam440: oops - found my missing KrnCli/KrnSti implementations
[AROS.git] / rom / openfirmware / of_intern.h
blobfd809683f8aaeb3d1d1efc142295c1d63906a3c5
1 /*
2 * of_intern.h
4 * Created on: Oct 11, 2008
5 * Author: misc
6 */
8 #ifndef OF_INTERN_H_
9 #define OF_INTERN_H_
11 #include <exec/nodes.h>
12 #include <exec/lists.h>
13 #include <inttypes.h>
15 typedef struct {
16 struct MinNode on_node;
17 char *on_name;
18 struct MinList on_children;
19 struct MinList on_properties;
21 uint8_t on_storage[];
22 } of_node_t;
24 typedef struct {
25 struct MinNode op_node;
26 char *op_name;
27 uint32_t op_length;
28 void *op_value;
30 uint8_t op_storage[];
31 } of_property_t;
33 struct OpenFirmwareBase {
34 struct Node of_Node;
35 of_node_t *of_Root;
38 #endif /* OF_INTERN_H_ */