Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/rpi remove unnecessary code. .Lmmu_init_tabl...



details:   https://anonhg.NetBSD.org/src/rev/df49b1d2f5a7
branches:  trunk
changeset: 320226:df49b1d2f5a7
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Jun 27 11:05:38 2018 +0000

description:
remove unnecessary code. .Lmmu_init_table is in same section, and also not r8.

diffstat:

 sys/arch/evbarm/rpi/rpi2_start.S |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 95479425da83 -r df49b1d2f5a7 sys/arch/evbarm/rpi/rpi2_start.S
--- a/sys/arch/evbarm/rpi/rpi2_start.S  Wed Jun 27 07:51:36 2018 +0000
+++ b/sys/arch/evbarm/rpi/rpi2_start.S  Wed Jun 27 11:05:38 2018 +0000
@@ -39,7 +39,7 @@
 
 #include "assym.h"
 
-RCSID("$NetBSD: rpi2_start.S,v 1.5 2018/03/03 13:46:32 skrll Exp $")
+RCSID("$NetBSD: rpi2_start.S,v 1.6 2018/06/27 11:05:38 ryo Exp $")
 
 #if defined(KERNEL_BASES_EQUAL)
 #define CALL(f)                bl      _C_LABEL(f)
@@ -124,9 +124,6 @@
        movt    r0, #:upper16:TEMP_L1_TABLE
        movw    r1, #:lower16:.Lmmu_init_table
        movt    r1, #:upper16:.Lmmu_init_table
-#if !defined(KERNEL_BASES_EQUAL)
-       sub     r8, r8, #KERNEL_BASE_VOFFSET
-#endif
        bl      arm_boot_l1pt_init
        XPUTC(#'D')
 



Home | Main Index | Thread Index | Old Index