Skip to content

Commit

Permalink
doc: kernel/arch: fix some wrong doxygen references
Browse files Browse the repository at this point in the history
Remove non-existing references and document parameters.

(cherry picked from commit ca09a4b)

Original-Signed-off-by: Anas Nashif <[email protected]>
GitOrigin-RevId: ca09a4b
Cr-Build-Id: 8736554896755799505
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8736554896755799505
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I6628e895407639982adcb3d0cdc2b68d9fbfacbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5870360
Reviewed-by: Tristan Honscheid <[email protected]>
Tested-by: Tristan Honscheid <[email protected]>
Tested-by: ChromeOS Prod (Robot) <[email protected]>
Commit-Queue: Tristan Honscheid <[email protected]>
  • Loading branch information
nashif authored and Chromeos LUCI committed Sep 17, 2024
1 parent 37ebe7f commit 9d8e9a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions include/zephyr/arch/arc/v2/arcv2_irq_unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,11 @@ bool z_arc_v2_irq_unit_is_in_isr(void)
/**
* @brief Sets an IRQ line to level/pulse trigger
*
* Sets the IRQ line <irq> to trigger an interrupt based on the level or the
* edge of the signal. Valid values for <trigger> are _ARC_V2_INT_LEVEL and
* Sets the IRQ line @p irq to trigger an interrupt based on the level or the
* edge of the signal. Valid values for @p trigger are _ARC_V2_INT_LEVEL and
* _ARC_V2_INT_PULSE.
* @param irq IRQ line
* @param trigger Trigger state
*/
static ALWAYS_INLINE
void z_arc_v2_irq_unit_trigger_set(int irq, unsigned int trigger)
Expand All @@ -217,8 +219,10 @@ void z_arc_v2_irq_unit_trigger_set(int irq, unsigned int trigger)
/**
* @brief Returns an IRQ line trigger type
*
* Gets the IRQ line <irq> trigger type.
* Valid values for <trigger> are _ARC_V2_INT_LEVEL and _ARC_V2_INT_PULSE.
* Gets the IRQ line @p irq trigger type.
* Valid values for @retval trigger are _ARC_V2_INT_LEVEL and _ARC_V2_INT_PULSE.
*
* @param irq IRQ line
*
* @return trigger state
*/
Expand Down
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ static inline void set_current(struct k_thread *new_thread)
* function.
*
* @warning
* The @ref _current value may have changed after this call and not refer
* The _current value may have changed after this call and not refer
* to the interrupted thread anymore. It might be necessary to make a local
* copy before calling this function.
*
Expand Down

0 comments on commit 9d8e9a3

Please sign in to comment.