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 Update comments to reflect reality
details: https://anonhg.NetBSD.org/src/rev/7c22ebb1365b
branches: trunk
changeset: 342063:7c22ebb1365b
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Dec 04 11:14:14 2015 +0000
description:
Update comments to reflect reality
diffstat:
sys/arch/evbarm/odroid/odroid_start.S | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r 1d524f9c11c9 -r 7c22ebb1365b sys/arch/evbarm/odroid/odroid_start.S
--- a/sys/arch/evbarm/odroid/odroid_start.S Fri Dec 04 11:09:54 2015 +0000
+++ b/sys/arch/evbarm/odroid/odroid_start.S Fri Dec 04 11:14:14 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_start.S,v 1.20 2015/12/04 11:09:54 skrll Exp $ */
+/* $NetBSD: odroid_start.S,v 1.21 2015/12/04 11:14:14 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.20 2015/12/04 11:09:54 skrll Exp $")
+RCSID("$NetBSD: odroid_start.S,v 1.21 2015/12/04 11:14:14 skrll Exp $")
#if defined(VERBOSE_INIT_ARM)
@@ -88,13 +88,12 @@
setend be /* force big endian */
#endif
-// .arch_extension virt
- /* Leave HYP mode */
+ /* Leave HYP mode and move into supervisor mode with IRQs/FIQs disabled. */
mrs r0, cpsr
and r0, r0, #(PSR_MODE) /* Mode is in the low 5 bits of CPSR */
teq r0, #(PSR_HYP32_MODE) /* Hyp Mode? */
bne 1f
- /* Ensure that IRQ, FIQ and Aborts will be disabled after eret */
+ /* Ensure that IRQ, and FIQ will be disabled after eret */
mrs r0, cpsr
bic r0, r0, #(PSR_MODE)
orr r0, r0, #(PSR_SVC32_MODE)
@@ -106,8 +105,6 @@
eret
1:
-// /* Move into supervisor mode and disable IRQs/FIQs. */
-// cpsid if, #PSR_SVC32_MODE
/*
* Save any arguments passed to us. If .start is not at
* 0x80000000 but .text is, we can't directly use the address that
Home |
Main Index |
Thread Index |
Old Index