aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/sys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys.h')
-rw-r--r--src/include/sys.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/include/sys.h b/src/include/sys.h
index 368d108aa..80e3a0101 100644
--- a/src/include/sys.h
+++ b/src/include/sys.h
@@ -134,7 +134,7 @@
* syscall from an interrupt handler.
* @note This API must be invoked exclusively from interrupt handlers.
*/
-#define chSysLockI() port_lock_from_isr()
+#define chSysLockFromIsr() port_lock_from_isr()
/**
* @brief Leaves the kernel lock mode from within an interrupt handler.
@@ -147,7 +147,7 @@
* syscall from an interrupt handler.
* @note This API must be invoked exclusively from interrupt handlers.
*/
-#define chSysUnlockI() port_unlock_from_isr()
+#define chSysUnlockFromIsr() port_unlock_from_isr()
/**
* @brief IRQ handler enter code.
@@ -179,10 +179,6 @@ extern "C" {
#endif
void chSysInit(void);
void chSysTimerHandlerI(void);
-#if !defined(CH_OPTIMIZE_SPEED)
- void chSysLock(void);
- void chSysUnlock(void);
-#endif /* !defined(CH_OPTIMIZE_SPEED) */
#ifdef __cplusplus
}
#endif