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>
This commit is contained in:
parent
98197d931b
commit
d52799f67f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue