Deleted Added
full compact
dcons_os.c (136467) dcons_os.c (136498)
1/*
2 * Copyright (C) 2003,2004
3 * Hidetoshi Shimokawa. 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

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/*
2 * Copyright (C) 2003,2004
3 * Hidetoshi Shimokawa. 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

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * $FreeBSD: head/sys/dev/dcons/dcons_os.c 136467 2004-10-13 05:38:42Z simokawa $
34 * $FreeBSD: head/sys/dev/dcons/dcons_os.c 136498 2004-10-14 00:21:32Z simokawa $
35 */
36
37#include <sys/param.h>
38#if __FreeBSD_version >= 502122
39#include <sys/kdb.h>
40#include <gdb/gdb.h>
41#endif
42#include <sys/kernel.h>

--- 445 unchanged lines hidden (view full) ---

488 struct dcons_softc *dc = (struct dcons_softc *)dev->si_drv1;
489 dcons_os_putc(dc, c);
490}
491#endif
492
493static int
494dcons_drv_init(int stage)
495{
35 */
36
37#include <sys/param.h>
38#if __FreeBSD_version >= 502122
39#include <sys/kdb.h>
40#include <gdb/gdb.h>
41#endif
42#include <sys/kernel.h>

--- 445 unchanged lines hidden (view full) ---

488 struct dcons_softc *dc = (struct dcons_softc *)dev->si_drv1;
489 dcons_os_putc(dc, c);
490}
491#endif
492
493static int
494dcons_drv_init(int stage)
495{
496#ifdef __i386__
496 int addr, size;
497 int addr, size;
498#endif
497
498 if (drv_init)
499 return(drv_init);
500
501 drv_init = -1;
502
503 bzero(&dg, sizeof(dg));
504 dcons_conf = &dg;

--- 242 unchanged lines hidden ---
499
500 if (drv_init)
501 return(drv_init);
502
503 drv_init = -1;
504
505 bzero(&dg, sizeof(dg));
506 dcons_conf = &dg;

--- 242 unchanged lines hidden ---