[PATCH xserver] Add definitions for the AArch64 architecture
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jan 3 07:33:03 PST 2013
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.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
include/servermd.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/servermd.h b/include/servermd.h
index d6a9a3a..c2d7d70 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -272,6 +272,15 @@ SOFTWARE.
#endif /* linux/m68k */
+/* linux on AArch64 */
+#if defined(linux) && defined(__aarch64__)
+
+#define IMAGE_BYTE_ORDER LSBFirst
+#define BITMAP_BIT_ORDER LSBFirst
+#define GLYPHPADBYTES 4
+
+#endif
+
/* linux on ARM */
#if defined(linux) && defined(__arm__)
#define IMAGE_BYTE_ORDER LSBFirst
--
1.7.9.5
More information about the xorg-devel
mailing list