Revision e2542fe2 hw/pl110_template.h
b/hw/pl110_template.h | ||
---|---|---|
95 | 95 |
|
96 | 96 |
#if ORDER == 0 |
97 | 97 |
#define NAME glue(glue(lblp_, BORDER), BITS) |
98 |
#ifdef WORDS_BIGENDIAN |
|
98 |
#ifdef HOST_WORDS_BIGENDIAN
|
|
99 | 99 |
#define SWAP_WORDS 1 |
100 | 100 |
#endif |
101 | 101 |
#elif ORDER == 1 |
102 | 102 |
#define NAME glue(glue(bbbp_, BORDER), BITS) |
103 |
#ifndef WORDS_BIGENDIAN |
|
103 |
#ifndef HOST_WORDS_BIGENDIAN
|
|
104 | 104 |
#define SWAP_WORDS 1 |
105 | 105 |
#endif |
106 | 106 |
#else |
107 | 107 |
#define SWAP_PIXELS 1 |
108 | 108 |
#define NAME glue(glue(lbbp_, BORDER), BITS) |
109 |
#ifdef WORDS_BIGENDIAN |
|
109 |
#ifdef HOST_WORDS_BIGENDIAN
|
|
110 | 110 |
#define SWAP_WORDS 1 |
111 | 111 |
#endif |
112 | 112 |
#endif |
Also available in: Unified diff