Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Fix a comment
details: https://anonhg.NetBSD.org/src/rev/1623a2766db1
branches: trunk
changeset: 356805:1623a2766db1
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 14 15:35:02 2017 +0000
description:
Fix a comment
diffstat:
sys/arch/arm/arm32/locore.S | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 2c6592554173 -r 1623a2766db1 sys/arch/arm/arm32/locore.S
--- a/sys/arch/arm/arm32/locore.S Sat Oct 14 13:20:32 2017 +0000
+++ b/sys/arch/arm/arm32/locore.S Sat Oct 14 15:35:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.37 2014/08/27 03:35:32 matt Exp $ */
+/* $NetBSD: locore.S,v 1.38 2017/10/14 15:35:02 skrll Exp $ */
/*
* Copyright (C) 1994-1997 Mark Brinicombe
@@ -40,7 +40,7 @@
/* What size should this really be ? It is only used by init_arm() */
#define INIT_ARM_STACK_SIZE 2048
- RCSID("$NetBSD: locore.S,v 1.37 2014/08/27 03:35:32 matt Exp $")
+ RCSID("$NetBSD: locore.S,v 1.38 2017/10/14 15:35:02 skrll Exp $")
/*
* This is for kvm_mkdb, and should be the address of the beginning
@@ -56,8 +56,12 @@
mrs r1, cpsr /* fetch CPSR value */
msr spsr_sx, r1 /* set SPSR[23:8] to known value */
+ /*
+ * Get bss bounds (r1, r2), curlwp or curcpu (r8), and set initial
+ * stack.
+ */
adr r1, .Lstart
- ldmia r1, {r1, r2, r8, sp} /* Set initial stack and */
+ ldmia r1, {r1, r2, r8, sp}
#if defined(TPIDRPRW_IS_CURCPU) || defined(TPIDRPRW_IS_CURLWP)
mcr p15, 0, r8, c13, c0, 4
Home |
Main Index |
Thread Index |
Old Index