scvgarndr.c (56043) | scvgarndr.c (56836) |
---|---|
1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1999 Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> 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 --- 9 unchanged lines hidden (view full) --- 18 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/syscons/scvgarndr.c 56043 2000-01-15 15:25:43Z yokota $ | 26 * $FreeBSD: head/sys/dev/syscons/scvgarndr.c 56836 2000-01-29 15:08:56Z peter $ |
27 */ 28 | 27 */ 28 |
29#include "sc.h" 30#include "vga.h" | |
31#include "opt_syscons.h" 32#include "opt_vga.h" 33 | 29#include "opt_syscons.h" 30#include "opt_vga.h" 31 |
34#if NSC > 0 && NVGA > 0 35 | |
36#include <sys/param.h> 37#include <sys/systm.h> 38#include <sys/kernel.h> 39 40#include <machine/console.h> 41 42#include <dev/fb/fbreg.h> 43#include <dev/fb/vgareg.h> --- 777 unchanged lines hidden (view full) --- 821 822static void 823vga_grborder(scr_stat *scp, int color) 824{ 825 (*vidsw[scp->sc->adapter]->set_border)(scp->sc->adp, color); 826} 827 828#endif | 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/kernel.h> 35 36#include <machine/console.h> 37 38#include <dev/fb/fbreg.h> 39#include <dev/fb/vgareg.h> --- 777 unchanged lines hidden (view full) --- 817 818static void 819vga_grborder(scr_stat *scp, int color) 820{ 821 (*vidsw[scp->sc->adapter]->set_border)(scp->sc->adp, color); 822} 823 824#endif |
829 830#endif /* NSC > 0 && NVGA > 0 */ | |