main.c (64187) | main.c (66133) |
---|---|
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/i386/loader/main.c 64187 2000-08-03 09:14:02Z jhb $ | 26 * $FreeBSD: head/sys/boot/i386/loader/main.c 66133 2000-09-20 18:13:36Z archie $ |
27 */ 28 29/* 30 * MD bootstrap main() and assorted miscellaneous 31 * commands. 32 */ 33 34#include <stand.h> --- 59 unchanged lines hidden (view full) --- 94 * console attributes may depend on reading from eg. the boot device, which we 95 * can't do yet. 96 * 97 * We can use printf() etc. once this is done. 98 * If the previous boot stage has requested a serial console, prefer that. 99 */ 100 if (initial_howto & RB_SERIAL) 101 setenv("console", "comconsole", 1); | 27 */ 28 29/* 30 * MD bootstrap main() and assorted miscellaneous 31 * commands. 32 */ 33 34#include <stand.h> --- 59 unchanged lines hidden (view full) --- 94 * console attributes may depend on reading from eg. the boot device, which we 95 * can't do yet. 96 * 97 * We can use printf() etc. once this is done. 98 * If the previous boot stage has requested a serial console, prefer that. 99 */ 100 if (initial_howto & RB_SERIAL) 101 setenv("console", "comconsole", 1); |
102 if (initial_howto & RB_MUTE) 103 setenv("console", "nullconsole", 1); |
|
102 cons_probe(); 103 104 /* 105 * Initialise the block cache 106 */ 107 bcache_init(32, 512); /* 16k cache XXX tune this */ 108 109 /* --- 173 unchanged lines hidden --- | 104 cons_probe(); 105 106 /* 107 * Initialise the block cache 108 */ 109 bcache_init(32, 512); /* 16k cache XXX tune this */ 110 111 /* --- 173 unchanged lines hidden --- |