[PATCH xserver] Add definitions for the AArch64 architecture

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jan 3 14:16:09 PST 2013

Dear Thierry Reding,

On Thu, 3 Jan 2013 21:48:22 +0100, Thierry Reding wrote:
> On Thu, Jan 03, 2013 at 04:33:03PM +0100, Thomas Petazzoni wrote:
> > 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.
> Is there a reason for doing so? It should be possible to get this
> information from predefined preprocessor macros:

For the AArch64 addition, there is no other reason than just using the
same pattern as the one used for ARM. For sure the ARM thing itself
could be improved. I think ultimately all those architecture-specific
definitions could potentially be guessed from standard headers, but
isn't that a separate effort?


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the xorg-devel mailing list