May anyone please explain the endianness of returned values by readw and readl. I am currently using PowerPC arch.
Thanks and Best Regards!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
“readw” and “readl” return the value of the underlying architecture.
As it happens, a PowerPC can be either big- or little endian.
AFAIK, most Linux implementations run PPC in big-endian mode.