Spellosdiff -r1.35 -r1.36 src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c
(skrll)
--- src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c 2014/09/13 18:08:39 1.35
+++ src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c 2015/03/05 08:09:44 1.36
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: ixdp425_machdep.c,v 1.35 2014/09/13 18:08:39 matt Exp $ */ | 1 | /* $NetBSD: ixdp425_machdep.c,v 1.36 2015/03/05 08:09:44 skrll Exp $ */ | |
2 | /* | 2 | /* | |
3 | * Copyright (c) 2003 | 3 | * Copyright (c) 2003 | |
4 | * Ichiro FUKUHARA <ichiro@ichiro.org>. | 4 | * Ichiro FUKUHARA <ichiro@ichiro.org>. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Redistribution and use in source and binary forms, with or without | 7 | * Redistribution and use in source and binary forms, with or without | |
8 | * modification, are permitted provided that the following conditions | 8 | * modification, are permitted provided that the following conditions | |
9 | * are met: | 9 | * are met: | |
10 | * 1. Redistributions of source code must retain the above copyright | 10 | * 1. Redistributions of source code must retain the above copyright | |
11 | * notice, this list of conditions and the following disclaimer. | 11 | * notice, this list of conditions and the following disclaimer. | |
12 | * 2. Redistributions in binary form must reproduce the above copyright | 12 | * 2. Redistributions in binary form must reproduce the above copyright | |
13 | * notice, this list of conditions and the following disclaimer in the | 13 | * notice, this list of conditions and the following disclaimer in the | |
14 | * documentation and/or other materials provided with the distribution. | 14 | * documentation and/or other materials provided with the distribution. | |
@@ -54,27 +54,27 @@ | @@ -54,27 +54,27 @@ | |||
54 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 54 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
55 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 55 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
56 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 56 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
57 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 57 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
58 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 58 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
59 | * SUCH DAMAGE. | 59 | * SUCH DAMAGE. | |
60 | */ | 60 | */ | |
61 | 61 | |||
62 | /* Machine dependent functions for kernel setup for Intel IXP425 evaluation | 62 | /* Machine dependent functions for kernel setup for Intel IXP425 evaluation | |
63 | * boards using RedBoot firmware. | 63 | * boards using RedBoot firmware. | |
64 | */ | 64 | */ | |
65 | 65 | |||
66 | #include <sys/cdefs.h> | 66 | #include <sys/cdefs.h> | |
67 | __KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.35 2014/09/13 18:08:39 matt Exp $"); | 67 | __KERNEL_RCSID(0, "$NetBSD: ixdp425_machdep.c,v 1.36 2015/03/05 08:09:44 skrll Exp $"); | |
68 | 68 | |||
69 | #include "opt_ddb.h" | 69 | #include "opt_ddb.h" | |
70 | #include "opt_kgdb.h" | 70 | #include "opt_kgdb.h" | |
71 | #include "opt_pmap_debug.h" | 71 | #include "opt_pmap_debug.h" | |
72 | 72 | |||
73 | #include <sys/param.h> | 73 | #include <sys/param.h> | |
74 | #include <sys/device.h> | 74 | #include <sys/device.h> | |
75 | #include <sys/systm.h> | 75 | #include <sys/systm.h> | |
76 | #include <sys/kernel.h> | 76 | #include <sys/kernel.h> | |
77 | #include <sys/exec.h> | 77 | #include <sys/exec.h> | |
78 | #include <sys/proc.h> | 78 | #include <sys/proc.h> | |
79 | #include <sys/msgbuf.h> | 79 | #include <sys/msgbuf.h> | |
80 | #include <sys/reboot.h> | 80 | #include <sys/reboot.h> | |
@@ -716,27 +716,27 @@ initarm(void *arg) | @@ -716,27 +716,27 @@ initarm(void *arg) | |||
716 | 716 | |||
717 | /* Boot strap pmap telling it where the kernel page table is */ | 717 | /* Boot strap pmap telling it where the kernel page table is */ | |
718 | #ifdef VERBOSE_INIT_ARM | 718 | #ifdef VERBOSE_INIT_ARM | |
719 | printf("pmap "); | 719 | printf("pmap "); | |
720 | #endif | 720 | #endif | |
721 | pmap_bootstrap(KERNEL_VM_BASE, KERNEL_VM_BASE + KERNEL_VM_SIZE); | 721 | pmap_bootstrap(KERNEL_VM_BASE, KERNEL_VM_BASE + KERNEL_VM_SIZE); | |
722 | 722 | |||
723 | /* Setup the IRQ system */ | 723 | /* Setup the IRQ system */ | |
724 | #ifdef VERBOSE_INIT_ARM | 724 | #ifdef VERBOSE_INIT_ARM | |
725 | printf("irq "); | 725 | printf("irq "); | |
726 | #endif | 726 | #endif | |
727 | ixp425_intr_init(); | 727 | ixp425_intr_init(); | |
728 | #ifdef VERBOSE_INIT_ARM | 728 | #ifdef VERBOSE_INIT_ARM | |
729 | printf("\nAll initialize done!\nNow Starting NetBSD, Hear we go!\n"); | 729 | printf("\nAll initialization done!\nNow Starting NetBSD, Here we go!\n"); | |
730 | #endif | 730 | #endif | |
731 | 731 | |||
732 | #ifdef BOOTHOWTO | 732 | #ifdef BOOTHOWTO | |
733 | boothowto = BOOTHOWTO; | 733 | boothowto = BOOTHOWTO; | |
734 | #endif | 734 | #endif | |
735 | 735 | |||
736 | #ifdef DDB | 736 | #ifdef DDB | |
737 | db_machine_init(); | 737 | db_machine_init(); | |
738 | if (boothowto & RB_KDB) | 738 | if (boothowto & RB_KDB) | |
739 | Debugger(); | 739 | Debugger(); | |
740 | #endif | 740 | #endif | |
741 | 741 | |||
742 | /* We return the new stack pointer address */ | 742 | /* We return the new stack pointer address */ |
--- src/sys/arch/evbarm/nslu2/nslu2_machdep.c 2014/09/13 18:08:39 1.25
+++ src/sys/arch/evbarm/nslu2/nslu2_machdep.c 2015/03/05 08:09:44 1.26
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: nslu2_machdep.c,v 1.25 2014/09/13 18:08:39 matt Exp $ */ | 1 | /* $NetBSD: nslu2_machdep.c,v 1.26 2015/03/05 08:09:44 skrll Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 2006 The NetBSD Foundation, Inc. | 4 | * Copyright (c) 2006 The NetBSD Foundation, Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * This code is derived from software contributed to The NetBSD Foundation | 7 | * This code is derived from software contributed to The NetBSD Foundation | |
8 | * by Steve C. Woodford. | 8 | * by Steve C. Woodford. | |
9 | * | 9 | * | |
10 | * Redistribution and use in source and binary forms, with or without | 10 | * Redistribution and use in source and binary forms, with or without | |
11 | * modification, are permitted provided that the following conditions | 11 | * modification, are permitted provided that the following conditions | |
12 | * are met: | 12 | * are met: | |
13 | * 1. Redistributions of source code must retain the above copyright | 13 | * 1. Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | 14 | * notice, this list of conditions and the following disclaimer. | |
@@ -84,27 +84,27 @@ | @@ -84,27 +84,27 @@ | |||
84 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 84 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
85 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | 85 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
86 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | 86 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
87 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 87 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
88 | * SUCH DAMAGE. | 88 | * SUCH DAMAGE. | |
89 | */ | 89 | */ | |
90 | 90 | |||
91 | /* | 91 | /* | |
92 | * Machine dependent functions for kernel setup for Linksys NSLU2 | 92 | * Machine dependent functions for kernel setup for Linksys NSLU2 | |
93 | * using RedBoot firmware. | 93 | * using RedBoot firmware. | |
94 | */ | 94 | */ | |
95 | 95 | |||
96 | #include <sys/cdefs.h> | 96 | #include <sys/cdefs.h> | |
97 | __KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.25 2014/09/13 18:08:39 matt Exp $"); | 97 | __KERNEL_RCSID(0, "$NetBSD: nslu2_machdep.c,v 1.26 2015/03/05 08:09:44 skrll Exp $"); | |
98 | 98 | |||
99 | #include "opt_ddb.h" | 99 | #include "opt_ddb.h" | |
100 | #include "opt_kgdb.h" | 100 | #include "opt_kgdb.h" | |
101 | #include "opt_pmap_debug.h" | 101 | #include "opt_pmap_debug.h" | |
102 | 102 | |||
103 | #include <sys/param.h> | 103 | #include <sys/param.h> | |
104 | #include <sys/device.h> | 104 | #include <sys/device.h> | |
105 | #include <sys/systm.h> | 105 | #include <sys/systm.h> | |
106 | #include <sys/kernel.h> | 106 | #include <sys/kernel.h> | |
107 | #include <sys/exec.h> | 107 | #include <sys/exec.h> | |
108 | #include <sys/proc.h> | 108 | #include <sys/proc.h> | |
109 | #include <sys/msgbuf.h> | 109 | #include <sys/msgbuf.h> | |
110 | #include <sys/reboot.h> | 110 | #include <sys/reboot.h> | |
@@ -784,27 +784,27 @@ initarm(void *arg) | @@ -784,27 +784,27 @@ initarm(void *arg) | |||
784 | 784 | |||
785 | /* Boot strap pmap telling it where the kernel page table is */ | 785 | /* Boot strap pmap telling it where the kernel page table is */ | |
786 | #ifdef VERBOSE_INIT_ARM | 786 | #ifdef VERBOSE_INIT_ARM | |
787 | printf("pmap "); | 787 | printf("pmap "); | |
788 | #endif | 788 | #endif | |
789 | pmap_bootstrap(KERNEL_VM_BASE, KERNEL_VM_BASE + KERNEL_VM_SIZE); | 789 | pmap_bootstrap(KERNEL_VM_BASE, KERNEL_VM_BASE + KERNEL_VM_SIZE); | |
790 | 790 | |||
791 | /* Setup the IRQ system */ | 791 | /* Setup the IRQ system */ | |
792 | #ifdef VERBOSE_INIT_ARM | 792 | #ifdef VERBOSE_INIT_ARM | |
793 | printf("irq "); | 793 | printf("irq "); | |
794 | #endif | 794 | #endif | |
795 | ixp425_intr_init(); | 795 | ixp425_intr_init(); | |
796 | #ifdef VERBOSE_INIT_ARM | 796 | #ifdef VERBOSE_INIT_ARM | |
797 | printf("\nAll initialize done!\nNow Starting NetBSD, Hear we go!\n"); | 797 | printf("\nAll initialization done!\nNow Starting NetBSD, Here we go!\n"); | |
798 | #endif | 798 | #endif | |
799 | 799 | |||
800 | #ifdef BOOTHOWTO | 800 | #ifdef BOOTHOWTO | |
801 | boothowto = BOOTHOWTO; | 801 | boothowto = BOOTHOWTO; | |
802 | #endif | 802 | #endif | |
803 | 803 | |||
804 | #ifdef DDB | 804 | #ifdef DDB | |
805 | db_machine_init(); | 805 | db_machine_init(); | |
806 | if (boothowto & RB_KDB) | 806 | if (boothowto & RB_KDB) | |
807 | Debugger(); | 807 | Debugger(); | |
808 | #endif | 808 | #endif | |
809 | 809 | |||
810 | /* We return the new stack pointer address */ | 810 | /* We return the new stack pointer address */ |