Skip to content

Commit f483b1b

Browse files
nazar01nashif
authored andcommitted
everywhere: fix typos
Fix a lot of typos Signed-off-by: Nazar Kazakov <[email protected]>
1 parent 3b576fc commit f483b1b

File tree

757 files changed

+1284
-1284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

757 files changed

+1284
-1284
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
- "arch/xtensa/**/*"
7171
- "include/arch/xtensa/**/*"
7272
"area: RISCV":
73-
- "arch/risv/**/*"
73+
- "arch/riscv/**/*"
7474
- "include/arch/riscv/**/*"
7575
"area: ARC":
7676
- "arch/arc/**/*"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ zephyr_compile_options(
271271
# ToDo: Remember to get feedback from Oticon on this, as they might use the `ASM_BASE_FLAG` since this is done this way.
272272
zephyr_compile_options($<$<COMPILE_LANGUAGE:ASM>:$<TARGET_PROPERTY:asm,required>>)
273273

274-
# @Intent: Enforce standard integer type correspondance to match Zephyr usage.
274+
# @Intent: Enforce standard integer type correspondence to match Zephyr usage.
275275
# (must be after compiler specific flags)
276276
if(NOT CONFIG_ARCH_POSIX)
277277
# `zephyr_stdint.h` is not included for the POSIX (native) arch because it

arch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ choice CACHE_TYPE
799799
config HAS_ARCH_CACHE
800800
bool "Integrated cache controller"
801801
help
802-
"Integrade on-core cache controller"
802+
"Integrated on-core cache controller"
803803

804804
config HAS_EXTERNAL_CACHE
805805
bool "External cache controller"

arch/arc/core/irq_manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void z_irq_priority_set(unsigned int irq, unsigned int prio, uint32_t flags)
135135

136136
__ASSERT(prio < CONFIG_NUM_IRQ_PRIO_LEVELS,
137137
"invalid priority %d for irq %d", prio, irq);
138-
/* 0 -> CONFIG_NUM_IRQ_PRIO_LEVELS allocted to secure world
138+
/* 0 -> CONFIG_NUM_IRQ_PRIO_LEVELS allocated to secure world
139139
* left prio levels allocated to normal world
140140
*/
141141
#if defined(CONFIG_ARC_SECURE_FIRMWARE)

arch/arm/core/aarch32/userspace.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ SECTION_FUNC(TEXT,z_arm_userspace_enter)
245245
mov r0, lr
246246

247247
#if defined(CONFIG_ARMV7_R)
248-
/* change processor mode to unprivileged, with all interrrupts enabled. */
248+
/* change processor mode to unprivileged, with all interrupts enabled. */
249249
msr CPSR_c, #MODE_USR
250250
#else
251251
/* change processor mode to unprivileged */

arch/posix/core/swap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
int arch_swap(unsigned int key)
2424
{
2525
/*
26-
* struct k_thread * _current is the currently runnig thread
26+
* struct k_thread * _current is the currently running thread
2727
* struct k_thread * _kernel.ready_q.cache contains the next thread to
2828
* run (cannot be NULL)
2929
*

arch/riscv/core/pmp/core_pmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static void csr_write_enum(int pmp_csr_enum, ulong_t value)
271271
*
272272
* Configure a memory region to be secured by one of the 16 PMP entries.
273273
*
274-
* @param index Number of the targeted PMP entrie (0 to 15 only).
274+
* @param index Number of the targeted PMP entry (0 to 15 only).
275275
* @param cfg_val Configuration value (cf datasheet or defined flags)
276276
* @param addr_val Address register value
277277
*

arch/riscv/core/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
5555
* Following the RISC-V architecture,
5656
* the MSTATUS register (used to globally enable/disable interrupt),
5757
* as well as the MEPC register (used to by the core to save the
58-
* value of the program counter at which an interrupt/exception occcurs)
58+
* value of the program counter at which an interrupt/exception occurs)
5959
* need to be saved on the stack, upon an interrupt/exception
6060
* and restored prior to returning from the interrupt/exception.
6161
* This shall allow to handle nested interrupts.

arch/sparc/core/fatal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
5353
*
5454
* HOW TO USE
5555
*
56-
* When invesetigating a crashed program, the first things to look
56+
* When investigating a crashed program, the first things to look
5757
* at is typically the tt, pc and sp (o6). You can lookup the pc
5858
* in the assembly list file or use addr2line. In the listing, the
5959
* register values in the table above can be used. The linker map
@@ -68,7 +68,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
6868
* g7 is the TLS pointer if enabled. A SAVE instruction decreases
6969
* the current window pointer (psr bits 4..0) which results in %o
7070
* registers becoming %i registers and a new set of %l registers
71-
* appear. RESTORE does the oppposite.
71+
* appear. RESTORE does the opposite.
7272
*/
7373

7474

@@ -85,7 +85,7 @@ LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
8585
*
8686
* When printing the registers, we get the "local" and "in"
8787
* registers from the ABI stack save area, while the "out" and
88-
* "global" registares are taken from the exception stack frame
88+
* "global" registers are taken from the exception stack frame
8989
* generated in the fault trap entry.
9090
*/
9191
struct savearea {

arch/x86/core/userspace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* we go through z_x86_trampoline_to_user.
2424
*
2525
* We don't need to update the privilege mode initial stack pointer either,
26-
* privilege elevation always lands on the trampoline stack and the irq/sycall
26+
* privilege elevation always lands on the trampoline stack and the irq/syscall
2727
* code has to manually transition off of it to the appropriate stack after
2828
* switching page tables.
2929
*/

0 commit comments

Comments
 (0)