Messages in this thread | | | Date | Mon, 7 Jun 1999 09:13:01 -0700 | From | "David S. Miller" <> | Subject | Re: 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/
| |