syscons.c (130585) | syscons.c (130640) |
---|---|
1/*- 2 * Copyright (c) 1992-1998 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 --- 13 unchanged lines hidden (view full) --- 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 29#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1992-1998 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 --- 13 unchanged lines hidden (view full) --- 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 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: head/sys/dev/syscons/syscons.c 130585 2004-06-16 09:47:26Z phk $"); | 30__FBSDID("$FreeBSD: head/sys/dev/syscons/syscons.c 130640 2004-06-17 17:16:53Z phk $"); |
31 32#include "opt_syscons.h" 33#include "opt_splash.h" 34#include "opt_ddb.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/conf.h> --- 2578 unchanged lines hidden (view full) --- 2617 if (flags != -1) { 2618 if (flags & CONS_RESET_CURSOR) 2619 sc->curs_attr = sc->dflt_curs_attr; 2620 else 2621 sc->curs_attr.flags = flags & CONS_CURSOR_ATTRS; 2622 } 2623 2624 for (i = sc->first_vty; i < sc->first_vty + sc->vtys; ++i) { | 31 32#include "opt_syscons.h" 33#include "opt_splash.h" 34#include "opt_ddb.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/conf.h> --- 2578 unchanged lines hidden (view full) --- 2617 if (flags != -1) { 2618 if (flags & CONS_RESET_CURSOR) 2619 sc->curs_attr = sc->dflt_curs_attr; 2620 else 2621 sc->curs_attr.flags = flags & CONS_CURSOR_ATTRS; 2622 } 2623 2624 for (i = sc->first_vty; i < sc->first_vty + sc->vtys; ++i) { |
2625 if ((dev = SC_DEV(sc, i)) == NODEV) | 2625 if ((dev = SC_DEV(sc, i)) == NULL) |
2626 continue; 2627 if ((scp = sc_get_stat(dev)) == NULL) 2628 continue; 2629 scp->dflt_curs_attr = sc->curs_attr; 2630 change_cursor_shape(scp, CONS_RESET_CURSOR, -1, -1); 2631 } 2632 splx(s); 2633} --- 1005 unchanged lines hidden --- | 2626 continue; 2627 if ((scp = sc_get_stat(dev)) == NULL) 2628 continue; 2629 scp->dflt_curs_attr = sc->curs_attr; 2630 change_cursor_shape(scp, CONS_RESET_CURSOR, -1, -1); 2631 } 2632 splx(s); 2633} --- 1005 unchanged lines hidden --- |