From 2f79eb3fd567b7578378c4acbecaf2502d1982f4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 7 Aug 2018 12:24:42 +0200 Subject: src/arch: Fix typo Change-Id: I24d219b4ce6033f64886e22973ca8716113d319f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27919 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/arch/arm/armv7/thread.c | 2 +- src/arch/arm64/include/armv8/arch/exception.h | 2 +- src/arch/x86/Makefile.inc | 2 +- src/arch/x86/thread.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch') 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; -- cgit v1.2.3