diff options
author | Andreas Schwab <schwab@suse.de> | 2013-08-15 12:03:42 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-06 16:41:49 -0800 |
commit | ab4b1fb38a61feb73d8336cc7a3399eb9d3d25be (patch) | |
tree | 5d7d8b8b57a95e3878cda012866f6637b17151cc /include/servermd.h | |
parent | 8fcf82cbf015609e00b3feb9bc567133c7aee5cf (diff) |
ARM64: Add support for aarch64
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/servermd.h')
-rw-r--r-- | include/servermd.h | 14 |
1 files changed, 14 insertions, 0 deletions
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. |