[OpenBIOS] [PATCH v3 3/5] Pretty-print reg property
Andreas Färber
andreas.faerber at web.de
Sun Dec 5 12:21:14 CET 2010
Am 05.12.2010 um 03:08 schrieb Tarl Neustaedter:
> On 2010-12-4 8:54 AM, Andreas Färber wrote:
>> [...]
>> Just wondering, what does /virtual-memory at 0,0 contain?
>> /virtual-memory is where I saw "available" and "translations"
>> properties on a Sun Fire V480.
>
> Yup. In a recent (sun4v, T5240) system:
Actually the context here was sparc32/sun4m. Artyom reported no /
chosen node on an SS-5 but apparently some /virtual-memory at 0,0 node.
OpenBIOS/sparc32 on the other hand does have a /chosen node and an
"mmu" property, but its value is 0 so that pretty-printing of /virtual-
memory's "available" isn't triggered. So I'm thinking, if the virtual
memory "available" property is there and we do have a /chosen node
then "mmu" should point to /virtual-memory, even if there's no
"translations" property. The alternative would be to [IFDEF]
CONFIG_SPARC32 a special handling of "available" in the /virtual-
memory node.
Andreas
More information about the OpenBIOS
mailing list