| @@ -1,118 +1,118 @@ | | | @@ -1,118 +1,118 @@ |
1 | # $NetBSD: files.aarch64,v 1.1 2014/08/10 05:47:37 matt Exp $ | | 1 | # $NetBSD: files.aarch64,v 1.2 2017/08/16 22:52:40 nisimura Exp $ |
2 | | | 2 | |
3 | # CPU types. | | 3 | # CPU types. |
4 | defflag opt_cputypes.h CPU_CORTEXA53 | | 4 | defflag opt_cputypes.h CPU_CORTEXA53 |
5 | defflag opt_cputypes.h CPU_CORTEXA57 | | 5 | defflag opt_cputypes.h CPU_CORTEXA57 |
6 | | | 6 | |
7 | # Board-specific bus_space(9)/bus_dma(9) definitions | | 7 | # Board-specific bus_space(9)/bus_dma(9) definitions |
8 | defflag opt_bus_space.h __BUS_SPACE_HAS_STREAM_METHODS | | 8 | defflag opt_bus_space.h __BUS_SPACE_HAS_STREAM_METHODS |
9 | __BUS_DMA_NEEDS_BOUNCE | | 9 | __BUS_DMA_NEEDS_BOUNCE |
10 | BUSDMA_COUNTERS | | 10 | BUSDMA_COUNTERS |
11 | | | 11 | |
12 | # FP support | | 12 | # FP support |
13 | file arch/aarch64/aarch64/fpu.c | | 13 | file arch/aarch64/aarch64/fpu.c |
14 | | | 14 | |
15 | # PMAP_DEBUG (heavily abused option) | | 15 | # PMAP_DEBUG (heavily abused option) |
16 | defflag PMAP_DEBUG | | 16 | defflag PMAP_DEBUG |
17 | | | 17 | |
18 | # PMAP options | | 18 | # PMAP options |
19 | defflag opt_pmap.h PMAPHIST : KERNHIST | | 19 | defflag opt_pmap.h PMAPHIST : KERNHIST |
20 | defflag opt_pmap.h PMAPCOUNTERS PMAP_STEAL_MEMORY | | 20 | defflag opt_pmap.h PMAPCOUNTERS PMAP_STEAL_MEMORY |
21 | PMAP_NEED_ALLOC_POOLPAGE | | 21 | PMAP_NEED_ALLOC_POOLPAGE |
22 | | | 22 | |
23 | # MI support | | 23 | # MI support |
24 | file dev/cons.c | | 24 | file dev/cons.c |
25 | #file kern/kern_cctr.c | | 25 | #file kern/kern_cctr.c |
26 | | | 26 | |
27 | # DDB | | 27 | # DDB |
28 | file arch/aarch64/aarch64/db_disasm.c ddb | | 28 | file arch/aarch64/aarch64/db_disasm.c ddb |
29 | file arch/aarch64/aarch64/db_interface.c ddb|kgdb | | 29 | file arch/aarch64/aarch64/db_interface.c ddb|kgdb |
30 | file arch/aarch64/aarch64/db_trace.c ddb | | 30 | file arch/aarch64/aarch64/db_trace.c ddb |
31 | file arch/aarch64/aarch64/db_machdep.c ddb | | 31 | file arch/aarch64/aarch64/db_machdep.c ddb |
32 | file arch/aarch64/aarch64/kgdb_machdep.c kgdb | | 32 | file arch/aarch64/aarch64/kgdb_machdep.c kgdb |
33 | | | 33 | |
34 | # mainbus files | | 34 | # mainbus files |
35 | device mainbus { [addr = -1], [size = 0], [intr = -1], [intrbase = -1], [package = -1] } | | 35 | device mainbus { [addr = -1], [size = 0], [intr = -1], [intrbase = -1], [package = -1] } |
36 | attach mainbus at root | | 36 | attach mainbus at root |
37 | file arch/aarch64/dev/mainbus.c mainbus | | 37 | file arch/aarch64/dev/mainbus.c mainbus |
38 | | | 38 | |
39 | device cpunode { [core = -1] } | | 39 | device cpunode { [core = -1] } |
40 | attach cpunode at mainbus with cpunode_mainbus | | 40 | attach cpunode at mainbus with cpunode_mainbus |
41 | file arch/aarch64/dev/cpunode.c cpunode_mainbus | | 41 | file arch/aarch64/dev/cpunode.c cpunode_mainbus |
42 | | | 42 | |
43 | device cpucore { [thread = -1] } | | 43 | device cpucore { [thread = -1] } |
44 | attach cpucore at cpunode with cpucore_cpunode | | 44 | attach cpucore at cpunode with cpucore_cpunode |
45 | file arch/aarch64/dev/cpucore.c cpucore_cpunode | | 45 | file arch/aarch64/dev/cpucore.c cpucore_cpunode |
46 | | | 46 | |
47 | device cpu | | 47 | device cpu |
48 | attach cpu at cpucore with cpu_cpucore | | 48 | attach cpu at cpucore with cpu_cpucore |
49 | file arch/aarch64/dev/cpu.c cpu_cpucore | | 49 | file arch/aarch64/dev/cpu.c cpu_cpucore |
50 | | | 50 | |
51 | defparam opt_arm_intr_impl.h PIC_MAXPICS | | 51 | defparam opt_arm_intr_impl.h PIC_MAXPICS |
52 | PIC_MAXSOURCES | | 52 | PIC_MAXSOURCES |
53 | PIC_MAXMAXSOURCES | | 53 | PIC_MAXMAXSOURCES |
54 | defflag opt_arm_intr_impl.h __HAVE_PIC_SET_PRIORITY | | 54 | defflag opt_arm_intr_impl.h __HAVE_PIC_SET_PRIORITY |
55 | | | 55 | |
56 | define pic | | 56 | define pic |
57 | file arch/arm/pic/pic.c | | 57 | file arch/arm/pic/pic.c |
58 | file arch/arm/pic/pic_splfuncs.c | | 58 | file arch/arm/pic/pic_splfuncs.c |
59 | | | 59 | |
60 | device a64gic: pic | | 60 | device a64gic: pic |
61 | attach a64gic at mainbus | | 61 | attach a64gic at mainbus |
62 | file arch/arm/cortex/gic.c a64gic | | 62 | file arch/arm/cortex/gic.c a64gic |
63 | file arch/aarch64/dev/a64gic_mainbus.c a64gic | | 63 | file arch/aarch64/dev/a64gic_mainbus.c a64gic |
64 | | | 64 | |
65 | device a64gtmr | | 65 | device a64gtmr |
66 | attach a64gtmr at mainbus | | 66 | attach a64gtmr at mainbus |
67 | file arch/aarch64/dev/a64gtmr.c a64gtmr | | 67 | file arch/aarch64/dev/a64gtmr.c a64gtmr |
68 | | | 68 | |
69 | # bus_space(9) | | 69 | # bus_space(9) |
70 | #define bus_space_generic | | 70 | #define bus_space_generic |
71 | #file arch/aarch64/aarch64/bus_space_asm_generic.S bus_space_generic | | 71 | #file arch/aarch64/aarch64/bus_space_asm_generic.S bus_space_generic |
72 | #file arch/aarch64/aarch64/bus_space_notimpl.S | | 72 | #file arch/aarch64/aarch64/bus_space_notimpl.S |
73 | | | 73 | |
74 | file arch/aarch64/aarch64/copyinout.S | | 74 | #file arch/aarch64/aarch64/copyinout.S |
75 | file arch/aarch64/aarch64/cpu_in_cksum.S inet | inet6 | | 75 | file arch/aarch64/aarch64/cpu_in_cksum.S inet | inet6 |
76 | file arch/aarch64/aarch64/exception.S | | 76 | file arch/aarch64/aarch64/exception.S |
77 | file arch/aarch64/aarch64/fusu.S | | 77 | #file arch/aarch64/aarch64/fusu.S |
78 | file arch/aarch64/aarch64/idle_machdep.S | | 78 | file arch/aarch64/aarch64/idle_machdep.S |
79 | file arch/aarch64/aarch64/pmap_page.S | | 79 | file arch/aarch64/aarch64/pmap_page.S |
80 | file arch/aarch64/aarch64/vectors.S | | 80 | file arch/aarch64/aarch64/vectors.S |
81 | | | 81 | |
82 | file arch/aarch64/aarch64/bus_dma.c | | 82 | file arch/aarch64/aarch64/bus_dma.c |
83 | file arch/aarch64/aarch64/bus_space.c | | 83 | file arch/aarch64/aarch64/bus_space.c |
84 | file arch/aarch64/aarch64/syscall.c | | 84 | file arch/aarch64/aarch64/syscall.c |
85 | file arch/aarch64/aarch64/trap.c | | 85 | file arch/aarch64/aarch64/trap.c |
86 | | | 86 | |
87 | file arch/aarch64/aarch64/pmap.c | | 87 | file arch/aarch64/aarch64/pmap.c |
88 | file uvm/pmap/pmap_pv.c | | 88 | file uvm/pmap/pmap_pv.c |
89 | | | 89 | |
90 | file arch/aarch64/aarch64/aarch64_machdep.c | | 90 | file arch/aarch64/aarch64/aarch64_machdep.c |
91 | #file arch/aarch64/aarch64/cctr_machdep.c | | 91 | #file arch/aarch64/aarch64/cctr_machdep.c |
92 | file arch/aarch64/aarch64/core_machdep.c | | 92 | file arch/aarch64/aarch64/core_machdep.c |
93 | file arch/aarch64/aarch64/cpu_machdep.c | | 93 | file arch/aarch64/aarch64/cpu_machdep.c |
94 | file arch/aarch64/aarch64/exec_machdep.c | | 94 | file arch/aarch64/aarch64/exec_machdep.c |
95 | file arch/aarch64/aarch64/kobj_machdep.c modular | | 95 | file arch/aarch64/aarch64/kobj_machdep.c modular |
96 | file arch/aarch64/aarch64/process_machdep.c | | 96 | file arch/aarch64/aarch64/process_machdep.c |
97 | file arch/aarch64/aarch64/procfs_machdep.c procfs | | 97 | file arch/aarch64/aarch64/procfs_machdep.c procfs |
98 | file arch/aarch64/aarch64/sig_machdep.c | | 98 | file arch/aarch64/aarch64/sig_machdep.c |
99 | file arch/aarch64/aarch64/sys_machdep.c | | 99 | file arch/aarch64/aarch64/sys_machdep.c |
100 | file arch/aarch64/aarch64/vm_machdep.c | | 100 | file arch/aarch64/aarch64/vm_machdep.c |
101 | | | 101 | |
102 | # NetBSD 32-bit binary compatibility | | 102 | # NetBSD 32-bit binary compatibility |
103 | include "compat/netbsd32/files.netbsd32" | | 103 | include "compat/netbsd32/files.netbsd32" |
104 | file arch/aarch64/aarch64/netbsd32_machdep.c compat_netbsd32 | | 104 | file arch/aarch64/aarch64/netbsd32_machdep.c compat_netbsd32 |
105 | #file arch/aarch64/aarch32/aarch32_oabi_machdep.c compat_aarch32_oabi | | 105 | #file arch/aarch64/aarch32/aarch32_oabi_machdep.c compat_aarch32_oabi |
106 | #file arch/aarch64/aarch32/aarch32_eabi_machdep.c compat_aarch32_eabi | | 106 | #file arch/aarch64/aarch32/aarch32_eabi_machdep.c compat_aarch32_eabi |
107 | #file arch/aarch64/aarch32/compat_13_machdep.c compat_13 & compat_netbsd32 | | 107 | #file arch/aarch64/aarch32/compat_13_machdep.c compat_13 & compat_netbsd32 |
108 | #file arch/aarch64/aarch32/compat_16_machdep.c compat_16 & compat_netbsd32 | | 108 | #file arch/aarch64/aarch32/compat_16_machdep.c compat_16 & compat_netbsd32 |
109 | | | 109 | |
110 | # Linux binary compatibility (COMPAT_LINUX) | | 110 | # Linux binary compatibility (COMPAT_LINUX) |
111 | #include "compat/ossaudio/files.ossaudio" | | 111 | #include "compat/ossaudio/files.ossaudio" |
112 | #include "compat/linux/files.linux" | | 112 | #include "compat/linux/files.linux" |
113 | #include "compat/linux/arch/aarch64/files.linux_aarch64" | | 113 | #include "compat/linux/arch/aarch64/files.linux_aarch64" |
114 | #file arch/aarch64/aarch64/linux_sigcode.S compat_linux | | 114 | #file arch/aarch64/aarch64/linux_sigcode.S compat_linux |
115 | #file arch/aarch64/aarch64/linux_syscall.c compat_linux | | 115 | #file arch/aarch64/aarch64/linux_syscall.c compat_linux |
116 | #file arch/aarch64/aarch64/linux_trap.c compat_linux | | 116 | #file arch/aarch64/aarch64/linux_trap.c compat_linux |
117 | | | 117 | |
118 | include "arch/arm/conf/majors.arm32" | | 118 | include "arch/arm/conf/majors.arm32" |