Deleted Added
full compact
main.c (135697) main.c (163893)
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3 * Copyright (c) 1998,2000 Doug Rabson <dfr@freebsd.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3 * Copyright (c) 1998,2000 Doug Rabson <dfr@freebsd.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/boot/ia64/ski/main.c 135697 2004-09-24 04:06:22Z marcel $");
29__FBSDID("$FreeBSD: head/sys/boot/ia64/ski/main.c 163893 2006-11-02 00:26:45Z marcel $");
30
31#include <stand.h>
32#include <string.h>
33#include <setjmp.h>
34#include <machine/fpu.h>
35
36#include "bootstrap.h"
37#include "libski.h"

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

68 * XXX Chicken-and-egg problem; we want to have console output
69 * early, but some console attributes may depend on reading from
70 * eg. the boot device, which we can't do yet. We can use
71 * printf() etc. once this is done.
72 */
73 cons_probe();
74
75 /*
30
31#include <stand.h>
32#include <string.h>
33#include <setjmp.h>
34#include <machine/fpu.h>
35
36#include "bootstrap.h"
37#include "libski.h"

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

68 * XXX Chicken-and-egg problem; we want to have console output
69 * early, but some console attributes may depend on reading from
70 * eg. the boot device, which we can't do yet. We can use
71 * printf() etc. once this is done.
72 */
73 cons_probe();
74
75 /*
76 * Initialise the block cache
77 */
78 bcache_init(32, 512); /* 16k XXX tune this */
79
80 /*
81 * March through the device switch probing for things.
82 */
83 for (i = 0; devsw[i] != NULL; i++)
84 if (devsw[i]->dv_init != NULL)
85 (devsw[i]->dv_init)();
86
87 printf("\n");
88 printf("%s, Revision %s\n", bootprog_name, bootprog_rev);

--- 47 unchanged lines hidden ---
76 * March through the device switch probing for things.
77 */
78 for (i = 0; devsw[i] != NULL; i++)
79 if (devsw[i]->dv_init != NULL)
80 (devsw[i]->dv_init)();
81
82 printf("\n");
83 printf("%s, Revision %s\n", bootprog_name, bootprog_rev);

--- 47 unchanged lines hidden ---