Skip to content

Commit

Permalink
arch: arc: add basic arc connect driver support
Browse files Browse the repository at this point in the history
* arc connect is a component to connect multiple arc cores
* it's necessary for arc smp support
* the following features are implemented
  * inter-core interrupt unit
  * gloabl free running counter
  * inter-core debug unit
  * interrupt distribute unit

Signed-off-by: Wayne Ren <[email protected]>
  • Loading branch information
Wayne Ren authored and carlescufi committed Aug 7, 2019
1 parent 8e9bf88 commit 1f4232a
Show file tree
Hide file tree
Showing 5 changed files with 696 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ config ARC_HAS_STACK_CHECKING
checking stack accesses and raising an exception when a stack
overflow or underflow is detected.

config ARC_CONNECT
bool "ARC has ARC connect"
select SCHED_IPI_SUPPORTED
default n
help
ARC is configured with ARC CONNECT which is a hardware for connecting
multi cores.

config ARC_STACK_CHECKING
bool
help
Expand Down
1 change: 1 addition & 0 deletions arch/arc/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ zephyr_library_sources_ifdef(CONFIG_ARC_FIRQ fast_irq.S)
zephyr_library_sources_if_kconfig(irq_offload.c)
add_subdirectory_ifdef(CONFIG_ARC_CORE_MPU mpu)
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
zephyr_library_sources_ifdef(CONFIG_ARC_CONNECT arc_connect.c)
Loading

0 comments on commit 1f4232a

Please sign in to comment.