From 8fa109243e5d626a941db8e7d6dc30bb64f9bc9f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 24 Jan 2009 17:59:51 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@675 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/include/sys.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src') 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 -- cgit v1.2.3