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
This commit is contained in:
parent
2f572f109a
commit
befe9632df
|
@ -50,7 +50,7 @@ void port_lock(void) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* actions.
|
||||||
*/
|
*/
|
||||||
void port_unlock(void) {
|
void port_unlock(void) {
|
||||||
|
|
|
@ -347,7 +347,7 @@ struct context {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
* @note In this port it enables both the IRQ and FIQ sources.
|
* @note In this port it enables both the IRQ and FIQ sources.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -176,7 +176,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
*/
|
*/
|
||||||
#define port_unlock() asm volatile ("cpsie i" : : : "memory")
|
#define port_unlock() asm volatile ("cpsie i" : : : "memory")
|
||||||
|
|
|
@ -224,7 +224,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
* @note In this port this it lowers the base priority to user level.
|
* @note In this port this it lowers the base priority to user level.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -248,7 +248,7 @@ struct context {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* actions.
|
||||||
* @note Implemented as global interrupt enable.
|
* @note Implemented as global interrupt enable.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -217,7 +217,7 @@ struct context {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* actions.
|
||||||
* @note Implemented as global interrupt enable.
|
* @note Implemented as global interrupt enable.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -174,7 +174,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
*/
|
*/
|
||||||
#define port_unlock() __enable_interrupt()
|
#define port_unlock() __enable_interrupt()
|
||||||
|
|
|
@ -215,7 +215,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
* @note In this port this it lowers the base priority to user level.
|
* @note In this port this it lowers the base priority to user level.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -174,7 +174,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
*/
|
*/
|
||||||
#define port_unlock() __enable_irq()
|
#define port_unlock() __enable_irq()
|
||||||
|
|
|
@ -218,7 +218,7 @@ struct intctx {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Kernel-unlock action.
|
* @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.
|
* more actions.
|
||||||
* @note In this port this it lowers the base priority to user level.
|
* @note In this port this it lowers the base priority to user level.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue