From ab4b1fb38a61feb73d8336cc7a3399eb9d3d25be Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 15 Aug 2013 12:03:42 +0200 Subject: ARM64: Add support for aarch64 Signed-off-by: Andreas Schwab Reviewed-by: Mark Kettenis Reviewed-by: Adam Jackson Signed-off-by: Keith Packard --- include/servermd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/servermd.h') diff --git a/include/servermd.h b/include/servermd.h index d6a9a3ad5..11f6c1022 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -286,6 +286,20 @@ SOFTWARE. #define GLYPHPADBYTES 4 #endif /* linux/s390 */ +#ifdef __aarch64__ + +#ifdef __AARCH64EL__ +#define IMAGE_BYTE_ORDER LSBFirst +#define BITMAP_BIT_ORDER LSBFirst +#endif +#ifdef __AARCH64EB__ +#define IMAGE_BYTE_ORDER MSBFirst +#define BITMAP_BIT_ORDER MSBFirst +#endif +#define GLYPHPADBYTES 4 + +#endif /* __aarch64__ */ + /* size of buffer to use with GetImage, measured in bytes. There's obviously * a trade-off between the amount of heap used and the number of times the * ddx routine has to be called. -- cgit v1.2.3