diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/arm/armv7/thread.c | 2 | ||||
-rw-r--r-- | src/arch/arm64/include/armv8/arch/exception.h | 2 | ||||
-rw-r--r-- | src/arch/x86/Makefile.inc | 2 | ||||
-rw-r--r-- | src/arch/x86/thread.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/arm/armv7/thread.c b/src/arch/arm/armv7/thread.c index 751745b0c1..9c1c1bbdf1 100644 --- a/src/arch/arm/armv7/thread.c +++ b/src/arch/arm/armv7/thread.c @@ -70,7 +70,7 @@ void arch_prepare_thread(struct thread *t, void __attribute__((naked)) switch_to_thread(uintptr_t new_stack, uintptr_t *saved_stack) { - /* Defintions for those of us not totally familiar with ARM: + /* Definitions for those of us not totally familiar with ARM: * R15 -- PC, R14 -- LR, R13 -- SP * R0-R3 need not be saved, nor R12. * on entry, the only saved state is in LR -- the old PC. diff --git a/src/arch/arm64/include/armv8/arch/exception.h b/src/arch/arm64/include/armv8/arch/exception.h index 0ec0eea953..f897fefe18 100644 --- a/src/arch/arm64/include/armv8/arch/exception.h +++ b/src/arch/arm64/include/armv8/arch/exception.h @@ -57,7 +57,7 @@ struct exception_handler { /* * Register a handler provided with the associated vector id. Returns 0 on - * sucess, < 0 on error. Note that registration is not thread/interrupt safe. + * success, < 0 on error. Note that registration is not thread/interrupt safe. */ int exception_handler_register(uint64_t vid, struct exception_handler *h); diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index d8430c501e..1d9ee4d5ef 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -374,7 +374,7 @@ ramstage-libs ?= ifeq ($(CONFIG_RELOCATABLE_RAMSTAGE),y) -# The rmodule_link defintion creates an elf file with .rmod extension. +# The rmodule_link definition creates an elf file with .rmod extension. $(objcbfs)/ramstage.elf: $(objcbfs)/ramstage.debug.rmod cp $< $@ diff --git a/src/arch/x86/thread.c b/src/arch/x86/thread.c index 0a11141d33..b1cd99fe99 100644 --- a/src/arch/x86/thread.c +++ b/src/arch/x86/thread.c @@ -47,7 +47,7 @@ void arch_prepare_thread(struct thread *t, stack = push_stack(stack, (uintptr_t)arg); stack = push_stack(stack, (uintptr_t)0); stack = push_stack(stack, (uintptr_t)thread_entry); - /* Make room for the registers. Ignore intial values. */ + /* Make room for the registers. Ignore initial values. */ stack -= sizeof(struct pushad_regs); t->stack_current = stack; |