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 Save a whole instruction when KERNEL_...
details: https://anonhg.NetBSD.org/src/rev/c2f2c964ed88
branches: trunk
changeset: 341882:c2f2c964ed88
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Nov 27 09:45:03 2015 +0000
description:
Save a whole instruction when KERNEL_BASE_VOFFSET is zero.
diffstat:
sys/arch/evbarm/odroid/odroid_start.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r fae1b68f0e0f -r c2f2c964ed88 sys/arch/evbarm/odroid/odroid_start.S
--- a/sys/arch/evbarm/odroid/odroid_start.S Fri Nov 27 09:43:18 2015 +0000
+++ b/sys/arch/evbarm/odroid/odroid_start.S Fri Nov 27 09:45:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_start.S,v 1.16 2015/11/27 09:43:18 skrll Exp $ */
+/* $NetBSD: odroid_start.S,v 1.17 2015/11/27 09:45:03 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.16 2015/11/27 09:43:18 skrll Exp $")
+RCSID("$NetBSD: odroid_start.S,v 1.17 2015/11/27 09:45:03 skrll Exp $")
#if defined(VERBOSE_INIT_ARM)
@@ -99,7 +99,9 @@
*/
movw r4, #:lower16:uboot_args
movt r4, #:upper16:uboot_args
+#if KERNEL_BASE_VOFFSET != 0
sub r4, r4, #KERNEL_BASE_VOFFSET
+#endif
stmia r4, {r0-r3} // Save the arguments
/*
Home |
Main Index |
Thread Index |
Old Index