From a4de2eb3d1756c445d2e2ecb72e6d562674c118b Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 15 Sep 2023 08:04:48 +0000 Subject: [PATCH] kernel: doc: mark sections as internal in kernel.h Add doxygen conditionals around internal segments of the header. Signed-off-by: Anas Nashif --- include/zephyr/kernel.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index 84233df9de2675..efaad0ce8ece42 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -5814,6 +5814,7 @@ static inline void k_cpu_atomic_idle(unsigned int key) */ /** + * @cond INTERNAL_HIDDEN * @internal */ #ifdef ARCH_EXCEPT @@ -5840,6 +5841,9 @@ static inline void k_cpu_atomic_idle(unsigned int key) } while (false) #endif /* _ARCH__EXCEPT */ +/** + * INTERNAL_HIDDEN @endcond + */ /** * @brief Fatally terminate a thread @@ -5864,6 +5868,10 @@ static inline void k_cpu_atomic_idle(unsigned int key) */ #define k_panic() z_except_reason(K_ERR_KERNEL_PANIC) +/** + * @cond INTERNAL_HIDDEN + */ + /* * private APIs that are utilized by one or more public APIs */ @@ -5901,6 +5909,9 @@ void z_smp_thread_swap(void); * @internal */ extern void z_timer_expiration_handler(struct _timeout *t); +/** + * INTERNAL_HIDDEN @endcond + */ #ifdef CONFIG_PRINTK /**