[PATCH xserver] Add definitions for the AArch64 architecture
Marcin Juszkiewicz
marcin.juszkiewicz at linaro.org
Mon Jan 7 04:34:12 PST 2013
W dniu 03.01.2013 16:33, Thomas Petazzoni pisze:
> AArch64 is the new 64 bits architecture from ARM, for which a few
> definitions are needed in the X.org server to make it build properly.
>
> Like for the ARM 32 bits architecture, we for now assume that AArch64
> will be used in Little Endian mode for Linux.
I subscribed to ML to send it directly (as previous one got to
moderation queue).
> +/* linux on AArch64 */
> +#if defined(linux) && defined(__aarch64__)
> +
> +#define IMAGE_BYTE_ORDER LSBFirst
> +#define BITMAP_BIT_ORDER LSBFirst
> +#define GLYPHPADBYTES 4
> +
> +#endif
Order is reverse. I went that way first time but image booted in AArch64
commercial fast model shown distorted xterm [1]. Changed to MSBFirst and
xterm starts and displays properly [2].
Attached patch.
1. https://plus.google.com/u/0/105007947798310229700/posts/grcK83g5jys
2. https://plus.google.com/u/0/105007947798310229700/posts/dRu2UVEv9gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-definitions-for-the-AArch64-architecture.patch
Type: text/x-diff
Size: 1173 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130107/cce8a352/attachment.patch>
More information about the xorg-devel
mailing list