diff --git a/include/arch/arc/arch.h b/include/arch/arc/arch.h index f9b492e6776..b51f6d7346e 100644 --- a/include/arch/arc/arch.h +++ b/include/arch/arc/arch.h @@ -20,7 +20,7 @@ extern "C" { #endif -/* APIs need to support non-byte addressible architectures */ +/* APIs need to support non-byte addressable architectures */ #define OCTET_TO_SIZEOFUNIT(X) (X) #define SIZEOFUNIT_TO_OCTET(X) (X) diff --git a/include/arch/arm/cortex_m/cmsis.h b/include/arch/arm/cortex_m/cmsis.h index 0ae08197afb..f18616db86a 100644 --- a/include/arch/arm/cortex_m/cmsis.h +++ b/include/arch/arm/cortex_m/cmsis.h @@ -116,7 +116,7 @@ typedef enum { #elif defined(CONFIG_CPU_CORTEX_M7) #define __CM7_REV 0 #else -#error "Uknown Cortex-M device" +#error "Unknown Cortex-M device" #endif #define __MPU_PRESENT 0 /* Zephyr has no MPU support */ @@ -135,7 +135,7 @@ typedef enum { #elif defined(CONFIG_CPU_CORTEX_M7) #include #else -#error "Uknown Cortex-M device" +#error "Unknown Cortex-M device" #endif #ifdef __cplusplus diff --git a/include/arch/nios2/arch.h b/include/arch/nios2/arch.h index c2e3288e186..7a1e55e7d1f 100644 --- a/include/arch/nios2/arch.h +++ b/include/arch/nios2/arch.h @@ -30,7 +30,7 @@ extern "C" { #define _NANO_ERR_ALLOCATION_FAIL (3) /* Kernel Allocation Failure */ #define _NANO_ERR_SPURIOUS_INT (4) /* Spurious interrupt */ -/* APIs need to support non-byte addressible architectures */ +/* APIs need to support non-byte addressable architectures */ #define OCTET_TO_SIZEOFUNIT(X) (X) #define SIZEOFUNIT_TO_OCTET(X) (X) diff --git a/include/arch/x86/segmentation.h b/include/arch/x86/segmentation.h index fd55a4d0c91..b67d3274d12 100644 --- a/include/arch/x86/segmentation.h +++ b/include/arch/x86/segmentation.h @@ -36,7 +36,7 @@ extern "C" { /* NOTE: We currently do not have definitions for 16-bit segment, currently - * assume everthing we are working with is 32-bit + * assume everything we are working with is 32-bit */ #define SEG_TYPE_LDT 0x2 @@ -188,7 +188,7 @@ struct __packed segment_descriptor { /* 1=code 0=data */ uint8_t executable:1; - /* Next 3 fields ctually common to all */ + /* Next 3 fields actually common to all */ /* 1=code or data, 0=system type */ uint8_t descriptor_type:1; @@ -490,7 +490,7 @@ static inline uint16_t _get_tss(void) /** * Get the current global descriptor table * - * @param gdt Pointer to memory to receive GDT pseduo descriptor information + * @param gdt Pointer to memory to receive GDT pseudo descriptor information */ static inline void _get_gdt(struct pseudo_descriptor *gdt) { @@ -501,7 +501,7 @@ static inline void _get_gdt(struct pseudo_descriptor *gdt) /** * Get the current interrupt descriptor table * - * @param idt Pointer to memory to receive IDT pseduo descriptor information + * @param idt Pointer to memory to receive IDT pseudo descriptor information */ static inline void _get_idt(struct pseudo_descriptor *idt) { @@ -574,7 +574,7 @@ static inline uint16_t _get_cs(void) /** - * Get the segement selector for the current data segment + * Get the segment selector for the current data segment * * @return Segment selector */