1 \ QEMU specific initialization code
3 \ This program is free software; you can redistribute it and/or
4 \ modify it under the terms of the GNU General Public License
5 \ as published by the Free Software Foundation
10 \ -------------------------------------------------------------
12 \ -------------------------------------------------------------
15 \ Apple calls the root node device-tree
16 " device-tree" device-name
17 [IFDEF] CONFIG_PPC64 2 [ELSE] 1 [THEN] encode-int " #address-cells" property
18 1 encode-int " #size-cells" property
19 h# 05f5e100 encode-int " clock-frequency" property
23 1 encode-int " #address-cells" property
24 0 encode-int " #size-cells" property
27 : encode-unit ( unit -- str len )
31 : decode-unit ( str len -- unit )
45 \ -------------------------------------------------------------
47 \ -------------------------------------------------------------
49 " /packages" find-device
51 " packages" device-name
53 \ allow packages to be opened with open-dev
57 \ /packages/terminal-emulator
59 " terminal-emulator" device-name
63 \ : write ( addr len -- actual )
68 \ -------------------------------------------------------------
70 \ -------------------------------------------------------------