1 \ tag: device interface structures
3 \ this code implements data structures used by the
4 \ IEEE 1275-1994 Open Firmware Device Interface.
6 \ Copyright (C) 2003 Stefan Reinauer
8 \ See the file "COPYING" for further information about
9 \ the copyright and warranty status of this work.
12 \ this file contains the struct definitions for the following
13 \ device tree structures:
21 /n field >in.instance-data \ must go first
22 /n field >in.alloced-size \ alloced size
23 /n field >in.device-node
24 /n field >in.my-parent
25 /n field >in.interposed
26 4 cells field >in.my-unit
27 2 cells field >in.arguments
28 \ instance-data should be null during packet initialization
29 \ this diverts access to instance variables to the dictionary
30 constant inst-node.size
32 struct ( device node )
33 /n field >dn.isize \ instance size (must go first)
37 /n field >dn.properties
39 /n field >dn.priv-methods
41 /n field >dn.probe-addr
42 inst-node.size field >dn.itemplate
43 constant dev-node.size
50 constant prop-node.size
52 struct ( active package )
53 /n field >ap.device-str
54 constant active-package.size