aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/PPC/chcore.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-22 11:34:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-22 11:34:04 +0000
commitd4c246e1bf9af0096b69ded8ae65bbf754267754 (patch)
tree234cff7b0a84068b3b6dedca795ba71faa9f1a7b /os/ports/GCC/PPC/chcore.c
parent4149bab2ca98e041d09d9908b04e634b84257f2c (diff)
downloadChibiOS-d4c246e1bf9af0096b69ded8ae65bbf754267754.tar.gz
ChibiOS-d4c246e1bf9af0096b69ded8ae65bbf754267754.tar.bz2
ChibiOS-d4c246e1bf9af0096b69ded8ae65bbf754267754.zip
Documentation related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5298 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/PPC/chcore.c')
-rw-r--r--os/ports/GCC/PPC/chcore.c7
1 files changed, 4 insertions, 3 deletions
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 <b>directly</b> 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");