2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library()
|
|
|
|
|
|
|
|
zephyr_library_sources(
|
2017-10-27 21:43:34 +08:00
|
|
|
thread.c
|
|
|
|
thread_entry_wrapper.S
|
|
|
|
cpu_idle.S
|
|
|
|
fatal.c
|
|
|
|
fault.c
|
|
|
|
fault_s.S
|
|
|
|
irq_manage.c
|
|
|
|
cache.c
|
|
|
|
timestamp.c
|
|
|
|
isr_wrapper.S
|
|
|
|
regular_irq.S
|
|
|
|
swap.S
|
|
|
|
sys_fatal_error_handler.c
|
|
|
|
prep_c.c
|
|
|
|
reset.S
|
|
|
|
vector_table.c
|
|
|
|
)
|
|
|
|
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_ARC_FIRQ fast_irq.S)
|
2017-11-29 16:55:18 +08:00
|
|
|
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_if_kconfig(irq_offload.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ATOMIC_OPERATIONS_CUSTOM atomic.c)
|
2018-05-22 17:43:13 +08:00
|
|
|
add_subdirectory_ifdef(CONFIG_ARC_CORE_MPU mpu)
|
2018-03-28 18:00:20 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
|