🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.2bsd
Article #169

V1.13 (cnstart doesn't always reset the interrupt level)

#169
From: Keith Bostic
Date: Sat, 31 Oct 1987 00:38
30 lines
1362 bytes
Subject: cnstart doesn't always reset the interrupt level
Index: sys/pdp/cons.c 2.10BSD

Description:
	The cnstart routine can return without resetting the
	spl level.
Repeat-By:
	By inspection.
Fix:
	Apply the following patch.

*** cons.c.orig	Fri Oct 30 15:09:26 1987
--- cons.c	Fri Oct 30 15:09:57 1987
***************
*** 169,175 ****
  		goto out;
  	addr = (struct dldevice *)tp->t_addr;
  	if ((addr->dlxcsr & DLXCSR_TRDY) == 0)
! 		return;
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
--- 169,175 ----
  		goto out;
  	addr = (struct dldevice *)tp->t_addr;
  	if ((addr->dlxcsr & DLXCSR_TRDY) == 0)
! 		goto out;
  	c = getc(&tp->t_outq);
  	if (tp->t_flags & (RAW|LITOUT))
  		addr->dlxbuf = c&0xff;
Technical Details
Message-ID: <8710310038.AA00833@okeeffe.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!pyrdc!gmu90x!dolqci!vrdxhq!umd5!mimsy!oddjob!hao!ames!ucbcad!ucbvax!OKEEFFE.BERKELEY.EDU!bostic

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!pyrdc!gmu90x!dolqci!vrdxhq!umd5!mimsy!oddjob!hao!ames!ucbcad!ucbvax!OKEEFFE.BERKELEY.EDU!bostic
From: bostic@OKEEFFE.BERKELEY.EDU (Keith Bostic)
Newsgroups: comp.bugs.2bsd
Subject: V1.13 (cnstart doesn't always reset the interrupt level)
Message-ID: <8710310038.AA00833@okeeffe.Berkeley.EDU>
Date: Fri, 30-Oct-87 19:38:03 EST
Article-I.D.: okeeffe.8710310038.AA00833
Posted: Fri Oct 30 19:38:03 1987
Date-Received: Thu, 5-Nov-87 03:10:59 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 30