summaryrefslogtreecommitdiff
path: root/components/drivers/include/rtdevice.h
diff options
context:
space:
mode:
authorGuEe-GUI <[email protected]>2025-12-09 19:53:55 +0800
committerR b b666 <[email protected]>2025-12-11 11:08:33 +0800
commitdd20176cbae0a4f5867829ce776e09245239d01c (patch)
tree958b6d2a2c6774e052f2ef27ea623b8f90efa9ac /components/drivers/include/rtdevice.h
parentd76356b94ec8e0ea45e7b1d5996a827e0f52be15 (diff)
[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 <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
-rw-r--r--components/drivers/include/rtdevice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h
index 88a388b6f0..d55a41f30b 100644
--- a/components/drivers/include/rtdevice.h
+++ b/components/drivers/include/rtdevice.h
@@ -66,6 +66,10 @@ extern "C" {
#include "drivers/mailbox.h"
#endif /* RT_USING_MBOX */
+#ifdef RT_USING_HWSPINLOCK
+#include "drivers/hwspinlock.h"
+#endif /* RT_USING_HWSPINLOCK */
+
#ifdef RT_USING_BLK
#include "drivers/blk.h"
#endif /* RT_USING_BLK */