aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCM3
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-13 12:31:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-13 12:31:38 +0000
commit0ea5ea89103bc47efb5b051465d567cbbe88088b (patch)
treef907ecaad8ec8234259bcaa6bb6d09398c7c77c4 /os/ports/GCC/ARMCM3
parent5c75ead6a5bfb30df949f69e2fd3c90c62ac233f (diff)
downloadChibiOS-0ea5ea89103bc47efb5b051465d567cbbe88088b.tar.gz
ChibiOS-0ea5ea89103bc47efb5b051465d567cbbe88088b.tar.bz2
ChibiOS-0ea5ea89103bc47efb5b051465d567cbbe88088b.zip
Fixed some comments.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1164 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCM3')
-rw-r--r--os/ports/GCC/ARMCM3/chcore.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c
index 7973659fe..bf7dd3f15 100644
--- a/os/ports/GCC/ARMCM3/chcore.c
+++ b/os/ports/GCC/ARMCM3/chcore.c
@@ -28,7 +28,7 @@
#include <nvic.h>
/**
- * Halts the system.
+ * @brief Halts the system.
* @note The function is declared as a weak symbol, it is possible to redefine
* it in your application code.
*/
@@ -55,11 +55,11 @@ void _port_unlock(void) {
#endif
/**
- * System Timer vector.
- * This interrupt is used as system tick.
+ * @brief System Timer vector.
+ * @details This interrupt is used as system tick.
* @note The timer is initialized in the board setup code.
*/
-CH_IRQ_HANDLER(SysTickVector) {
+void SysTickVector(void) {
chSysLockFromIsr();
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 ntp the thread to be switched it
*/
@@ -140,7 +142,7 @@ void SVCallVector(Thread *otp, Thread *ntp) {
#endif
/**
- * Preemption invoked context switch.
+ * @brief Preemption code.
*/
/** @cond never */
__attribute__((naked))