[OpenBIOS] [PATCH v3 3/5] Pretty-print reg property

Artyom Tarasenko atar4qemu at gmail.com
Tue Nov 9 11:02:19 CET 2010


On Mon, Nov 8, 2010 at 10:53 PM, Tarl Neustaedter <tarl-b2 at tarl.net> wrote:
> On 2010-11-6 1:46 PM, Tarl Neustaedter wrote:
>>
>> On 2010-11-6 6:43 AM, Andreas Färber wrote:
>>>
>>> [...]
>>> Hm. It's right for reg, with is one cell (0) only.
>>> But it logically doesn't fit the MMU's available property. So it's
>>> telling me we need to special-case that somehow for 5/5. Which in turn means
>>> that we'll need to pass the #address-cells and #size-cells via stack in 3/5
>>> to cover this use case.
>>>
>>> "The property values are as defined for the standard “reg” format, with
>>> single-cell virtual
>>> addresses. The regions of virtual address space denote the virtual
>>> address space that is currently
>>> unallocated by the Open Firmware and is available for use by client
>>> programs." (IEEE 1275 3.6.5)
>>
>> Hmm. It's "recommended", and I believe that is incorrect for SPARC 64.
>> I'll check on monday - I remember recently seeing that the /virtual-memory
>> available property used two-cell virtual addresses. I'll check what it does
>> with MMUs.
>>
>>
> Duhh... Sun systems haven't had an MMU node for a _long_ time. I think the
> SS5 had one, but I literally can't find a Sun old enough to have such a
> node. Never mind...

I guess the first one which had it was Ultra-1. SS-5 didn't have it:

ok .version
Release 2.15 Version 5 created 95/03/29 14:21:55
ok show-devs
/FMI,MB86904
/virtual-memory at 0,0
/memory at 0,0
/obio
/iommu at 0,10000000
/openprom
/aliases
/options
/packages
/obio/SUNW,fdtwo at 0,400000
/obio/power at 0,910000
/obio/interrupt at 0,e00000
/obio/counter at 0,d00000
/obio/auxio at 0,900000
/obio/slavioconfig at 0,800000
/obio/eeprom at 0,200000
/obio/zs at 0,0
/obio/zs at 0,100000
/iommu at 0,10000000/sbus at 0,10001000
/iommu at 0,10000000/sbus at 0,10001000/power-management at 4,a000000
/iommu at 0,10000000/sbus at 0,10001000/SUNW,CS4231 at 4,c000000
/iommu at 0,10000000/sbus at 0,10001000/ledma at 5,8400010
/iommu at 0,10000000/sbus at 0,10001000/SUNW,bpp at 5,c800000
/iommu at 0,10000000/sbus at 0,10001000/espdma at 5,8400000
/iommu at 0,10000000/sbus at 0,10001000/ledma at 5,8400010/le at 5,8c00000
/iommu at 0,10000000/sbus at 0,10001000/espdma at 5,8400000/esp at 5,8800000
/iommu at 0,10000000/sbus at 0,10001000/espdma at 5,8400000/esp at 5,8800000/st
/iommu at 0,10000000/sbus at 0,10001000/espdma at 5,8400000/esp at 5,8800000/sd
/packages/obp-tftp
/packages/deblocker
/packages/disk-label


-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/



More information about the OpenBIOS mailing list