lkml.org 
[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: Devices, buses and hotplug
   Date: Mon, 7 Jun 1999 17:02:56 +0100 (BST)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>

> How do you expect to handle say video memory on 24 bit cards where
> it doesn't fill up and use 32 bits per pixel using this scheme on
> big endian machines?
>
> I don't see how the size of a particular datum changes the problem.

Try working in wrongendian 24bit mode for a while Dave, its _horrible_ trying
to get the byte shifting and flipping right for 3 bytes/pixel packed. Thats
hard to do efficiently on ppc

No no no, I realize this Alan, surely it's horrible.

But my commentary (and I thought Jes's) was in the light of having the
hardware transparently handle the endianness for you, be that via
explicit load/store attributes or special MMU mappings.

Do things make sense to you with this in mind?

Later,
David S. Miller
davem@redhat.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/

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