conf.c (136890) | conf.c (199855) |
---|---|
1/*- 2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/boot/pc98/loader/conf.c 136890 2004-10-24 12:14:05Z nyan $"); | 28__FBSDID("$FreeBSD: head/sys/boot/pc98/loader/conf.c 199855 2009-11-27 03:55:42Z sobomax $"); |
29 30#include <stand.h> 31#include <bootstrap.h> 32#include "libi386/libi386.h" 33 34/* 35 * We could use linker sets for some or all of these, but 36 * then we would have to control what ended up linked into --- 58 unchanged lines hidden (view full) --- 95 * Consoles 96 * 97 * We don't prototype these in libi386.h because they require 98 * data structures from bootstrap.h as well. 99 */ 100extern struct console vidconsole; 101extern struct console comconsole; 102extern struct console nullconsole; | 29 30#include <stand.h> 31#include <bootstrap.h> 32#include "libi386/libi386.h" 33 34/* 35 * We could use linker sets for some or all of these, but 36 * then we would have to control what ended up linked into --- 58 unchanged lines hidden (view full) --- 95 * Consoles 96 * 97 * We don't prototype these in libi386.h because they require 98 * data structures from bootstrap.h as well. 99 */ 100extern struct console vidconsole; 101extern struct console comconsole; 102extern struct console nullconsole; |
103extern struct console spinconsole; |
|
103 104struct console *consoles[] = { 105 &vidconsole, 106 &comconsole, 107 &nullconsole, | 104 105struct console *consoles[] = { 106 &vidconsole, 107 &comconsole, 108 &nullconsole, |
109 &spinconsole, |
|
108 NULL 109}; 110 111extern struct pnphandler isapnphandler; 112extern struct pnphandler biospnphandler; 113extern struct pnphandler biospcihandler; 114 115struct pnphandler *pnphandlers[] = { 116 &biospnphandler, /* should go first, as it may set isapnp_readport */ 117 &isapnphandler, 118 &biospcihandler, 119 NULL 120}; | 110 NULL 111}; 112 113extern struct pnphandler isapnphandler; 114extern struct pnphandler biospnphandler; 115extern struct pnphandler biospcihandler; 116 117struct pnphandler *pnphandlers[] = { 118 &biospnphandler, /* should go first, as it may set isapnp_readport */ 119 &isapnphandler, 120 &biospcihandler, 121 NULL 122}; |