diff options
author | Macpaul Lin <macpaul@andestech.com> | 2010-09-21 15:13:30 +0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-09-23 15:35:48 -0700 |
commit | d52799f67f590b0f91b521cd2bdf5a5a8a229c96 (patch) | |
tree | 3ac404223cb654014b8b01d088b7c8f97372b8d3 /include/servermd.h | |
parent | 98197d931b266674557b52b4a7099c6470114e55 (diff) |
xfree86: nds32: add nds32 related definitions into include headers.
Add MSB/LSB related definitions into include/servermd.h
Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/servermd.h')
-rw-r--r-- | include/servermd.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/servermd.h b/include/servermd.h index e1d644e00..271d936f4 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -84,6 +84,27 @@ SOFTWARE. #endif /* __arm32__ */ +#if defined(__nds32__) + +#define IMAGE_BYTE_ORDER LSBFirst + +#if defined(XF86MONOVGA) || defined(XF86VGA16) || defined(XF86MONO) +# define BITMAP_BIT_ORDER MSBFirst +#else +# define BITMAP_BIT_ORDER LSBFirst +#endif + +#if defined(XF86MONOVGA) || defined(XF86VGA16) +# define BITMAP_SCANLINE_UNIT 8 +#endif + +#define GLYPHPADBYTES 4 +#define GETLEFTBITS_ALIGNMENT 1 +#define LARGE_INSTRUCTION_CACHE +#define AVOID_MEMORY_READ + +#endif /* __nds32__ */ + #if defined __hppa__ #define IMAGE_BYTE_ORDER MSBFirst |