diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-05 15:07:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-01-05 15:07:55 +0000 |
commit | e55a45c9e8eb2d89878ae935dbf4892566374c86 (patch) | |
tree | 1abfa1bd16adc4bafc042b72f9cea09d29094761 /src/include/sys.h | |
parent | bbabbf4ac29fc00d38a767cf07db01cf642e937d (diff) | |
download | ChibiOS-e55a45c9e8eb2d89878ae935dbf4892566374c86.tar.gz ChibiOS-e55a45c9e8eb2d89878ae935dbf4892566374c86.tar.bz2 ChibiOS-e55a45c9e8eb2d89878ae935dbf4892566374c86.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@583 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/sys.h')
-rw-r--r-- | src/include/sys.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/sys.h b/src/include/sys.h index 6c905fe63..7cc94ce82 100644 --- a/src/include/sys.h +++ b/src/include/sys.h @@ -86,7 +86,7 @@ * syscall from an interrupt handler.
* @note This API must be invoked exclusively from interrupt handlers.
*/
-#define chSysUnlockI() sys_disable_from_isr()
+#define chSysUnlockI() sys_enable_from_isr()
#if defined(CH_USE_NESTED_LOCKS) || defined(_DOXYGEN_)
/**
@@ -133,7 +133,7 @@ * @note Usually IRQ handlers functions are also declared naked.
* @note On some architectures this macro can be empty.
*/
-#define chSysIRQEnterI() sys_irq_prologue()
+#define chSysIRQEnterI() SYS_IRQ_PROLOGUE()
/**
* IRQ handler exit code.
@@ -141,7 +141,7 @@ * @note This macro usually performs the final reschedulation by using
* \p chSchRescRequiredI() and \p chSchDoRescheduleI().
*/
-#define chSysIRQExitI() sys_irq_epilogue()
+#define chSysIRQExitI() SYS_IRQ_EPILOGUE()
/**
* Standard modifier for IRQ handler functions. |