[RFC] FDT fix for 64 bit platforms

Jayachandran C. jchandra at freebsd.org
Fri Oct 14 19:36:47 UTC 2011


I'm planning commit this -CURRENT if there an no objections.

In the current implementation, phandle is used to store a pointer to
the location inside the device tree.  Since phandle_t is u32, this
will not work on 64 bit platforms. With this fix, the phandle is the
offset from the start of device tree pointer 'fdtp', which will be 32
bit.

Review or testing from device tree users will be welcome.

JC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdt-64-fix.patch
Type: application/octet-stream
Size: 4384 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111014/92587f44/fdt-64-fix.obj


More information about the freebsd-current mailing list