Skip to content

Commit

Permalink
arch: move custom arch call Kconfigs
Browse files Browse the repository at this point in the history
Move from kernel/ to arch/ and have all those Kconfigs in one place.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Jul 5, 2024
1 parent 941e0d4 commit 56cfe70
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 14 additions & 0 deletions arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1085,3 +1085,17 @@ config ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
help
This options allows applications to override the default arch idle implementation with
a custom one.

config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
bool
help
It's possible that an architecture port cannot use _Swap() to swap to
the _main() thread, but instead must do something custom. It must
enable this option in that case.

config ARCH_HAS_CUSTOM_BUSY_WAIT
bool
help
It's possible that an architecture port cannot or does not want to use
the provided k_busy_wait(), but instead must do something custom. It must
enable this option in that case.
14 changes: 0 additions & 14 deletions kernel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -752,13 +752,6 @@ endif # KERNEL_MEM_POOL

endmenu

config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
bool
help
It's possible that an architecture port cannot use _Swap() to swap to
the _main() thread, but instead must do something custom. It must
enable this option in that case.

config SWAP_NONATOMIC
bool
help
Expand All @@ -771,13 +764,6 @@ config SWAP_NONATOMIC
ARM when the PendSV exception priority sits below that of
Zephyr-handled interrupts.

config ARCH_HAS_CUSTOM_BUSY_WAIT
bool
help
It's possible that an architecture port cannot or does not want to use
the provided k_busy_wait(), but instead must do something custom. It must
enable this option in that case.

config SYS_CLOCK_TICKS_PER_SEC
int "System tick frequency (in ticks/second)"
default 100 if QEMU_TARGET || SOC_POSIX
Expand Down

0 comments on commit 56cfe70

Please sign in to comment.