Module Name: src
Committed By: skrll
Date: Sun Jan 23 08:52:02 UTC 2011
Modified Files:
src/sys/arch/hp700/hp700: locore.S
Log Message:
Correct/add some comments about eiem.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/hp700/hp700/locore.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/hp700/hp700/locore.S
diff -u src/sys/arch/hp700/hp700/locore.S:1.50 src/sys/arch/hp700/hp700/locore.S:1.51
--- src/sys/arch/hp700/hp700/locore.S:1.50 Sat Jan 22 10:57:07 2011
+++ src/sys/arch/hp700/hp700/locore.S Sun Jan 23 08:52:02 2011
@@ -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)
/*