4 2 encode-int " #address-cells" property
5 1 encode-int " #size-cells" property
7 " sun4m" encode-string " compatible" property
8 h# 0a21fe80 encode-int " clock-frequency" property
10 : encode-unit encode-unit-sbus ;
11 : decode-unit decode-unit-sbus ;
18 \ claim ( phys size align -- base )
19 \ release ( phys size -- )
23 " virtual-memory" device-name
27 \ claim ( phys size align -- base )
28 \ release ( phys size -- )
33 2 encode-int " #address-cells" property
34 1 encode-int " #size-cells" property
35 h# 1000 encode-int " page-size" property
36 0 encode-int " cache-coherence?" property
38 : open ( cr ." opening iommu" cr) true ;
40 : encode-unit encode-unit-sbus ;
41 : decode-unit decode-unit-sbus ;
47 " hierarchical" device-type
48 2 encode-int " #address-cells" property
49 1 encode-int " #size-cells" property
50 h# 01443fd0 encode-int " clock-frequency" property
51 h# 1c encode-int " slot-address-bits" property
52 h# 3f encode-int " burst-sizes" property
54 : open ( cr ." opening SBus" cr) true ;
56 : encode-unit encode-unit-sbus ;
57 : decode-unit decode-unit-sbus ;
58 : map-in map-in-sbus ;
59 : map-out map-out-sbus ;
63 " /iommu/sbus" find-device
65 " SUNW,bpp" device-name
66 h# 4 encode-int h# 0c800000 encode-int encode+ h# 0000001c encode-int encode+ " reg" property
67 h# 33 encode-int 0 encode-int encode+ " intr" property
71 " /iommu/sbus" find-device
75 : encode-unit encode-unit-sbus ;
76 : decode-unit decode-unit-sbus ;
79 " /iommu/sbus" find-device
82 h# 3f encode-int " burst-sizes" property
84 : encode-unit encode-unit-sbus ;
85 : decode-unit decode-unit-sbus ;
88 " /iommu/sbus/ledma" find-device
91 " network" device-type
92 h# 7 encode-int " busmaster-regval" property
93 h# 26 encode-int 0 encode-int encode+ " intr" property
100 " hierarchical" device-type
101 2 encode-int " #address-cells" property
102 1 encode-int " #size-cells" property
104 : open ( cr ." opening obio" cr) true ;
106 : encode-unit encode-unit-sbus ;
107 : decode-unit decode-unit-sbus ;
110 " /options" find-device
111 " disk" encode-string " boot-from" property
113 " /openprom" find-device
114 0 0 " aligned-allocator" property