Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/vax splimp -> splhigh



details:   https://anonhg.NetBSD.org/src/rev/554a52dcf5d9
branches:  trunk
changeset: 508488:554a52dcf5d9
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Apr 12 06:08:44 2001 +0000

description:
splimp -> splhigh

diffstat:

 sys/arch/vax/vax/db_machdep.c |   4 ++--
 sys/arch/vax/vax/ka88.c       |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 0989cc497eed -r 554a52dcf5d9 sys/arch/vax/vax/db_machdep.c
--- a/sys/arch/vax/vax/db_machdep.c     Thu Apr 12 06:07:42 2001 +0000
+++ b/sys/arch/vax/vax/db_machdep.c     Thu Apr 12 06:08:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.c,v 1.26 2001/01/18 10:54:29 jdolecek Exp $ */
+/*     $NetBSD: db_machdep.c,v 1.27 2001/04/12 06:08:44 thorpej Exp $  */
 
 /* 
  * :set tabs=4
@@ -144,7 +144,7 @@
 
        /* XXX Should switch to interrupt stack here, if needed. */
 
-       s = splimp();
+       s = splhigh();
        db_active++;
        cnpollc(TRUE);
        db_trap(frame->trap, frame->code);
diff -r 0989cc497eed -r 554a52dcf5d9 sys/arch/vax/vax/ka88.c
--- a/sys/arch/vax/vax/ka88.c   Thu Apr 12 06:07:42 2001 +0000
+++ b/sys/arch/vax/vax/ka88.c   Thu Apr 12 06:08:44 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ka88.c,v 1.1 2000/07/26 11:47:17 ragge Exp $   */
+/*     $NetBSD: ka88.c,v 1.2 2001/04/12 06:12:17 thorpej Exp $ */
 
 /*
  * Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -262,7 +262,7 @@
 static void
 tocons(int val)
 {
-       int s = splimp();
+       int s = splhigh();
 
        while ((mfpr(PR_TXCS) & GC_RDY) == 0)  /* Wait until xmit ready */
                ;
@@ -273,7 +273,7 @@
 static int
 fromcons(int func)
 {
-       int ret, s = splimp();
+       int ret, s = splhigh();
 
        while (1) {
                while ((mfpr(PR_RXCS) & GC_DON) == 0)
@@ -290,7 +290,7 @@
 ka88_clkread(time_t base)
 {
        union {u_int ret;u_char r[4];} u;
-       int i, s = splimp();
+       int i, s = splhigh();
 
        tocons(KA88_COMM|KA88_TOYREAD);
        for (i = 0; i < 4; i++) {
@@ -304,7 +304,7 @@
 ka88_clkwrite(void)
 {
        union {u_int ret;u_char r[4];} u;
-       int i, s = splimp();
+       int i, s = splhigh();
 
        u.ret = time.tv_sec - yeartonum(numtoyear(time.tv_sec));
        tocons(KA88_COMM|KA88_TOYWRITE);



Home | Main Index | Thread Index | Old Index