daemon_saver.c (50477) | daemon_saver.c (56043) |
---|---|
1/*- 2 * Copyright (c) 1997 Sandro Sigala, Brescia, Italy. 3 * Copyright (c) 1997 Chris Shenton 4 * Copyright (c) 1995 S ren Schmidt 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 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) 1997 Sandro Sigala, Brescia, Italy. 3 * Copyright (c) 1997 Chris Shenton 4 * Copyright (c) 1995 S ren Schmidt 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 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 * $FreeBSD: head/sys/dev/syscons/daemon/daemon_saver.c 50477 1999-08-28 01:08:13Z peter $ | 28 * $FreeBSD: head/sys/dev/syscons/daemon/daemon_saver.c 56043 2000-01-15 15:25:43Z yokota $ |
29 */ 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/module.h> 34#include <sys/malloc.h> 35#include <sys/kernel.h> 36#include <sys/sysctl.h> --- 198 unchanged lines hidden (view full) --- 235 outb(0x0c17, inb(0xc17) & ~0x08); 236 outb(0x43f, 0x40); 237 } 238#endif /* PC98 */ 239 /* clear the screen and set the border color */ 240 sc_vtb_clear(&scp->scr, sc->scr_map[0x20], 241 (FG_LIGHTGREY | BG_BLACK) << 8); 242 (*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1); | 29 */ 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/module.h> 34#include <sys/malloc.h> 35#include <sys/kernel.h> 36#include <sys/sysctl.h> --- 198 unchanged lines hidden (view full) --- 235 outb(0x0c17, inb(0xc17) & ~0x08); 236 outb(0x43f, 0x40); 237 } 238#endif /* PC98 */ 239 /* clear the screen and set the border color */ 240 sc_vtb_clear(&scp->scr, sc->scr_map[0x20], 241 (FG_LIGHTGREY | BG_BLACK) << 8); 242 (*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1); |
243 set_border(scp, 0); | 243 sc_set_border(scp, 0); |
244 xlen = ylen = tlen = 0; 245 } 246 if (blanked++ < 2) 247 return 0; 248 blanked = 1; 249 250 clear_daemon(sc, dxpos, dypos, dxdir, xoff, yoff, xlen, ylen); 251 clear_string(sc, txpos, typos, toff, (char *)message, tlen); --- 142 unchanged lines hidden --- | 244 xlen = ylen = tlen = 0; 245 } 246 if (blanked++ < 2) 247 return 0; 248 blanked = 1; 249 250 clear_daemon(sc, dxpos, dypos, dxdir, xoff, yoff, xlen, ylen); 251 clear_string(sc, txpos, typos, toff, (char *)message, tlen); --- 142 unchanged lines hidden --- |