[PATCH] 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.

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Mon Jan 7 03:27:11 PST 2013


Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
---
 include/servermd.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/servermd.h b/include/servermd.h
index d6a9a3a..090da1c 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -245,6 +245,13 @@ SOFTWARE.
 /* ???? */
 #endif                          /* AMD64 */
 
+#if defined(__aarch64__) || defined(aarch64) || defined(__aarch64)
+#define IMAGE_BYTE_ORDER	MSBFirst
+#define BITMAP_BIT_ORDER       MSBFirst
+#define GLYPHPADBYTES		4
+/* ???? */
+#endif                          /* AArch64 */
+
 #if	defined(SVR4) && (defined(__i386__) || defined(__i386) ) ||	\
 	defined(__alpha__) || defined(__alpha) || \
 	defined(__i386__) || \
-- 
1.8.0



More information about the xorg-devel mailing list