source: mainline/kernel/arch/amd64/meson.build

Last change on this file was 63660a3, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

shuffle some variables around

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