[dm][hwspinlock] support hwspinlock

Hardware spinlock modules provide hardware assistance for
synchronization and mutual exclusion between heterogeneous processors
and those not operating under a single, shared operating system.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
GuEe-GUI
2025-12-09 19:53:55 +08:00
committed by R b b666
parent d76356b94e
commit dd20176cba
7 changed files with 659 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from building import *
group = []
if not GetDepend(['RT_USING_HWSPINLOCK']):
Return('group')
cwd = GetCurrentDir()
CPPPATH = [cwd + '/../include']
src = ['hwspinlock.c']
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')