Array of strings sys_dirs must be NULL-terminated
[helenos.git] / kernel / arch / ia32 / meson.build
blobcd96516811b5b5cfbd168fee892af58287b06fc3
2 # Copyright (c) 2005 Martin Decky
3 # All rights reserved.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions
7 # are met:
9 # - Redistributions of source code must retain the above copyright
10 #   notice, this list of conditions and the following disclaimer.
11 # - Redistributions in binary form must reproduce the above copyright
12 #   notice, this list of conditions and the following disclaimer in the
13 #   documentation and/or other materials provided with the distribution.
14 # - The name of the author may not be used to endorse or promote products
15 #   derived from this software without specific prior written permission.
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 arch_src += files(
30         'src/context.S',
31         'src/debug/stacktrace.c',
32         'src/debug/stacktrace_asm.S',
33         'src/delay.S',
34         'src/asm.S',
35         'src/proc/scheduler.c',
36         'src/proc/task.c',
37         'src/proc/thread.c',
38         'src/bios/bios.c',
39         'src/smp/ap.S',
40         'src/smp/apic.c',
41         'src/smp/mps.c',
42         'src/smp/smp.c',
43         'src/atomic.S',
44         'src/smp/ipi.c',
45         'src/ia32.c',
46         'src/vreg.c',
47         'src/interrupt.c',
48         'src/pm.c',
49         'src/userspace.c',
50         'src/smc.c',
51         'src/cpu/cpu.c',
52         'src/mm/km.c',
53         'src/mm/as.c',
54         'src/mm/frame.c',
55         'src/mm/page.c',
56         'src/mm/tlb.c',
57         'src/ddi/ddi.c',
58         'src/drivers/i8254.c',
59         'src/boot/multiboot.S',
60         'src/boot/multiboot2.S',
61         'src/boot/memmap.c',
62         'src/fpu_context.c',
63         'src/syscall.c',
66 _check_headers = [
67         'include/arch/istate_struct.h',
68         'include/arch/context_struct.h',
69         'include/arch/boot/memmap_struct.h',
72 foreach h : _check_headers
73         arch_src += [ autocheck.process(h) ]
74 endforeach