Deleted Added
full compact
main.c (68358) main.c (83532)
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 68358 2000-11-05 12:35:41Z nyan $
26 * $FreeBSD: head/sys/boot/pc98/loader/main.c 83532 2001-09-16 05:22:51Z nyan $
27 */
28
29/*
30 * MD bootstrap main() and assorted miscellaneous
31 * commands.
32 */
33
34#include <stand.h>

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

120 /*
121 * March through the device switch probing for things.
122 */
123 for (i = 0; devsw[i] != NULL; i++)
124 if (devsw[i]->dv_init != NULL)
125 (devsw[i]->dv_init)();
126 printf("BIOS %dkB/%dkB available memory\n", bios_basemem / 1024, bios_extmem / 1024);
127
27 */
28
29/*
30 * MD bootstrap main() and assorted miscellaneous
31 * commands.
32 */
33
34#include <stand.h>

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

120 /*
121 * March through the device switch probing for things.
122 */
123 for (i = 0; devsw[i] != NULL; i++)
124 if (devsw[i]->dv_init != NULL)
125 (devsw[i]->dv_init)();
126 printf("BIOS %dkB/%dkB available memory\n", bios_basemem / 1024, bios_extmem / 1024);
127
128#ifndef PC98
129 /* detect ACPI for future reference */
130 biosacpi_detect();
131#endif
132
128 printf("\n");
129 printf("%s, Revision %s\n", bootprog_name, bootprog_rev);
130 printf("(%s, %s)\n", bootprog_maker, bootprog_date);
131
132 extract_currdev(); /* set $currdev and $loaddev */
133 setenv("LINES", "24", 1); /* optional */
134
135 archsw.arch_autoload = i386_autoload;

--- 158 unchanged lines hidden ---
133 printf("\n");
134 printf("%s, Revision %s\n", bootprog_name, bootprog_rev);
135 printf("(%s, %s)\n", bootprog_maker, bootprog_date);
136
137 extract_currdev(); /* set $currdev and $loaddev */
138 setenv("LINES", "24", 1); /* optional */
139
140 archsw.arch_autoload = i386_autoload;

--- 158 unchanged lines hidden ---