From d4c246e1bf9af0096b69ded8ae65bbf754267754 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 22 Feb 2013 11:34:04 +0000 Subject: Documentation related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5298 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/PPC/chcore.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'os/ports') diff --git a/os/ports/GCC/PPC/chcore.c b/os/ports/GCC/PPC/chcore.c index c3170c6cf..da8a4aac6 100644 --- a/os/ports/GCC/PPC/chcore.c +++ b/os/ports/GCC/PPC/chcore.c @@ -63,11 +63,10 @@ void port_halt(void) { * is responsible for the context switch between 2 threads. * @note The implementation of this code affects directly the context * switch performance so optimize here as much as you can. - * - * @param[in] ntp the thread to be switched in - * @param[in] otp the thread to be switched out */ +#if !defined(__DOXYGEN__) __attribute__((naked)) +#endif void port_dummy1(void) { asm (".global _port_switch"); @@ -96,7 +95,9 @@ void port_dummy1(void) { * @details If the work function returns @p chThdExit() is automatically * invoked. */ +#if !defined(__DOXYGEN__) __attribute__((naked)) +#endif void port_dummy2(void) { asm (".global _port_thread_start"); -- cgit v1.2.3