splimp -> splhigh

This commit is contained in:
thorpej 2001-04-12 06:08:44 +00:00
parent ff7a879497
commit b614ba3c5c
2 changed files with 7 additions and 7 deletions

View File

@ -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 @@ kdb_trap(frame)
/* XXX Should switch to interrupt stack here, if needed. */
s = splimp();
s = splhigh();
db_active++;
cnpollc(TRUE);
db_trap(frame->trap, frame->code);

View File

@ -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 @@ rxcdintr(void *arg)
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 @@ tocons(int val)
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 @@ static int
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 @@ static void
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);