Module Name: src
Committed By: ryo
Date: Wed Jun 27 11:05:38 UTC 2018
Modified Files:
src/sys/arch/evbarm/rpi: rpi2_start.S
Log Message:
remove unnecessary code. .Lmmu_init_table is in same section, and also not r8.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/rpi/rpi2_start.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/rpi/rpi2_start.S
diff -u src/sys/arch/evbarm/rpi/rpi2_start.S:1.5 src/sys/arch/evbarm/rpi/rpi2_start.S:1.6
--- src/sys/arch/evbarm/rpi/rpi2_start.S:1.5 Sat Mar 3 13:46:32 2018
+++ src/sys/arch/evbarm/rpi/rpi2_start.S Wed Jun 27 11:05:38 2018
@@ -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 @@ _C_LABEL(rpi_start):
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')