aboutsummaryrefslogtreecommitdiffstats
path: root/console.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 17:07:36 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-10 18:35:07 -0700
commit20894ae3fa98f82da925fbeb72e616eef509758a (patch)
treec55db026ddc60683434f48d6c58cf51677609074 /console.c
parent1368f99ba2c6f29a97ba057d30d4a0235c83a441 (diff)
downloadexternal_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.zip
external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.gz
external_qemu-20894ae3fa98f82da925fbeb72e616eef509758a.tar.bz2
Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNED
Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
Diffstat (limited to 'console.c')
-rw-r--r--console.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/console.c b/console.c
index 52e3e57..d55e0fd 100644
--- a/console.c
+++ b/console.c
@@ -307,7 +307,7 @@ static void vga_bitblt(DisplayState *ds, int xs, int ys, int xd, int yd, int w,
(((uint32_t)(__x) & (uint32_t)0x00ff0000UL) >> 8) | \
(((uint32_t)(__x) & (uint32_t)0xff000000UL) >> 24) ))
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
#define PAT(x) x
#else
#define PAT(x) cbswap_32(x)
@@ -1559,7 +1559,7 @@ DisplaySurface* defaultallocator_create_displaysurface(int width, int height)
surface->height = height;
surface->linesize = width * 4;
surface->pf = qemu_default_pixelformat(32);
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
surface->flags = QEMU_ALLOCATED_FLAG | QEMU_BIG_ENDIAN_FLAG;
#else
surface->flags = QEMU_ALLOCATED_FLAG;
@@ -1580,7 +1580,7 @@ DisplaySurface* defaultallocator_resize_displaysurface(DisplaySurface *surface,
surface->data = (uint8_t*) qemu_realloc(surface->data, surface->linesize * surface->height);
else
surface->data = (uint8_t*) qemu_malloc(surface->linesize * surface->height);
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
surface->flags = QEMU_ALLOCATED_FLAG | QEMU_BIG_ENDIAN_FLAG;
#else
surface->flags = QEMU_ALLOCATED_FLAG;
@@ -1598,7 +1598,7 @@ DisplaySurface* qemu_create_displaysurface_from(int width, int height, int bpp,
surface->height = height;
surface->linesize = linesize;
surface->pf = qemu_default_pixelformat(bpp);
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
surface->flags = QEMU_BIG_ENDIAN_FLAG;
#endif
surface->data = data;