diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-10-02 08:46:40 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-10-09 13:34:28 -0400 |
commit | 6bcacf7d19b1dc7fcd99f55491e93514f1f19279 (patch) | |
tree | 6e7a14b3da4433ea6b1bada424f86938b6a928d0 /src | |
parent | 62de31b4feb5eacc4139f4d9fc28ae102921b4c7 (diff) | |
download | seabios-hppa-6bcacf7d19b1dc7fcd99f55491e93514f1f19279.zip seabios-hppa-6bcacf7d19b1dc7fcd99f55491e93514f1f19279.tar.gz seabios-hppa-6bcacf7d19b1dc7fcd99f55491e93514f1f19279.tar.bz2 |
Fix typos found by codespell
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 2 | ||||
-rw-r--r-- | src/biosvar.h | 2 | ||||
-rw-r--r-- | src/bmp.c | 2 | ||||
-rw-r--r-- | src/fw/shadow.c | 2 | ||||
-rw-r--r-- | src/misc.c | 2 | ||||
-rw-r--r-- | src/sha1.c | 4 | ||||
-rw-r--r-- | src/std/bda.h | 2 | ||||
-rw-r--r-- | src/string.c | 2 | ||||
-rw-r--r-- | src/types.h | 2 | ||||
-rw-r--r-- | src/vgahooks.c | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/src/Kconfig b/src/Kconfig index b873cd3..95bf087 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -20,7 +20,7 @@ choice Configure for an emulated machine (QEMU, Xen, KVM, or Bochs). config CSM - bool "Build as Compatibilty Support Module for EFI BIOS" + bool "Build as Compatibility Support Module for EFI BIOS" help Configure to be used by EFI firmware as Compatibility Support module (CSM) to provide legacy BIOS services. diff --git a/src/biosvar.h b/src/biosvar.h index 58bcbce..3b40957 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -12,7 +12,7 @@ /**************************************************************** - * Interupt vector table + * Interrupt vector table ****************************************************************/ #define GET_IVT(vector) \ @@ -1,6 +1,6 @@ /* * Basic BMP data process and Raw picture data handle functions. -* Could be used to adjust pixel data format, get infomation, etc. +* Could be used to adjust pixel data format, get information, etc. * * Copyright (C) 2011 Wayne Xia <xiawenc@cn.ibm.com> * diff --git a/src/fw/shadow.c b/src/fw/shadow.c index 4f00006..936ae28 100644 --- a/src/fw/shadow.c +++ b/src/fw/shadow.c @@ -65,7 +65,7 @@ make_bios_writable_intel(u16 bdf, u32 pam0) if (!(reg & 0x10)) { // QEMU doesn't fully implement the piix shadow capabilities - // if ram isn't backing the bios segment when shadowing is - // disabled, the code itself wont be in memory. So, run the + // disabled, the code itself won't be in memory. So, run the // code from the high-memory flash location. u32 pos = (u32)__make_bios_writable_intel + BIOS_SRC_OFFSET; void (*func)(u16 bdf, u32 pam0) = (void*)pos; @@ -56,7 +56,7 @@ void VISIBLE16 handle_10(struct bregs *regs) { debug_enter(regs, DEBUG_HDL_10); - // dont do anything, since the VGA BIOS handles int10h requests + // don't do anything, since the VGA BIOS handles int10h requests } // NMI handler @@ -33,7 +33,7 @@ sha1_block(u32 *w, sha1_ctx *ctx) static const u32 sha_ko[4] = { 0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6 }; - /* change endianess of given data */ + /* change endianness of given data */ for (i = 0; i < 16; i++) w[i] = be32_to_cpu(w[i]); @@ -120,7 +120,7 @@ sha1_do(sha1_ctx *ctx, const u8 *data32, u32 length) sha1_block(w, ctx); - /* need to switch result's endianess */ + /* need to switch result's endianness */ for (num = 0; num < 5; num++) ctx->h[num] = cpu_to_be32(ctx->h[num]); } diff --git a/src/std/bda.h b/src/std/bda.h index c321266..4ad6605 100644 --- a/src/std/bda.h +++ b/src/std/bda.h @@ -7,7 +7,7 @@ /**************************************************************** - * Interupt vector table + * Interrupt vector table ****************************************************************/ struct rmode_IVT { diff --git a/src/string.c b/src/string.c index 2e4e437..adb8198 100644 --- a/src/string.c +++ b/src/string.c @@ -227,7 +227,7 @@ strtcpy(char *dest, const char *src, size_t len) return dest; } -// locate first occurance of character c in the string s +// locate first occurrence of character c in the string s char * strchr(const char *s, int c) { diff --git a/src/types.h b/src/types.h index 097372c..19d9f6c 100644 --- a/src/types.h +++ b/src/types.h @@ -70,7 +70,7 @@ extern void __force_link_error__only_in_16bit(void) __noreturn; # define VARFSEG __section(".discard.varfseg." UNIQSEC) __VISIBLE __weak // Designate a variable at a specific address in the f-segment. # define VARFSEGFIXED(addr) __section(".discard.varfixed." UNIQSEC) __VISIBLE __weak -// Verify a variable is only accessable via 32bit "init" functions +// Verify a variable is only accessible via 32bit "init" functions # define VARVERIFY32INIT __section(".discard.varinit." UNIQSEC) // Designate top-level assembler as 16bit only. # define ASM16(code) __ASM(code) diff --git a/src/vgahooks.c b/src/vgahooks.c index 6a4acfe..48efb08 100644 --- a/src/vgahooks.c +++ b/src/vgahooks.c @@ -124,7 +124,7 @@ getAMDRamSpeed(void) /* int 0x15 - 5f18 - ECX = unknown/dont care + ECX = unknown/don't care EBX[3..0] Frame Buffer Size 2^N MiB EBX[7..4] Memory speed: 0: SDR 66Mhz |