2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-07-21 21:59:23 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_RISCV_PMP pmp)
|
|
|
|
|
2019-10-24 23:08:21 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
2017-10-27 21:43:34 +08:00
|
|
|
cpu_idle.c
|
|
|
|
fatal.c
|
|
|
|
irq_manage.c
|
|
|
|
isr.S
|
|
|
|
prep_c.c
|
2021-02-03 13:17:28 +08:00
|
|
|
reboot.c
|
2017-10-27 21:43:34 +08:00
|
|
|
reset.S
|
|
|
|
swap.S
|
|
|
|
thread.c
|
|
|
|
)
|
2019-10-15 05:55:03 +08:00
|
|
|
|
2020-07-31 19:52:40 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
|
2020-10-03 04:09:32 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
|
2020-07-21 22:00:39 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
|