aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/files/xorg-avr32-support.diff
blob: 583191e84fe3178c1cde71657586c7c0ae445926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
upstream: applied in 82b37d35af13a9f402755e167493ab256b664b9c (2008-04-22)

--- /tmp/servermd.h	2007-09-30 17:27:22.310911628 +0200
+++ xorg-server-1.4/include/servermd.h	2007-09-30 17:28:25.297799199 +0200
@@ -130,6 +130,16 @@
 
 #endif /* vax */
 
+#ifdef __avr32__
+
+#define IMAGE_BYTE_ORDER        MSBFirst
+#define BITMAP_BIT_ORDER        MSBFirst
+#define GLYPHPADBYTES           4
+#define GETLEFTBITS_ALIGNMENT   1
+#define AVOID_MEMORY_READ
+
+#endif /* __avr32__ */ 
+
 #ifdef __arm32__
 
 #define IMAGE_BYTE_ORDER        LSBFirst