[OpenBIOS] [RFC] Pretty-print reg property

Andreas Färber andreas.faerber at web.de
Thu Nov 4 01:30:04 CET 2010

Am 05.10.2010 um 01:22 schrieb Andreas Färber:

> Executing .properties for, e.g., the /memory node would print the  
> "reg" property
> as a series of bytes.
> Modify the .properties and (.property) words to special-case  
> property display
> based on property name. Visualize the "reg" format as a table.
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
> ---
> Hello,
> This prettification was tested for qemu-ppc (#address-cells == 1 &&  
> #size-cells == 1)
> with a local patch to fix the /memory reg property (uses 2 cells  
> currently).
> Is it permissible to modify the (.property) "signature" in this way?

It seems it's not mentioned in IEEE 1275 or used elsewhere, so I guess  
it's okay.

"dev mac-io .properties" on ppc is a test case for different cell  
counts btw.


More information about the OpenBIOS mailing list