aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-03 09:46:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-03 09:46:31 +0000
commite00af9a519d9b147b0082784ac7ca0d0bea18d8f (patch)
tree3857d62b1012a4cbcc7353636d565705ae4f5d4d /os
parent90f791c2b61b0691ca8faede3b855641f258a87a (diff)
downloadChibiOS-e00af9a519d9b147b0082784ac7ca0d0bea18d8f.tar.gz
ChibiOS-e00af9a519d9b147b0082784ac7ca0d0bea18d8f.tar.bz2
ChibiOS-e00af9a519d9b147b0082784ac7ca0d0bea18d8f.zip
Documentation related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2228 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/ports/GCC/MSP430/chcore.h6
-rw-r--r--os/ports/GCC/PPC/chcore.h8
-rw-r--r--os/ports/RC/STM8/chcore.h6
-rw-r--r--os/ports/cosmic/STM8/chcore.h6
4 files changed, 1 insertions, 25 deletions
diff --git a/os/ports/GCC/MSP430/chcore.h b/os/ports/GCC/MSP430/chcore.h
index 15efad59e..4c8a56d65 100644
--- a/os/ports/GCC/MSP430/chcore.h
+++ b/os/ports/GCC/MSP430/chcore.h
@@ -63,7 +63,6 @@ typedef uint16_t stkalign_t;
*/
typedef void *regmsp_t;
-#if !defined(__DOXYGEN__)
/**
* @brief Interrupt saved context.
* @details This structure represents the stack frame saved during a
@@ -77,9 +76,7 @@ struct extctx {
regmsp_t sr;
regmsp_t pc;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief System saved context.
* @details This structure represents the inner stack frame during a context
@@ -96,9 +93,7 @@ struct intctx {
regmsp_t r11;
regmsp_t pc;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief Platform dependent part of the @p Thread structure.
* @details This structure usually contains just the saved stack pointer
@@ -107,7 +102,6 @@ struct intctx {
struct context {
struct intctx *sp;
};
-#endif
/**
* @brief Platform dependent part of the @p chThdInit() API.
diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h
index 162469a1b..b10b2ae62 100644
--- a/os/ports/GCC/PPC/chcore.h
+++ b/os/ports/GCC/PPC/chcore.h
@@ -93,7 +93,6 @@ struct eabi_frame {
regppc_t shole; /**< Stack hole for LR storage. */
};
-#if !defined(__DOXYGEN__)
/**
* @brief Interrupt saved context.
* @details This structure represents the stack frame saved during a
@@ -125,10 +124,8 @@ struct extctx {
regppc_t r12;
regppc_t padding;
};
-#endif
-#if !defined(__DOXYGEN__)
-/**
+ /**
* @brief System saved context.
* @details This structure represents the inner stack frame during a context
* switching.
@@ -159,9 +156,7 @@ struct intctx {
regppc_t r31;
regppc_t padding;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief Platform dependent part of the @p Thread structure.
* @details This structure usually contains just the saved stack pointer
@@ -170,7 +165,6 @@ struct intctx {
struct context {
struct intctx *sp;
};
-#endif
/**
* @brief Platform dependent part of the @p chThdInit() API.
diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h
index 6c2848ec3..4deacd9de 100644
--- a/os/ports/RC/STM8/chcore.h
+++ b/os/ports/RC/STM8/chcore.h
@@ -72,7 +72,6 @@ typedef uint8_t stkalign_t;
*/
typedef void (*stm8func_t)(void);
-#if !defined(__DOXYGEN__)
/**
* @brief Interrupt saved context.
* @details This structure represents the stack frame saved during a
@@ -92,9 +91,7 @@ struct extctx {
uint8_t pch;
uint8_t pcl;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief System saved context.
* @details This structure represents the inner stack frame during a context
@@ -106,9 +103,7 @@ struct intctx {
uint8_t _next;
stm8func_t pc; /* Function pointer sized return address. */
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief Platform dependent part of the @p Thread structure.
* @details This structure usually contains just the saved stack pointer
@@ -117,7 +112,6 @@ struct intctx {
struct context {
struct intctx *sp;
};
-#endif
/**
* @brief Start context.
diff --git a/os/ports/cosmic/STM8/chcore.h b/os/ports/cosmic/STM8/chcore.h
index e04341c2e..ebf13d0ac 100644
--- a/os/ports/cosmic/STM8/chcore.h
+++ b/os/ports/cosmic/STM8/chcore.h
@@ -70,7 +70,6 @@ typedef uint8_t stkalign_t;
*/
typedef void (*stm8func_t)(void);
-#if !defined(__DOXYGEN__)
/**
* @brief Interrupt saved context.
* @details This structure represents the stack frame saved during a
@@ -90,9 +89,7 @@ struct extctx {
uint8_t pch;
uint8_t pcl;
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief System saved context.
* @details This structure represents the inner stack frame during a context
@@ -104,9 +101,7 @@ struct intctx {
uint8_t _next;
stm8func_t pc; /* Function pointer sized return address. */
};
-#endif
-#if !defined(__DOXYGEN__)
/**
* @brief Platform dependent part of the @p Thread structure.
* @details This structure usually contains just the saved stack pointer
@@ -115,7 +110,6 @@ struct intctx {
struct context {
struct intctx *sp;
};
-#endif
/**
* @brief Start context.