Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Correct/add some comments about eiem.
details: https://anonhg.NetBSD.org/src/rev/ba92db31635e
branches: trunk
changeset: 761304:ba92db31635e
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jan 23 08:52:02 2011 +0000
description:
Correct/add some comments about eiem.
diffstat:
sys/arch/hp700/hp700/locore.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 999828ac9d3e -r ba92db31635e sys/arch/hp700/hp700/locore.S
--- a/sys/arch/hp700/hp700/locore.S Sun Jan 23 07:41:38 2011 +0000
+++ b/sys/arch/hp700/hp700/locore.S Sun Jan 23 08:52:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.50 2011/01/22 10:57:07 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.51 2011/01/23 08:52:02 skrll Exp $ */
/* $OpenBSD: locore.S,v 1.158 2008/07/28 19:08:46 miod Exp $ */
/*
@@ -371,7 +371,7 @@
* spl level into eiem, and reset any pending interrupts
*/
ldi -1, %r1
- mtctl %r0, %eiem /* IPL_NONE */
+ mtctl %r0, %eiem /* disable interrupts */
mtctl %r1, %eirr
/*
@@ -419,7 +419,7 @@
ENTRY(pdc_call,160)
mfctl %eiem, %t1
- mtctl %r0, %eiem
+ mtctl %r0, %eiem /* disable interrupts */
stw %rp, HPPA_FRAME_CRP(%sp)
copy %arg0, %r31
copy %sp, %ret1
@@ -531,7 +531,7 @@
ldw HPPA_FRAME_PSP(%sp), %sp
ldw HPPA_FRAME_CRP(%sp), %rp
bv %r0(%rp)
- mtctl %t2, %eiem
+ mtctl %t2, %eiem /* enable interrupts */
EXIT(pdc_call)
/*
Home |
Main Index |
Thread Index |
Old Index