1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4
5zephyr_library_sources(
6  fatal.c
7  reset_trap.S
8  prep_c.c
9  switch.S
10  interrupt_trap.S
11  fault_trap.S
12  irq_manage.c
13  thread.c
14  window_trap.S
15  sw_trap_set_pil.S
16)
17
18zephyr_library_sources_ifdef(CONFIG_SPARC_SVT trap_table_svt.S)
19zephyr_library_sources_ifndef(CONFIG_SPARC_SVT trap_table_mvt.S)
20zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
21zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
22