lkml.org 
[lkml]   [1999]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux/IA-64 byte order


On Mon, 8 Mar 1999, David Miller wrote:
> data. And memory mapping is so much better than plain reading.
>
> Actually, besides my per-load/store endianness selection, there is
> another scheme (supported on UltraSparc, could be supported by IA-64,
> I don't know).
>
> There are often endianness selection bits in the page table entries,
> add a new flag to mmap, and voila.

Wrong.

Think about "memcpy()" and structures (imagine a structure that mixes
16-bit, 32-bit and 64-bit data).

There is no easy solution to bi-endianness. Anybody who thinks there is is
just sadly misguided. You should aim for having a systemwide endianness,
anything else is just asking for trouble for absolutely no real gain.

"Just say no". LE is here to stay, just live with it.

Linus


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.052 / U:23.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site