From 0ea5ea89103bc47efb5b051465d567cbbe88088b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 13 Sep 2009 12:31:38 +0000 Subject: [PATCH] Fixed some comments. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1164 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCM3/chcore.c | 14 ++++++++------ 1 file 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 /** - * 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))