Deleted Added
full compact
main.c (137999) 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/efi/main.c 137978 2004-11-21 21:40:08Z marcel $");
29__FBSDID("$FreeBSD: head/sys/boot/ia64/efi/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/sal.h>
35#include <machine/pal.h>
36#include <machine/pte.h>
37#include <machine/dig64.h>

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

107 /*
108 * XXX Chicken-and-egg problem; we want to have console output
109 * early, but some console attributes may depend on reading from
110 * eg. the boot device, which we can't do yet. We can use
111 * printf() etc. once this is done.
112 */
113 cons_probe();
114
30
31#include <stand.h>
32#include <string.h>
33#include <setjmp.h>
34#include <machine/sal.h>
35#include <machine/pal.h>
36#include <machine/pte.h>
37#include <machine/dig64.h>

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

107 /*
108 * XXX Chicken-and-egg problem; we want to have console output
109 * early, but some console attributes may depend on reading from
110 * eg. the boot device, which we can't do yet. We can use
111 * printf() etc. once this is done.
112 */
113 cons_probe();
114
115 /*
116 * Initialise the block cache
117 */
118 bcache_init(32, 512); /* 16k XXX tune this */
119
120 find_pal_proc();
121
122 /*
123 * March through the device switch probing for things.
124 */
125 for (i = 0; devsw[i] != NULL; i++)
126 if (devsw[i]->dv_init != NULL)
127 (devsw[i]->dv_init)();

--- 431 unchanged lines hidden ---
115 find_pal_proc();
116
117 /*
118 * March through the device switch probing for things.
119 */
120 for (i = 0; devsw[i] != NULL; i++)
121 if (devsw[i]->dv_init != NULL)
122 (devsw[i]->dv_init)();

--- 431 unchanged lines hidden ---