main.c (59535) | main.c (66246) |
---|---|
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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * | 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $FreeBSD: head/sys/boot/pc98/loader/main.c 59535 2000-04-23 09:33:31Z nyan $ | 26 * $FreeBSD: head/sys/boot/pc98/loader/main.c 66246 2000-09-22 12:51:22Z kato $ |
27 */ 28 29/* 30 * MD bootstrap main() and assorted miscellaneous 31 * commands. 32 */ 33 34#include <stand.h> --- 68 unchanged lines hidden (view full) --- 103 * console attributes may depend on reading from eg. the boot device, which we 104 * can't do yet. 105 * 106 * We can use printf() etc. once this is done. 107 * If the previous boot stage has requested a serial console, prefer that. 108 */ 109 if (initial_howto & RB_SERIAL) 110 setenv("console", "comconsole", 1); | 27 */ 28 29/* 30 * MD bootstrap main() and assorted miscellaneous 31 * commands. 32 */ 33 34#include <stand.h> --- 68 unchanged lines hidden (view full) --- 103 * console attributes may depend on reading from eg. the boot device, which we 104 * can't do yet. 105 * 106 * We can use printf() etc. once this is done. 107 * If the previous boot stage has requested a serial console, prefer that. 108 */ 109 if (initial_howto & RB_SERIAL) 110 setenv("console", "comconsole", 1); |
111 if (initial_howto & RB_MUTE) 112 setenv("console", "nullconsole", 1); |
|
111 cons_probe(); 112 113 /* 114 * Initialise the block cache 115 */ 116 bcache_init(32, 512); /* 16k cache XXX tune this */ 117 118 /* --- 176 unchanged lines hidden --- | 113 cons_probe(); 114 115 /* 116 * Initialise the block cache 117 */ 118 bcache_init(32, 512); /* 16k cache XXX tune this */ 119 120 /* --- 176 unchanged lines hidden --- |