Messages in this thread | | | From | Patrick Lerda <> | Subject | insw(), insl(), outsw(), outsl() behaviour on big-endian processo rs ? | Date | Mon, 7 Jun 1999 13:56:37 +0200 |
| |
The functions: insw(), insl(), outsw(), outsl() perform memory block copy, and are used in a lot of drivers. In the PowerPC version of linux theses fuinctions are defined to change the endianess of data being proceeded (the endianess is changed with a byte swapping operator).
Is this correct to change the endianess of data ? Is a specification available to define the behaviour of theses functions for different linux architectures.
In my opinion theses functions are generally used to do a fast byte copy, in this case doing a byte-swapping of data break a lot of programs.
LERDA Patrick
e-mail: lerda@microprocess.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |