Fixed some comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1164 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
5c75ead6a5
commit
0ea5ea8910
|
@ -28,7 +28,7 @@
|
||||||
#include <nvic.h>
|
#include <nvic.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Halts the system.
|
* @brief Halts the system.
|
||||||
* @note The function is declared as a weak symbol, it is possible to redefine
|
* @note The function is declared as a weak symbol, it is possible to redefine
|
||||||
* it in your application code.
|
* it in your application code.
|
||||||
*/
|
*/
|
||||||
|
@ -55,11 +55,11 @@ void _port_unlock(void) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* System Timer vector.
|
* @brief System Timer vector.
|
||||||
* This interrupt is used as system tick.
|
* @details This interrupt is used as system tick.
|
||||||
* @note The timer is initialized in the board setup code.
|
* @note The timer is initialized in the board setup code.
|
||||||
*/
|
*/
|
||||||
CH_IRQ_HANDLER(SysTickVector) {
|
void SysTickVector(void) {
|
||||||
|
|
||||||
chSysLockFromIsr();
|
chSysLockFromIsr();
|
||||||
chSysTimerHandlerI();
|
chSysTimerHandlerI();
|
||||||
|
@ -69,7 +69,9 @@ CH_IRQ_HANDLER(SysTickVector) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The SVC vector is used for commanded context switch.
|
* @brief SVC vector.
|
||||||
|
* @details The SVC vector is used for commanded context switch.
|
||||||
|
*
|
||||||
* @param otp the thread to be switched out
|
* @param otp the thread to be switched out
|
||||||
* @param ntp the thread to be switched it
|
* @param ntp the thread to be switched it
|
||||||
*/
|
*/
|
||||||
|
@ -140,7 +142,7 @@ void SVCallVector(Thread *otp, Thread *ntp) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Preemption invoked context switch.
|
* @brief Preemption code.
|
||||||
*/
|
*/
|
||||||
/** @cond never */
|
/** @cond never */
|
||||||
__attribute__((naked))
|
__attribute__((naked))
|
||||||
|
|
Loading…
Reference in New Issue