[Differential] [Changed Subscribers] D1912: Fix endianness on FDT read in ARM GIC

nwhitehorn (Nathan Whitehorn) phabric-noreply at FreeBSD.org
Fri Feb 20 15:23:01 UTC 2015


nwhitehorn added a subscriber: nwhitehorn.
nwhitehorn added a comment.

This is a good patch. The spec defines that interrupts properties are in 32-bit chunks "encoded as with <encode-int>" (i.e. big-endian and 32-bits at a time), so all endian decoding should be confined to OF_getencprop() calls in ofw_bus_intr_to_rl().

REVISION DETAIL
  https://reviews.freebsd.org/D1912

To: zbb, imp, andrew
Cc: nwhitehorn, onwahe-gmail-com, freebsd-arm


More information about the freebsd-arm mailing list