Hi Michael,
we need to extend/rework the OpenPIC interface because
currently the implementation assumes the little-endian
architecture which is not true on PowerMAC G5 11,2.
And if we want to reuse some parts of the current OpenPIC
implementation then we need to extend it and support
the big-endian architecture too.
I thought of a global variable "openpic_be" which can be set
to 0 or 1. And "openpic_read" and "openpic_write" methods
will check it.
And then rename the 2nd parameter of "setup_openpic" to "flags"
and define 2 flags:
OPENPIC_FLAG_PASSTHROUGH and OPENPIC_FLAG_BIGENDIAN
What do you think ?
Regards