summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2016-06-10 18:36:07 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2016-06-10 18:36:07 +0000
commit3cc69530479c2c8407c7d2df6abfb2c856407cf8 (patch)
treecfa4bd69d213debac8f8ae86059f4185f3e8f6bf
parent77ba2bb65b480abdb3e5ca5599870f6bef8404e8 (diff)
fix some typos in comments
from Tom Cosgrove
-rw-r--r--sys/arch/amd64/stand/efiboot/efiboot.c6
-rw-r--r--sys/arch/amd64/stand/libsa/cmd_i386.c4
-rw-r--r--sys/arch/amd64/stand/libsa/memprobe.c6
-rw-r--r--sys/arch/amd64/stand/libsa/pxe.h4
-rw-r--r--sys/arch/i386/stand/libsa/apmprobe.c4
-rw-r--r--sys/arch/i386/stand/libsa/cmd_i386.c4
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c6
-rw-r--r--sys/arch/i386/stand/libsa/pxe.h4
8 files changed, 19 insertions, 19 deletions
diff --git a/sys/arch/amd64/stand/efiboot/efiboot.c b/sys/arch/amd64/stand/efiboot/efiboot.c
index 8114d6fef6f..7833a8a25c6 100644
--- a/sys/arch/amd64/stand/efiboot/efiboot.c
+++ b/sys/arch/amd64/stand/efiboot/efiboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: efiboot.c,v 1.12 2016/05/15 22:48:02 kettenis Exp $ */
+/* $OpenBSD: efiboot.c,v 1.13 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -466,7 +466,7 @@ efi_cons_getshifts(dev_t dev)
return (0);
}
-/* XXX: serial console is not supporte yet */
+/* XXX: serial console is not supported yet */
int comspeed = 9600;
int com_addr = -1;
int com_speed = -1;
@@ -477,7 +477,7 @@ int com_speed = -1;
/*
* ACPI GUID is confusing in UEFI spec.
* {EFI_,}_ACPI_20_TABLE_GUID or EFI_ACPI_TABLE_GUID means
- * ACPI 2.0 or abobe.
+ * ACPI 2.0 or above.
*/
static EFI_GUID acpi_guid = ACPI_20_TABLE_GUID;
static EFI_GUID smbios_guid = SMBIOS_TABLE_GUID;
diff --git a/sys/arch/amd64/stand/libsa/cmd_i386.c b/sys/arch/amd64/stand/libsa/cmd_i386.c
index 10258721b94..9c3eac0b881 100644
--- a/sys/arch/amd64/stand/libsa/cmd_i386.c
+++ b/sys/arch/amd64/stand/libsa/cmd_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd_i386.c,v 1.9 2015/11/08 00:42:39 yasuoka Exp $ */
+/* $OpenBSD: cmd_i386.c,v 1.10 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -183,7 +183,7 @@ Xmemory(void)
p++;
}
- /* Handle (possibly non-existant) address part */
+ /* Handle (possibly non-existent) address part */
switch (*p) {
case '@':
addr = strtoll(p + 1, NULL, 0);
diff --git a/sys/arch/amd64/stand/libsa/memprobe.c b/sys/arch/amd64/stand/libsa/memprobe.c
index aa65e2acb8c..302eea718b0 100644
--- a/sys/arch/amd64/stand/libsa/memprobe.c
+++ b/sys/arch/amd64/stand/libsa/memprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memprobe.c,v 1.16 2015/10/08 14:46:05 tedu Exp $ */
+/* $OpenBSD: memprobe.c,v 1.17 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -281,7 +281,7 @@ memprobe(void)
* Compute compatibility values:
* cnvmem -- is the upper boundary of conventional
* memory (below IOM_BEGIN (=640k))
- * extmem -- is the size of the contignous extended
+ * extmem -- is the size of the contiguous extended
* memory segment starting at 1M
*
* We ignore "good" memory in the 640K-1M hole.
@@ -346,7 +346,7 @@ mem_limit(long long ml)
if (p->type != BIOS_MAP_FREE)
continue;
- /* Wholy above limit, nuke it */
+ /* Wholly above limit, nuke it */
if ((sp >= ml) && (ep >= ml)) {
bcopy (p + 1, p, (char *)bios_memmap +
sizeof(bios_memmap) - (char *)p);
diff --git a/sys/arch/amd64/stand/libsa/pxe.h b/sys/arch/amd64/stand/libsa/pxe.h
index 6d15f2a9a05..7080d627f7b 100644
--- a/sys/arch/amd64/stand/libsa/pxe.h
+++ b/sys/arch/amd64/stand/libsa/pxe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxe.h,v 1.6 2011/03/02 07:15:45 jasper Exp $ */
+/* $OpenBSD: pxe.h,v 1.7 2016/06/10 18:36:06 jcs Exp $ */
/* $NetBSD: pxe.h,v 1.1 2002/02/16 03:37:40 thorpej Exp $ */
/*
@@ -346,7 +346,7 @@ typedef struct {
# define PXENV_UNDI_ISR_OUT_NOT_OUTS 1
/*
- * one of these will bre returnd for PXEND_UNDI_ISR_IN_PROCESS
+ * one of these will be returned for PXEND_UNDI_ISR_IN_PROCESS
* and PXENV_UNDI_ISR_IN_GET_NEXT
*/
# define PXENV_UNDI_ISR_OUT_DONE 0
diff --git a/sys/arch/i386/stand/libsa/apmprobe.c b/sys/arch/i386/stand/libsa/apmprobe.c
index b27fe948679..7fada0e72c7 100644
--- a/sys/arch/i386/stand/libsa/apmprobe.c
+++ b/sys/arch/i386/stand/libsa/apmprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmprobe.c,v 1.18 2014/07/08 13:31:30 deraadt Exp $ */
+/* $OpenBSD: apmprobe.c,v 1.19 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 1997-2000 Michael Shalayeff
@@ -27,7 +27,7 @@
*/
/*
* APM derived from: apm_init.S, LP (Laptop Package)
- * wich contained this:
+ * which contained this:
* Copyright (C) 1994 by HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp>
*
*/
diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c
index 1a1670eeb78..0a034f820cc 100644
--- a/sys/arch/i386/stand/libsa/cmd_i386.c
+++ b/sys/arch/i386/stand/libsa/cmd_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd_i386.c,v 1.35 2015/09/18 13:30:56 miod Exp $ */
+/* $OpenBSD: cmd_i386.c,v 1.36 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -179,7 +179,7 @@ Xmemory(void)
p++;
}
- /* Handle (possibly non-existant) address part */
+ /* Handle (possibly non-existent) address part */
switch (*p) {
case '@':
addr = strtoll(p + 1, NULL, 0);
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index c06e7961204..07743d16eeb 100644
--- a/sys/arch/i386/stand/libsa/memprobe.c
+++ b/sys/arch/i386/stand/libsa/memprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memprobe.c,v 1.56 2015/10/08 14:46:05 tedu Exp $ */
+/* $OpenBSD: memprobe.c,v 1.57 2016/06/10 18:36:06 jcs Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -286,7 +286,7 @@ memprobe(void)
* Compute compatibility values:
* cnvmem -- is the upper boundary of conventional
* memory (below IOM_BEGIN (=640k))
- * extmem -- is the size of the contignous extended
+ * extmem -- is the size of the contiguous extended
* memory segment starting at 1M
*
* We ignore "good" memory in the 640K-1M hole.
@@ -338,7 +338,7 @@ mem_limit(long long ml)
if (p->type != BIOS_MAP_FREE)
continue;
- /* Wholy above limit, nuke it */
+ /* Wholly above limit, nuke it */
if ((sp >= ml) && (ep >= ml)) {
bcopy (p + 1, p, (char *)bios_memmap +
sizeof(bios_memmap) - (char *)p);
diff --git a/sys/arch/i386/stand/libsa/pxe.h b/sys/arch/i386/stand/libsa/pxe.h
index 6d15f2a9a05..7080d627f7b 100644
--- a/sys/arch/i386/stand/libsa/pxe.h
+++ b/sys/arch/i386/stand/libsa/pxe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxe.h,v 1.6 2011/03/02 07:15:45 jasper Exp $ */
+/* $OpenBSD: pxe.h,v 1.7 2016/06/10 18:36:06 jcs Exp $ */
/* $NetBSD: pxe.h,v 1.1 2002/02/16 03:37:40 thorpej Exp $ */
/*
@@ -346,7 +346,7 @@ typedef struct {
# define PXENV_UNDI_ISR_OUT_NOT_OUTS 1
/*
- * one of these will bre returnd for PXEND_UNDI_ISR_IN_PROCESS
+ * one of these will be returned for PXEND_UNDI_ISR_IN_PROCESS
* and PXENV_UNDI_ISR_IN_GET_NEXT
*/
# define PXENV_UNDI_ISR_OUT_DONE 0