Deleted Added
full compact
main.c (163151) main.c (163893)
1/*-
2 * Initial implementation:
3 * Copyright (c) 2001 Robert Drehmel
4 * All rights reserved.
5 *
6 * As long as the above copyright statement and this notice remain
7 * unchanged, you can do what ever you want with this file.
8 */
9
10#include <sys/cdefs.h>
1/*-
2 * Initial implementation:
3 * Copyright (c) 2001 Robert Drehmel
4 * All rights reserved.
5 *
6 * As long as the above copyright statement and this notice remain
7 * unchanged, you can do what ever you want with this file.
8 */
9
10#include <sys/cdefs.h>
11__FBSDID("$FreeBSD: head/sys/boot/sparc64/loader/main.c 163151 2006-10-09 05:59:04Z kmacy $");
11__FBSDID("$FreeBSD: head/sys/boot/sparc64/loader/main.c 163893 2006-11-02 00:26:45Z marcel $");
12/*
13 * FreeBSD/sparc64 kernel loader - machine dependent part
14 *
15 * - implements copyin and readin functions that map kernel
16 * pages on demand. The machine independent code does not
17 * know the size of the kernel early enough to pre-enter
18 * TTEs and install just one 4MB mapping seemed to limiting
19 * to me.

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

482 mmu_ops = &mmu_ops_sun4v;
483 } else {
484 printf("\nBooting with sun4u support.\n");
485 mmu_ops = &mmu_ops_sun4u;
486 }
487
488 mmu_ops->tlb_init();
489
12/*
13 * FreeBSD/sparc64 kernel loader - machine dependent part
14 *
15 * - implements copyin and readin functions that map kernel
16 * pages on demand. The machine independent code does not
17 * know the size of the kernel early enough to pre-enter
18 * TTEs and install just one 4MB mapping seemed to limiting
19 * to me.

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

482 mmu_ops = &mmu_ops_sun4v;
483 } else {
484 printf("\nBooting with sun4u support.\n");
485 mmu_ops = &mmu_ops_sun4u;
486 }
487
488 mmu_ops->tlb_init();
489
490 bcache_init(32, 512);
491
492 /*
493 * Initialize devices.
494 */
495 for (dp = devsw; *dp != 0; dp++) {
496 if ((*dp)->dv_init != 0)
497 (*dp)->dv_init();
498 }
499

--- 114 unchanged lines hidden ---
490 /*
491 * Initialize devices.
492 */
493 for (dp = devsw; *dp != 0; dp++) {
494 if ((*dp)->dv_init != 0)
495 (*dp)->dv_init();
496 }
497

--- 114 unchanged lines hidden ---