From 2bbf9f1ea0cfb30bf61d189cc8c5f3552b363f01 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 20 Aug 2013 10:09:53 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6185 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/ports/ARMCMx/chcore_v7m.h | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'os/rt/ports/ARMCMx/chcore_v7m.h') diff --git a/os/rt/ports/ARMCMx/chcore_v7m.h b/os/rt/ports/ARMCMx/chcore_v7m.h index 9e2c86ede..60770e762 100644 --- a/os/rt/ports/ARMCMx/chcore_v7m.h +++ b/os/rt/ports/ARMCMx/chcore_v7m.h @@ -472,9 +472,8 @@ static inline bool port_is_isr_context(void) { /** * @brief Kernel-lock action. - * @details Usually this function just disables interrupts but may perform - * more actions. - * @note In this port this it raises the base priority to kernel level. + * @details In this port this function raises the base priority to kernel + * level. */ static inline void port_lock(void) { @@ -487,9 +486,8 @@ static inline void port_lock(void) { /** * @brief Kernel-unlock action. - * @details Usually this function just enables interrupts but may perform - * more actions. - * @note In this port this it lowers the base priority to user level. + * @details In this port this function lowers the base priority to user + * level. */ static inline void port_unlock(void) { @@ -502,9 +500,8 @@ static inline void port_unlock(void) { /** * @brief Kernel-lock action from an interrupt handler. - * @details This function is invoked before invoking I-class APIs from - * interrupt handlers. The implementation is architecture dependent, - * in its simplest form it is void. + * @details In this port this function raises the base priority to kernel + * level. * @note Same as @p port_lock() in this port. */ static inline void port_lock_from_isr(void) { @@ -514,9 +511,8 @@ static inline void port_lock_from_isr(void) { /** * @brief Kernel-unlock action from an interrupt handler. - * @details This function is invoked after invoking I-class APIs from interrupt - * handlers. The implementation is architecture dependent, in its - * simplest form it is void. + * @details In this port this function lowers the base priority to user + * level. * @note Same as @p port_unlock() in this port. */ static inline void port_unlock_from_isr(void) { @@ -526,7 +522,6 @@ static inline void port_unlock_from_isr(void) { /** * @brief Disables all the interrupt sources. - * @note Of course non-maskable interrupt sources are not included. * @note In this port it disables all the interrupt sources by raising * the priority mask to level 0. */ -- cgit v1.2.3