summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/exec.h6
-rw-r--r--sys/arch/powerpc/isa/isa_machdep.h4
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c6
-rw-r--r--sys/arch/powerpc/powerpc/trap.c4
-rw-r--r--sys/arch/powerpc/powerpc/vm_machdep.c4
5 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/powerpc/include/exec.h b/sys/arch/powerpc/include/exec.h
index 06d8f5e0dbd..ab9c3a9e75e 100644
--- a/sys/arch/powerpc/include/exec.h
+++ b/sys/arch/powerpc/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.15 2017/02/08 05:09:26 guenther Exp $ */
+/* $OpenBSD: exec.h,v 1.16 2021/03/11 11:16:59 jsg Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB.
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: exec.h,v 1.15 2017/02/08 05:09:26 guenther Exp $
+ * $Id: exec.h,v 1.16 2021/03/11 11:16:59 jsg Exp $
*/
#ifndef _POWERPC_EXEC_H_
@@ -38,7 +38,7 @@
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_PPC
-/* Processor sepcific dynamic tag values. */
+/* Processor specific dynamic tag values. */
#define DT_PPC_GOT 0x70000000
#define DT_PROCNUM (DT_PPC_GOT - DT_LOPROC + 1)
diff --git a/sys/arch/powerpc/isa/isa_machdep.h b/sys/arch/powerpc/isa/isa_machdep.h
index 6ca622e361a..bcf08328174 100644
--- a/sys/arch/powerpc/isa/isa_machdep.h
+++ b/sys/arch/powerpc/isa/isa_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa_machdep.h,v 1.8 2003/10/31 03:55:06 drahn Exp $ */
+/* $OpenBSD: isa_machdep.h,v 1.9 2021/03/11 11:16:59 jsg Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -38,7 +38,7 @@ typedef struct ppc_isa_bus *isa_chipset_tag_t;
/*
* I/O macros to access isa bus ports/memory.
- * At the first glance theese macros may seem inefficient.
+ * At the first glance these macros may seem inefficient.
* However, the cpu executes an instruction every <10 ns
* so the bus is much slower so it doesn't matter, really.
*/
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index 2ed78325827..92bab4e4424 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.173 2021/03/10 07:28:19 deraadt Exp $ */
+/* $OpenBSD: pmap.c,v 1.174 2021/03/11 11:16:59 jsg Exp $ */
/*
* Copyright (c) 2015 Martin Pieuchot
@@ -32,7 +32,7 @@
*/
/*
- * powerpc lazy icache managment.
+ * powerpc lazy icache management.
* The icache does not snoop dcache accesses. The icache also will not load
* modified data from the dcache, but the unmodified data in ram.
* Before the icache is loaded, the dcache must be synced to ram to prevent
@@ -473,7 +473,7 @@ PTED_VALID(struct pte_desc *pted)
* One issue of making this a single data structure is that two pointers are
* wasted for every page which does not map ram (device mappings), this
* should be a low percentage of mapped pages in the system, so should not
- * have too noticable unnecessary ram consumption.
+ * have too noticeable unnecessary ram consumption.
*/
void
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c
index 90dbd85442c..5caf4767910 100644
--- a/sys/arch/powerpc/powerpc/trap.c
+++ b/sys/arch/powerpc/powerpc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.118 2020/10/27 19:18:05 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.119 2021/03/11 11:16:59 jsg Exp $ */
/* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */
/*
@@ -78,7 +78,7 @@ void trap(struct trapframe *frame);
* and the contents of that register are not used to optimize the save.
*
* This can lead to VRSAVE corruption, data passing between processes,
- * because this register is accessable without the MSR[VEC] bit set.
+ * because this register is accessible without the MSR[VEC] bit set.
* To store/restore this cleanly a processor identifier bit would need
* to be saved and this register saved on every context switch.
* Since we do not use the information, we may be able to get by
diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c
index 1f40c917991..3f6d41ae395 100644
--- a/sys/arch/powerpc/powerpc/vm_machdep.c
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.50 2020/09/11 09:27:10 mpi Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.51 2021/03/11 11:16:59 jsg Exp $ */
/* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */
/*
@@ -134,7 +134,7 @@ cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb,
* We release the address space and machine-dependent resources,
* including the memory for the user structure and kernel stack.
*
- * Since we don't have curproc anymore, we cannot sleep, and therefor
+ * Since we don't have curproc anymore, we cannot sleep, and therefore
* this is at least incorrect for the multiprocessor version.
* Not sure whether we can get away with this in the single proc version. XXX
*/