syscons.c (9484) | syscons.c (9626) |
---|---|
1/*- 2 * Copyright (c) 1992-1995 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1992-1995 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $Id: syscons.c,v 1.119 1995/07/11 17:59:22 bde Exp $ | 28 * $Id: syscons.c,v 1.120 1995/07/11 18:34:29 bde Exp $ |
29 */ 30 31#include "sc.h" 32#include "apm.h" 33#if NSC > 0 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/conf.h> --- 1060 unchanged lines hidden (view full) --- 1097 rbp = &tp->t_outq; 1098 while (rbp->c_cc) { 1099 len = q_to_b(rbp, buf, PCBURST); 1100 splx(s); 1101 ansi_put(scp, buf, len); 1102 s = spltty(); 1103 } 1104 tp->t_state &= ~TS_BUSY; | 29 */ 30 31#include "sc.h" 32#include "apm.h" 33#if NSC > 0 34#include <sys/param.h> 35#include <sys/systm.h> 36#include <sys/conf.h> --- 1060 unchanged lines hidden (view full) --- 1097 rbp = &tp->t_outq; 1098 while (rbp->c_cc) { 1099 len = q_to_b(rbp, buf, PCBURST); 1100 splx(s); 1101 ansi_put(scp, buf, len); 1102 s = spltty(); 1103 } 1104 tp->t_state &= ~TS_BUSY; |
1105 if (rbp->c_cc <= tp->t_lowat) { 1106 if (tp->t_state & TS_ASLEEP) { 1107 tp->t_state &= ~TS_ASLEEP; 1108 wakeup((caddr_t)rbp); 1109 } 1110 selwakeup(&tp->t_wsel); 1111 } | 1105 ttwwakeup(tp); |
1112 } 1113 splx(s); 1114} 1115 1116void 1117pccnprobe(struct consdev *cp) 1118{ 1119 int maj; --- 1954 unchanged lines hidden --- | 1106 } 1107 splx(s); 1108} 1109 1110void 1111pccnprobe(struct consdev *cp) 1112{ 1113 int maj; --- 1954 unchanged lines hidden --- |