Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/sunxi Use genassym.cf instead of #include <a...



details:   https://anonhg.NetBSD.org/src/rev/b995d98f3c6a
branches:  trunk
changeset: 827684:b995d98f3c6a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Nov 08 19:49:26 2017 +0000

description:
Use genassym.cf instead of #include <arch/arm/sunxi/sunxi_platform.h>

diffstat:

 sys/arch/evbarm/sunxi/genassym.cf   |  8 +++++++-
 sys/arch/evbarm/sunxi/sunxi_start.S |  6 ++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r b65361e5b2f4 -r b995d98f3c6a sys/arch/evbarm/sunxi/genassym.cf
--- a/sys/arch/evbarm/sunxi/genassym.cf Wed Nov 08 18:31:00 2017 +0000
+++ b/sys/arch/evbarm/sunxi/genassym.cf Wed Nov 08 19:49:26 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.1 2017/06/28 23:51:29 jmcneill Exp $
+# $NetBSD: genassym.cf,v 1.2 2017/11/08 19:49:26 skrll Exp $
 
 #-
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,7 +32,13 @@
 include <dev/ic/ns16550reg.h>
 include <dev/ic/comreg.h>
 
+include <arm/sunxi/sunxi_platform.h>
+
 define LSR_TXRDY               LSR_TXRDY
 define LSR_TSRE                LSR_TSRE
 define COM_DATA                com_data
 define COM_LSR                 com_lsr
+
+define SUNXI_CORE_VBASE        SUNXI_CORE_VBASE
+define SUNXI_CORE_PBASE        SUNXI_CORE_PBASE
+define SUNXI_CORE_SIZE         SUNXI_CORE_SIZE
diff -r b65361e5b2f4 -r b995d98f3c6a sys/arch/evbarm/sunxi/sunxi_start.S
--- a/sys/arch/evbarm/sunxi/sunxi_start.S       Wed Nov 08 18:31:00 2017 +0000
+++ b/sys/arch/evbarm/sunxi/sunxi_start.S       Wed Nov 08 19:49:26 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_start.S,v 1.1 2017/06/28 23:51:29 jmcneill Exp $ */
+/* $NetBSD: sunxi_start.S,v 1.2 2017/11/08 19:49:26 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2015 The NetBSD Foundation, Inc.
@@ -40,9 +40,7 @@
 #include <arm/armreg.h>
 #include "assym.h"
 
-#include <arch/arm/sunxi/sunxi_platform.h>
-
-RCSID("$NetBSD: sunxi_start.S,v 1.1 2017/06/28 23:51:29 jmcneill Exp $")
+RCSID("$NetBSD: sunxi_start.S,v 1.2 2017/11/08 19:49:26 skrll Exp $")
 
 #if defined(VERBOSE_INIT_ARM) && defined(CONSADDR)
 #define        XPUTC(n)        mov r0, n; bl xputc



Home | Main Index | Thread Index | Old Index