cons.h (85373) | cons.h (87620) |
---|---|
1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: @(#)cons.h 7.2 (Berkeley) 5/9/91 | 1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: @(#)cons.h 7.2 (Berkeley) 5/9/91 |
39 * $FreeBSD: head/sys/sys/cons.h 85373 2001-10-23 20:25:50Z jlemon $ | 39 * $FreeBSD: head/sys/sys/cons.h 87620 2001-12-10 20:02:22Z guido $ |
40 */ 41 42#ifndef _MACHINE_CONS_H_ 43#define _MACHINE_CONS_H_ 44 45struct consdev; 46typedef void cn_probe_t __P((struct consdev *)); 47typedef void cn_init_t __P((struct consdev *)); --- 35 unchanged lines hidden (view full) --- 83#define CONS_DRIVER(name, probe, init, term, getc, checkc, putc, dbctl) \ 84 static struct consdev name##_consdev = { \ 85 probe, init, term, getc, checkc, putc, dbctl \ 86 }; \ 87 DATA_SET(cons_set, name##_consdev) 88 89/* Other kernel entry points. */ 90void cninit(void); | 40 */ 41 42#ifndef _MACHINE_CONS_H_ 43#define _MACHINE_CONS_H_ 44 45struct consdev; 46typedef void cn_probe_t __P((struct consdev *)); 47typedef void cn_init_t __P((struct consdev *)); --- 35 unchanged lines hidden (view full) --- 83#define CONS_DRIVER(name, probe, init, term, getc, checkc, putc, dbctl) \ 84 static struct consdev name##_consdev = { \ 85 probe, init, term, getc, checkc, putc, dbctl \ 86 }; \ 87 DATA_SET(cons_set, name##_consdev) 88 89/* Other kernel entry points. */ 90void cninit(void); |
91void cninit_finish(void); |
|
91int cnadd(struct consdev *); 92void cnremove(struct consdev *); 93void cnselect(struct consdev *); 94int cncheckc(void); 95int cngetc(void); 96void cndbctl(int); 97void cnputc(int); 98 99#endif /* _KERNEL */ 100 101#endif /* !_MACHINE_CONS_H_ */ | 92int cnadd(struct consdev *); 93void cnremove(struct consdev *); 94void cnselect(struct consdev *); 95int cncheckc(void); 96int cngetc(void); 97void cndbctl(int); 98void cnputc(int); 99 100#endif /* _KERNEL */ 101 102#endif /* !_MACHINE_CONS_H_ */ |