| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: pxa2x0_hpc_machdep.c,v 1.19 2012/09/22 00:33:41 matt Exp $ */ | | 1 | /* $NetBSD: pxa2x0_hpc_machdep.c,v 1.20 2013/08/26 15:31:06 matt Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1994-1998 Mark Brinicombe. | | 4 | * Copyright (c) 1994-1998 Mark Brinicombe. |
5 | * Copyright (c) 1994 Brini. | | 5 | * Copyright (c) 1994 Brini. |
6 | * All rights reserved. | | 6 | * All rights reserved. |
7 | * | | 7 | * |
8 | * This code is derived from software written for Brini by Mark Brinicombe | | 8 | * This code is derived from software written for Brini by Mark Brinicombe |
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. |
| @@ -30,27 +30,27 @@ | | | @@ -30,27 +30,27 @@ |
30 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | | 30 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
31 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 31 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
32 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | | 32 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
33 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | | 33 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
34 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | | 34 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
35 | * SUCH DAMAGE. | | 35 | * SUCH DAMAGE. |
36 | */ | | 36 | */ |
37 | | | 37 | |
38 | /* | | 38 | /* |
39 | * Machine dependent functions for kernel setup. | | 39 | * Machine dependent functions for kernel setup. |
40 | */ | | 40 | */ |
41 | | | 41 | |
42 | #include <sys/cdefs.h> | | 42 | #include <sys/cdefs.h> |
43 | __KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_machdep.c,v 1.19 2012/09/22 00:33:41 matt Exp $"); | | 43 | __KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_machdep.c,v 1.20 2013/08/26 15:31:06 matt Exp $"); |
44 | | | 44 | |
45 | #include "opt_ddb.h" | | 45 | #include "opt_ddb.h" |
46 | #include "opt_dram_pages.h" | | 46 | #include "opt_dram_pages.h" |
47 | #include "opt_modular.h" | | 47 | #include "opt_modular.h" |
48 | #include "opt_pmap_debug.h" | | 48 | #include "opt_pmap_debug.h" |
49 | #include "ksyms.h" | | 49 | #include "ksyms.h" |
50 | | | 50 | |
51 | #include <sys/param.h> | | 51 | #include <sys/param.h> |
52 | #include <sys/systm.h> | | 52 | #include <sys/systm.h> |
53 | #include <sys/kernel.h> | | 53 | #include <sys/kernel.h> |
54 | #include <sys/reboot.h> | | 54 | #include <sys/reboot.h> |
55 | #include <sys/proc.h> | | 55 | #include <sys/proc.h> |
56 | #include <sys/msgbuf.h> | | 56 | #include <sys/msgbuf.h> |
| @@ -67,27 +67,27 @@ __KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_m | | | @@ -67,27 +67,27 @@ __KERNEL_RCSID(0, "$NetBSD: pxa2x0_hpc_m |
67 | #ifndef DB_ELFSIZE | | 67 | #ifndef DB_ELFSIZE |
68 | #error Must define DB_ELFSIZE! | | 68 | #error Must define DB_ELFSIZE! |
69 | #endif | | 69 | #endif |
70 | #define ELFSIZE DB_ELFSIZE | | 70 | #define ELFSIZE DB_ELFSIZE |
71 | #include <sys/exec_elf.h> | | 71 | #include <sys/exec_elf.h> |
72 | #endif | | 72 | #endif |
73 | | | 73 | |
74 | #include <uvm/uvm.h> | | 74 | #include <uvm/uvm.h> |
75 | | | 75 | |
76 | #include <arm/xscale/pxa2x0cpu.h> | | 76 | #include <arm/xscale/pxa2x0cpu.h> |
77 | #include <arm/xscale/pxa2x0reg.h> | | 77 | #include <arm/xscale/pxa2x0reg.h> |
78 | #include <arm/xscale/pxa2x0var.h> | | 78 | #include <arm/xscale/pxa2x0var.h> |
79 | #include <arm/xscale/pxa2x0_gpio.h> | | 79 | #include <arm/xscale/pxa2x0_gpio.h> |
80 | #include <arm/cpuconf.h> | | 80 | #include <arm/locore.h> |
81 | #include <arm/undefined.h> | | 81 | #include <arm/undefined.h> |
82 | #include <arm/arm32/machdep.h> | | 82 | #include <arm/arm32/machdep.h> |
83 | | | 83 | |
84 | #include <machine/bootconfig.h> | | 84 | #include <machine/bootconfig.h> |
85 | #include <machine/bootinfo.h> | | 85 | #include <machine/bootinfo.h> |
86 | #include <machine/cpu.h> | | 86 | #include <machine/cpu.h> |
87 | #include <machine/frame.h> | | 87 | #include <machine/frame.h> |
88 | #include <machine/intr.h> | | 88 | #include <machine/intr.h> |
89 | #include <machine/io.h> | | 89 | #include <machine/io.h> |
90 | #include <machine/platid.h> | | 90 | #include <machine/platid.h> |
91 | #include <machine/rtc.h> | | 91 | #include <machine/rtc.h> |
92 | #include <machine/signal.h> | | 92 | #include <machine/signal.h> |
93 | | | 93 | |