comments/docs: fix typos in comments

This fix some typos in comments.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
Yanfeng Liu 2024-03-06 09:11:21 +08:00 committed by Xiang Xiao
parent 54e9e582d5
commit a66c7c3ee1
19 changed files with 19 additions and 19 deletions

View File

@ -83,7 +83,7 @@ extern "C"
****************************************************************************/ ****************************************************************************/
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -207,7 +207,7 @@ extern "C"
****************************************************************************/ ****************************************************************************/
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -74,7 +74,7 @@ extern "C"
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register storage /* This holds a references to the current interrupt level register storage
* structure. If is non-NULL only during interrupt processing. * structure. It is non-NULL only during interrupt processing.
*/ */
#ifdef CONFIG_ARCH_FAMILY_AVR32 #ifdef CONFIG_ARCH_FAMILY_AVR32

View File

@ -94,7 +94,7 @@ extern "C"
#endif #endif
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -91,7 +91,7 @@ static inline uint16_t up_getsp(void)
****************************************************************************/ ****************************************************************************/
/* This holds a references to the current interrupt level register storage /* This holds a references to the current interrupt level register storage
* structure. If is non-NULL only during interrupt processing. * structure. It is non-NULL only during interrupt processing.
*/ */
EXTERN volatile uint8_t *g_current_regs; EXTERN volatile uint8_t *g_current_regs;

View File

@ -77,7 +77,7 @@ static inline uint32_t up_getsp(void)
****************************************************************************/ ****************************************************************************/
/* This holds a references to the current interrupt level register storage /* This holds a references to the current interrupt level register storage
* structure. If is non-NULL only during interrupt processing. * structure. It is non-NULL only during interrupt processing.
*/ */
EXTERN volatile uint32_t *g_current_regs; EXTERN volatile uint32_t *g_current_regs;

View File

@ -75,7 +75,7 @@ extern "C"
#endif #endif
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -59,7 +59,7 @@ extern "C"
****************************************************************************/ ****************************************************************************/
/* This holds a references to the current interrupt level /* This holds a references to the current interrupt level
* register storage structure. If is non-NULL only during * register storage structure. It is non-NULL only during
* interrupt processing. * interrupt processing.
*/ */

View File

@ -620,7 +620,7 @@ extern "C"
#endif #endif
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -68,7 +68,7 @@ extern "C"
****************************************************************************/ ****************************************************************************/
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -93,7 +93,7 @@ static inline uint32_t up_getsp(void)
****************************************************************************/ ****************************************************************************/
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -61,7 +61,7 @@ extern "C"
****************************************************************************/ ****************************************************************************/
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -76,7 +76,7 @@ extern "C"
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register storage /* This holds a references to the current interrupt level register storage
* structure. If is non-NULL only during interrupt processing. * structure. It is non-NULL only during interrupt processing.
*/ */
EXTERN volatile uint32_t *g_current_regs; EXTERN volatile uint32_t *g_current_regs;

View File

@ -59,7 +59,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register storage /* This holds a references to the current interrupt level register storage
* structure. If is non-NULL only during interrupt processing. * structure. It is non-NULL only during interrupt processing.
*/ */
extern volatile uint64_t *g_current_regs; extern volatile uint64_t *g_current_regs;

View File

@ -367,7 +367,7 @@ extern "C"
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* g_current_regs[] holds a references to the current interrupt level /* g_current_regs[] holds a references to the current interrupt level
* register storage structure. If is non-NULL only during interrupt * register storage structure. It is non-NULL only during interrupt
* processing. Access to g_current_regs[] must be through the macro * processing. Access to g_current_regs[] must be through the macro
* CURRENT_REGS for portability. * CURRENT_REGS for portability.
*/ */

View File

@ -72,7 +72,7 @@ chipreg_t up_getsp(void);
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level /* This holds a references to the current interrupt level
* register storage structure. If is non-NULL only during * register storage structure. It is non-NULL only during
* interrupt processing. * interrupt processing.
*/ */

View File

@ -115,7 +115,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register /* This holds a references to the current interrupt level register
* storage structure. If is non-NULL only during interrupt processing. * storage structure. It is non-NULL only during interrupt processing.
*/ */
extern volatile chipreg_t *g_current_regs; extern volatile chipreg_t *g_current_regs;

View File

@ -170,7 +170,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register /* This holds a references to the current interrupt level register
* storage structure. If is non-NULL only during interrupt processing. * storage structure. It is non-NULL only during interrupt processing.
*/ */
extern volatile chipreg_t *g_current_regs; extern volatile chipreg_t *g_current_regs;

View File

@ -114,7 +114,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level register /* This holds a references to the current interrupt level register
* storage structure. If is non-NULL only during interrupt processing. * storage structure. It is non-NULL only during interrupt processing.
*/ */
extern volatile chipreg_t *g_current_regs; extern volatile chipreg_t *g_current_regs;