From befe9632df5540514af04a9e7a084a50778873e8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 25 Oct 2011 19:56:00 +0000 Subject: Fixed a small documentation error in port_unlock() implementations. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3452 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/templates/chcore.c | 2 +- os/ports/GCC/ARM/chcore.h | 2 +- os/ports/GCC/ARMCMx/chcore_v6m.h | 2 +- os/ports/GCC/ARMCMx/chcore_v7m.h | 2 +- os/ports/GCC/AVR/chcore.h | 2 +- os/ports/GCC/MSP430/chcore.h | 2 +- os/ports/IAR/ARMCMx/chcore_v6m.h | 2 +- os/ports/IAR/ARMCMx/chcore_v7m.h | 2 +- os/ports/RVCT/ARMCMx/chcore_v6m.h | 2 +- os/ports/RVCT/ARMCMx/chcore_v7m.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/os/kernel/templates/chcore.c b/os/kernel/templates/chcore.c index 74281f759..25a3b42a0 100644 --- a/os/kernel/templates/chcore.c +++ b/os/kernel/templates/chcore.c @@ -50,7 +50,7 @@ void port_lock(void) { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform more + * @details Usually this function just enables interrupts but may perform more * actions. */ void port_unlock(void) { diff --git a/os/ports/GCC/ARM/chcore.h b/os/ports/GCC/ARM/chcore.h index f23048e4c..1e9877c61 100644 --- a/os/ports/GCC/ARM/chcore.h +++ b/os/ports/GCC/ARM/chcore.h @@ -347,7 +347,7 @@ struct context { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @details Usually this function just enables interrupts but may perform * more actions. * @note In this port it enables both the IRQ and FIQ sources. */ diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.h b/os/ports/GCC/ARMCMx/chcore_v6m.h index b98be1166..71fffdac8 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.h +++ b/os/ports/GCC/ARMCMx/chcore_v6m.h @@ -176,7 +176,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @details Usually this function just enables interrupts but may perform * more actions. */ #define port_unlock() asm volatile ("cpsie i" : : : "memory") diff --git a/os/ports/GCC/ARMCMx/chcore_v7m.h b/os/ports/GCC/ARMCMx/chcore_v7m.h index 3710c2edf..a2427c27e 100644 --- a/os/ports/GCC/ARMCMx/chcore_v7m.h +++ b/os/ports/GCC/ARMCMx/chcore_v7m.h @@ -224,7 +224,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @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. */ diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h index 282ec5a16..88001a73d 100644 --- a/os/ports/GCC/AVR/chcore.h +++ b/os/ports/GCC/AVR/chcore.h @@ -248,7 +248,7 @@ struct context { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform more + * @details Usually this function just enables interrupts but may perform more * actions. * @note Implemented as global interrupt enable. */ diff --git a/os/ports/GCC/MSP430/chcore.h b/os/ports/GCC/MSP430/chcore.h index c969a6b16..e31a23307 100644 --- a/os/ports/GCC/MSP430/chcore.h +++ b/os/ports/GCC/MSP430/chcore.h @@ -217,7 +217,7 @@ struct context { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform more + * @details Usually this function just enables interrupts but may perform more * actions. * @note Implemented as global interrupt enable. */ diff --git a/os/ports/IAR/ARMCMx/chcore_v6m.h b/os/ports/IAR/ARMCMx/chcore_v6m.h index 0480451c0..a7e59e8fd 100644 --- a/os/ports/IAR/ARMCMx/chcore_v6m.h +++ b/os/ports/IAR/ARMCMx/chcore_v6m.h @@ -174,7 +174,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @details Usually this function just enables interrupts but may perform * more actions. */ #define port_unlock() __enable_interrupt() diff --git a/os/ports/IAR/ARMCMx/chcore_v7m.h b/os/ports/IAR/ARMCMx/chcore_v7m.h index 086a99d39..ee077749c 100644 --- a/os/ports/IAR/ARMCMx/chcore_v7m.h +++ b/os/ports/IAR/ARMCMx/chcore_v7m.h @@ -215,7 +215,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @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. */ diff --git a/os/ports/RVCT/ARMCMx/chcore_v6m.h b/os/ports/RVCT/ARMCMx/chcore_v6m.h index bdeec1674..a2598f03a 100644 --- a/os/ports/RVCT/ARMCMx/chcore_v6m.h +++ b/os/ports/RVCT/ARMCMx/chcore_v6m.h @@ -174,7 +174,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @details Usually this function just enables interrupts but may perform * more actions. */ #define port_unlock() __enable_irq() diff --git a/os/ports/RVCT/ARMCMx/chcore_v7m.h b/os/ports/RVCT/ARMCMx/chcore_v7m.h index 17447476f..ef04fa15e 100644 --- a/os/ports/RVCT/ARMCMx/chcore_v7m.h +++ b/os/ports/RVCT/ARMCMx/chcore_v7m.h @@ -218,7 +218,7 @@ struct intctx { /** * @brief Kernel-unlock action. - * @details Usually this function just disables interrupts but may perform + * @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. */ -- cgit v1.2.3