Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/odroid Shave another whole instruction when ...



details:   https://anonhg.NetBSD.org/src/rev/3a9641b771f5
branches:  trunk
changeset: 342061:3a9641b771f5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 04 11:01:35 2015 +0000

description:
Shave another whole instruction when KERNEL_BASE_VOFFSET == 0

diffstat:

 sys/arch/evbarm/odroid/odroid_start.S |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 49fe766a47f5 -r 3a9641b771f5 sys/arch/evbarm/odroid/odroid_start.S
--- a/sys/arch/evbarm/odroid/odroid_start.S     Fri Dec 04 05:34:59 2015 +0000
+++ b/sys/arch/evbarm/odroid/odroid_start.S     Fri Dec 04 11:01:35 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: odroid_start.S,v 1.18 2015/11/28 20:51:36 marty Exp $  */
+/*     $NetBSD: odroid_start.S,v 1.19 2015/12/04 11:01:35 skrll Exp $  */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 
 #include <evbarm/odroid/platform.h>
 
-RCSID("$NetBSD: odroid_start.S,v 1.18 2015/11/28 20:51:36 marty Exp $")
+RCSID("$NetBSD: odroid_start.S,v 1.19 2015/12/04 11:01:35 skrll Exp $")
 
 
 #if defined(VERBOSE_INIT_ARM)
@@ -131,7 +131,9 @@
 
        movw    r4, #:lower16:bootargs
        movt    r4, #:upper16:bootargs
+#if KERNEL_BASE_VOFFSET != 0
        sub     r4, r4, #KERNEL_BASE_VOFFSET
+#endif
 
        cmp     r0, #0
        beq     1f



Home | Main Index | Thread Index | Old Index