syscons.c (228426) | syscons.c (228631) |
---|---|
1/*- 2 * Copyright (c) 1992-1998 S�ren Schmidt 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The DragonFly Project 6 * by Sascha Wildner <saw@online.de> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1992-1998 S�ren Schmidt 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The DragonFly Project 6 * by Sascha Wildner <saw@online.de> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/syscons/syscons.c 228426 2011-12-11 21:10:11Z avg $"); | 33__FBSDID("$FreeBSD: head/sys/dev/syscons/syscons.c 228631 2011-12-17 15:08:43Z avg $"); |
34 35#include "opt_compat.h" 36#include "opt_syscons.h" 37#include "opt_splash.h" 38#include "opt_ddb.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> --- 182 unchanged lines hidden (view full) --- 224static timeout_t blink_screen; 225static struct tty *sc_alloc_tty(int, int); 226 227static cn_probe_t sc_cnprobe; 228static cn_init_t sc_cninit; 229static cn_term_t sc_cnterm; 230static cn_getc_t sc_cngetc; 231static cn_putc_t sc_cnputc; | 34 35#include "opt_compat.h" 36#include "opt_syscons.h" 37#include "opt_splash.h" 38#include "opt_ddb.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> --- 182 unchanged lines hidden (view full) --- 224static timeout_t blink_screen; 225static struct tty *sc_alloc_tty(int, int); 226 227static cn_probe_t sc_cnprobe; 228static cn_init_t sc_cninit; 229static cn_term_t sc_cnterm; 230static cn_getc_t sc_cngetc; 231static cn_putc_t sc_cnputc; |
232static cn_grab_t sc_cngrab; 233static cn_ungrab_t sc_cnungrab; |
|
232 233CONSOLE_DRIVER(sc); 234 235static tsw_open_t sctty_open; 236static tsw_close_t sctty_close; 237static tsw_outwakeup_t sctty_outwakeup; 238static tsw_ioctl_t sctty_ioctl; 239static tsw_mmap_t sctty_mmap; --- 1364 unchanged lines hidden (view full) --- 1604#endif 1605 1606 scterm(sc_console_unit, SC_KERNEL_CONSOLE); 1607 sc_console_unit = -1; 1608 sc_console = NULL; 1609} 1610 1611static void | 234 235CONSOLE_DRIVER(sc); 236 237static tsw_open_t sctty_open; 238static tsw_close_t sctty_close; 239static tsw_outwakeup_t sctty_outwakeup; 240static tsw_ioctl_t sctty_ioctl; 241static tsw_mmap_t sctty_mmap; --- 1364 unchanged lines hidden (view full) --- 1606#endif 1607 1608 scterm(sc_console_unit, SC_KERNEL_CONSOLE); 1609 sc_console_unit = -1; 1610 sc_console = NULL; 1611} 1612 1613static void |
1614sc_cngrab(struct consdev *cp) 1615{ 1616} 1617 1618static void 1619sc_cnungrab(struct consdev *cp) 1620{ 1621} 1622 1623static void |
|
1612sc_cnputc(struct consdev *cd, int c) 1613{ 1614 u_char buf[1]; 1615 scr_stat *scp = sc_console; 1616#ifndef SC_NO_HISTORY 1617#if 0 1618 struct tty *tp; 1619#endif --- 2244 unchanged lines hidden --- | 1624sc_cnputc(struct consdev *cd, int c) 1625{ 1626 u_char buf[1]; 1627 scr_stat *scp = sc_console; 1628#ifndef SC_NO_HISTORY 1629#if 0 1630 struct tty *tp; 1631#endif --- 2244 unchanged lines hidden --- |