Skip to content

Commit f2cb20c

Browse files
nashifMaureenHelm
authored andcommitted
docs: fix misspelling across the tree
Found a few annoying typos and figured I better run script and fix anything it can find, here are the results... Signed-off-by: Anas Nashif <[email protected]>
1 parent b023fbf commit f2cb20c

File tree

133 files changed

+191
-191
lines changed

Some content is hidden

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

133 files changed

+191
-191
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# expect to learn how to build the kernel reading this file.
1313

1414
if(NOT DEFINED ZEPHYR_BINARY_DIR)
15-
message(FATAL_ERROR "A user error has occured.
15+
message(FATAL_ERROR "A user error has occurred.
1616
cmake was invoked with '${CMAKE_CURRENT_LIST_DIR}' specified as the source directory,
1717
but it must be invoked with an application source directory,
1818
such as '${CMAKE_CURRENT_LIST_DIR}/samples/hello_world'.
@@ -39,7 +39,7 @@ project(Zephyr-Kernel VERSION ${PROJECT_VERSION})
3939
enable_language(C CXX ASM)
4040

4141
# Verify that the toolchain can compile a dummy file, if it is not we
42-
# won't be able to test for compatiblity with certain C flags.
42+
# won't be able to test for compatibility with certain C flags.
4343
check_c_compiler_flag("" toolchain_is_ok)
4444
assert(toolchain_is_ok "The toolchain is unable to build a dummy C file. See CMakeError.log.")
4545

Kconfig.zephyr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ source "modules/Kconfig"
1515
endmenu
1616

1717
# Include these first so that any properties (e.g. defaults) below can be
18-
# overriden in *.defconfig files (by defining symbols in multiple locations).
18+
# overridden in *.defconfig files (by defining symbols in multiple locations).
1919
# After merging all the symbol definitions, Kconfig picks the first property
2020
# (e.g. the first default) with a satisfied condition.
2121
#
@@ -63,7 +63,7 @@ config LINKER_ORPHAN_SECTION_PLACE
6363
config LINKER_ORPHAN_SECTION_WARN
6464
bool "Warn"
6565
help
66-
Linker places the orphan sections in ouput and issues
66+
Linker places the orphan sections in output and issues
6767
warning about those sections.
6868

6969
config LINKER_ORPHAN_SECTION_ERROR

arch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#
1010

1111
# Include these first so that any properties (e.g. defaults) below can be
12-
# overriden (by defining symbols in multiple locations)
12+
# overridden (by defining symbols in multiple locations)
1313

1414
# Note: $ARCH might be a glob pattern
1515
source "$(ARCH_DIR)/$(ARCH)/Kconfig"

arch/arm/core/cortex_m/prep_c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/*
2828
* GCC can detect if memcpy is passed a NULL argument, however one of
2929
* the cases of relocate_vector_table() it is valid to pass NULL, so we
30-
* supress the warning for this case. We need to do this before
30+
* suppress the warning for this case. We need to do this before
3131
* string.h is included to get the declaration of memcpy.
3232
*/
3333
#pragma GCC diagnostic push

arch/nios2/core/crt0.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ SECTION_FUNC(TEXT, __start)
134134
#endif
135135

136136
/* TODO if shadow register sets enabled, interate through them to set
137-
* up. Need to clear r0, write gp, set the execption stack pointer
137+
* up. Need to clear r0, write gp, set the exception stack pointer
138138
* GH-1821
139139
*/
140140

arch/nios2/core/swap.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ no_unlock:
175175
SECTION_FUNC(TEXT, z_thread_entry_wrapper)
176176
/* This all corresponds to struct init_stack_frame defined in
177177
* thread.c. We need to take this stuff off the stack and put
178-
* it in the apporpriate registers
178+
* it in the appropriate registers
179179
*/
180180

181181
/* Can't return from here, just put NULL in ra */

arch/x86/core/ia32/irq_manage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void *get_dynamic_stub(int stub_idx)
228228
u32_t offset;
229229

230230
/*
231-
* Because we want the sizes of the stubs to be consisent and minimized,
231+
* Because we want the sizes of the stubs to be consistent and minimized,
232232
* stubs are grouped into blocks, each containing a push and subsequent
233233
* 2-byte jump instruction to the end of the block, which then contains
234234
* a larger jump instruction to common dynamic IRQ handling code

arch/x86/core/ia32/userspace.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ SECTION_FUNC(TEXT, z_x86_trampoline_to_kernel)
5858

5959
/* %esp = _kernel->current->stack_info.start
6060
*
61-
* This is the lowest address of the user mode stack, and higest
61+
* This is the lowest address of the user mode stack, and highest
6262
* address of the kernel stack, they are adjacent.
6363
* We want to transplant context here.
6464
*/
@@ -166,7 +166,7 @@ SECTION_FUNC(TEXT, z_x86_syscall_entry_stub)
166166

167167
/* %esp = _kernel->current->stack_info.start
168168
*
169-
* This is the lowest address of the user mode stack, and higest
169+
* This is the lowest address of the user mode stack, and highest
170170
* address of the kernel stack, they are adjacent.
171171
* We want to transplant context here.
172172
*/

arch/x86/core/ia32/x86_mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int z_arch_buffer_validate(void *addr, size_t size, int write)
133133
MMU_PAGE_NUM((char *)addr + size - 1);
134134
}
135135

136-
/* For all the pde's appart from the starting pde,
136+
/* For all the pde's apart from the starting pde,
137137
* will have the start pte number as zero.
138138
*/
139139
if (pde != start_pde_num) {

arch/x86/gen_mmu_x86.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def populate_required_structs(self):
245245

246246
# In-case the start address aligns with a page table entry other
247247
# than zero and the mem_size is greater than (1024*4096) i.e 4MB
248-
# in case where it overflows the currenty PDE's range then limit the
248+
# in case where it overflows the current PDE's range then limit the
249249
# PTE to 1024 and so make the mem_size reflect the actual size
250250
# taken up in the current PDE
251251
if (size + (pte_valid_addr_start * 4096)) >= \
@@ -277,7 +277,7 @@ def populate_required_structs(self):
277277

278278
# create all the extra PDEs needed to fit the requested size
279279
# this loop starts from the current pde till the last pde that is
280-
# needed the last pde is calcualted as the (start_addr + size) >>
280+
# needed the last pde is calculated as the (start_addr + size) >>
281281
# 22
282282
if overflow_size != 0:
283283
for extra_pdpte in range(pdpte_index,
@@ -488,7 +488,7 @@ def read_mmu_list(mmu_list_data):
488488
other_addr, other_end_addr))
489489
sys.exit(2)
490490

491-
# add the retrived info another list
491+
# add the retrieved info another list
492492
regions.append((addr, size, flags))
493493

494494
return (pd_start_addr, regions)

0 commit comments

Comments
 (0)