The reason for not aligning in Open Firmware
property values because I got tired of having
to fix structures that needed different padding
when moving to different systems.  I just decided
to dispense with alignment, constructing property
values with serialization functions and reading
them with deserialization functions.

People often get away with structure-based property
access techniques, but the "official model" is based
on a byte stream of concatenated elements with no
internal alignment.

Mitch Bradley
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to