Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/cubie Add a flag so the xputc will bswap reg...
details: https://anonhg.NetBSD.org/src/rev/f14f71d455ff
branches: trunk
changeset: 326275:f14f71d455ff
user: matt <matt%NetBSD.org@localhost>
date: Fri Jan 24 05:13:06 2014 +0000
description:
Add a flag so the xputc will bswap registers.
diffstat:
sys/arch/evbarm/cubie/cubie_start.S | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 04b21a7619df -r f14f71d455ff sys/arch/evbarm/cubie/cubie_start.S
--- a/sys/arch/evbarm/cubie/cubie_start.S Fri Jan 24 04:19:10 2014 +0000
+++ b/sys/arch/evbarm/cubie/cubie_start.S Fri Jan 24 05:13:06 2014 +0000
@@ -40,13 +40,12 @@
#include <arm/allwinner/awin_reg.h>
#include <evbarm/cubie/platform.h>
-RCSID("$NetBSD: cubie_start.S,v 1.4 2014/01/24 04:19:10 matt Exp $")
+RCSID("$NetBSD: cubie_start.S,v 1.5 2014/01/24 05:13:06 matt Exp $")
#if defined(VERBOSE_INIT_ARM)
+#define XPUTC(n) mov r0, n; bl xputc
#ifdef __ARMEB__
-#define XPUTC(n) mov r0, n << 24; bl xputc
-#else
-#define XPUTC(n) mov r0, n; bl xputc
+#define COM_BSWAP
#endif
#define COM_MULT 4
#define XPUTC_COM 1
Home |
Main Index |
Thread Index |
Old Index