From: " François Leblanc" <francois.leblanc@cev-sa.com>
To: "Geert Uytterhoeven" <geert@linux-m68k.org>
Cc: "Linux Kernel Development" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] kernel 2.4.18 endianness logical mistakes correction onfbcon-cfb2.c and fbcon-cfb4.c
Date: Mon, 3 Jun 2002 10:26:28 +0200 [thread overview]
Message-ID: <035001c20ad8$5d897b60$6601a8c0@stlo.cevsa.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0205251543260.15278-100000@vervain.sonytel.be>
> > This patchs correct the endianness logical of nibbletab, the first table
is
> > u_char mades so no endian needed and the second swap correctly bytes in
> > LITTLE_ENDIAN. (old version swap half bytes instead of bytes).
>
> For pixels smaller than a byte, it also depends on what's the order of the
> pixels in a byte. So all possibilities are actually possible.
All is possible but for LITTLE ENDIAN and BIG ENDIAN are clearly defined by
the swap of bytes only and not the order of bytes, you can't use the same
definition LITTLE_ENDIAN for swapping bytes in part of hardware (0xABCD ->
0xCDAB) and swapping bytes orders in overs hardwares parts (0xABCD ->
0xDCBA). I suppose this swap order has been introduced for specifics
hardwares requirements, it's ok but only with another option than LITTLE
ENDIAN, since it's incoherent.
François.
prev parent reply other threads:[~2002-06-03 8:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-24 9:55 [PATCH] kernel 2.4.18 endianness logical mistakes correction on fbcon-cfb2.c " François Leblanc
2002-05-24 10:06 ` Russell King
2002-05-25 13:45 ` Geert Uytterhoeven
2002-06-03 8:26 ` François Leblanc [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='035001c20ad8$5d897b60$6601a8c0@stlo.cevsa.com' \
--to=francois.leblanc@cev-sa.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®