Skip to content

Commit d897f9a

Browse files
committed
rust: rros: add 'CONFIG_RROS_SPINLOCK'
1 parent a39ff9d commit d897f9a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,7 @@ config CC_HAVE_SHADOW_CALL_STACK
14811481

14821482
source "kernel/Kconfig.dovetail"
14831483
source "kernel/Kconfig.rros"
1484+
source "kernel/Kconfig.rros_spinlock"
14841485

14851486
config PARAVIRT
14861487
bool "Enable paravirtualization code"

kernel/Kconfig.rros_spinlock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
config RROS_SPINLOCK
2+
bool "Enable RROS Spinlock"
3+
depends on RROS
4+
help
5+
Enable spinlock functionality for RROS. This option provides a
6+
specialized spinlock mechanism designed for the Rust Real-time Core.
7+
8+
Note: This option is experimental and should only be enabled if
9+
you understand the implications on system performance.

0 commit comments

Comments
 (0)