summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-28 22:16:43 +0000
committerandvar <andvar@NetBSD.org>2022-05-28 22:16:43 +0000
commit93e1d83524dad135dfd153e87635ecbe70397ebb (patch)
tree53f58f2c037cefd086b41b58352d261e98c8fd25 /sys/arch
parent051f0471ee6e6db45974cb8415954eb9e52b992e (diff)
fix various typos in comments.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/stand/Makefile.bootprogs4
-rw-r--r--sys/arch/evbmips/stand/sbmips/Makefile.bootprogs4
-rw-r--r--sys/arch/powerpc/include/altivec.h4
-rw-r--r--sys/arch/sbmips/stand/Makefile.bootprogs4
-rw-r--r--sys/arch/sparc64/dev/psmreg.h6
5 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/alpha/stand/Makefile.bootprogs b/sys/arch/alpha/stand/Makefile.bootprogs
index 74e6b5f4846..7c5120343e4 100644
--- a/sys/arch/alpha/stand/Makefile.bootprogs
+++ b/sys/arch/alpha/stand/Makefile.bootprogs
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootprogs,v 1.36 2017/04/08 19:53:19 christos Exp $
+# $NetBSD: Makefile.bootprogs,v 1.37 2022/05/28 22:16:43 andvar Exp $
NOMAN= # defined
@@ -57,7 +57,7 @@ UNIFIED_MAX_TOTAL!= expr ${REGION1_SIZE}
UNIFIED_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE})
# two-stage boot loaders must share region 1. The first stage
-# loads into the lowest portion, and uses the higest portion
+# loads into the lowest portion, and uses the highest portion
# for its heap. The second stage loads in between the primary image
# and the heap, and can reuse the memory after it (i.e. the primary's
# heap) for its own heap.
diff --git a/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs b/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs
index 8ebaadd9189..d11e45dab9b 100644
--- a/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs
+++ b/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootprogs,v 1.5 2021/03/15 18:13:54 christos Exp $
+# $NetBSD: Makefile.bootprogs,v 1.6 2022/05/28 22:16:43 andvar Exp $
NOSSP=yes
NOPIE=yes
@@ -73,7 +73,7 @@ UNIFIED_MAX_TOTAL!= expr ${REGION1_SIZE}
UNIFIED_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE})
# two-stage boot loaders must share region 1. The first stage
-# loads into the lowest portion, and uses the higest portion
+# loads into the lowest portion, and uses the highest portion
# for its heap. The second stage loads in between the primary image
# and the heap, and can reuse the memory after it (i.e. the primary's
# heap) for its own heap.
diff --git a/sys/arch/powerpc/include/altivec.h b/sys/arch/powerpc/include/altivec.h
index cf2c4155118..a200841384d 100644
--- a/sys/arch/powerpc/include/altivec.h
+++ b/sys/arch/powerpc/include/altivec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: altivec.h,v 1.18 2018/04/19 21:50:07 christos Exp $ */
+/* $NetBSD: altivec.h,v 1.19 2022/05/28 22:16:43 andvar Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#ifndef _POWERPC_ALTIVEC_H_
#define _POWERPC_ALTIVEC_H_
-#define VSCR_SA 0x00000001 /* Saturation happended (sticky) */
+#define VSCR_SA 0x00000001 /* Saturation happened (sticky) */
#define VSCR_NJ 0x00010000 /* Non Java-IEEE-C9X FP mode */
#ifdef _KERNEL
diff --git a/sys/arch/sbmips/stand/Makefile.bootprogs b/sys/arch/sbmips/stand/Makefile.bootprogs
index c9bc20255d7..8ab2f2f79ab 100644
--- a/sys/arch/sbmips/stand/Makefile.bootprogs
+++ b/sys/arch/sbmips/stand/Makefile.bootprogs
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootprogs,v 1.14 2017/04/08 19:53:22 christos Exp $
+# $NetBSD: Makefile.bootprogs,v 1.15 2022/05/28 22:16:43 andvar Exp $
.include <bsd.own.mk>
.include <bsd.klinks.mk>
@@ -60,7 +60,7 @@ UNIFIED_MAX_TOTAL!= expr ${REGION1_SIZE}
UNIFIED_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE})
# two-stage boot loaders must share region 1. The first stage
-# loads into the lowest portion, and uses the higest portion
+# loads into the lowest portion, and uses the highest portion
# for its heap. The second stage loads in between the primary image
# and the heap, and can reuse the memory after it (i.e. the primary's
# heap) for its own heap.
diff --git a/sys/arch/sparc64/dev/psmreg.h b/sys/arch/sparc64/dev/psmreg.h
index 24dd135ca8d..f6906deda7c 100644
--- a/sys/arch/sparc64/dev/psmreg.h
+++ b/sys/arch/sparc64/dev/psmreg.h
@@ -84,7 +84,7 @@
((m & 0x07) << 5)
#define PSM_MODE_SYSCFG 0x00 /* System configuration mode */
-#define PSM_MODE_BQRW 0x01 /* Read write battery fuel guage */
+#define PSM_MODE_BQRW 0x01 /* Read write battery fuel gauge */
#define PSM_MODE_BCB 0x02 /* Battery status block control */
#define PSM_MODE_PMPS 0x03 /* Power management policies/status */
#define PSM_MODE_MISC 0x04 /* Misc. control / status registers */
@@ -129,7 +129,7 @@
((lo & 0x01) << 6) | \
((e & 0x01) << 7)
-/* Mode 1 - Battery fuel guage read / write */
+/* Mode 1 - Battery fuel gauge read / write */
#define PSM_BQRW_CACHED 0x80
#define PSM_BQRW_REGMASK 0x1f
@@ -144,7 +144,7 @@
#define PSM_BCB_CR 0x01 /* Calibration required */
#define PSM_BCB_BCF 0x02 /* Battery control block failure */
-#define PSM_BCB_FGF 0x04 /* Fuel guage failure */
+#define PSM_BCB_FGF 0x04 /* Fuel gauge failure */
#define PSM_BCB_FULL 0x08 /* Battery is full */
#define PSM_BCB_CHG 0x10 /* Battery pack charging */
#define PSM_BCB_USE 0x20 /* Battery pack in use */