summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-11 11:17:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-11 11:17:01 +0000
commit1cfad7d108ee7092af52ec7682972c5630373ea5 (patch)
treeb38923ca7998705b936c4df5ea682d5080b443fc /sys/arch/hppa
parent0ce400bf88ebeed805f0bdba0a25f6849d6828e6 (diff)
spelling
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/dev/viper.h6
-rw-r--r--sys/arch/hppa/hppa/intr.c4
-rw-r--r--sys/arch/hppa/hppa/machdep.c4
-rw-r--r--sys/arch/hppa/hppa/mainbus.c4
-rw-r--r--sys/arch/hppa/hppa/trap.c4
-rw-r--r--sys/arch/hppa/include/autoconf.h4
-rw-r--r--sys/arch/hppa/include/pdc.h6
-rw-r--r--sys/arch/hppa/include/psl.h6
-rw-r--r--sys/arch/hppa/spmath/dbl_float.h4
-rw-r--r--sys/arch/hppa/spmath/quad_float.h4
-rw-r--r--sys/arch/hppa/spmath/sgl_float.h4
11 files changed, 25 insertions, 25 deletions
diff --git a/sys/arch/hppa/dev/viper.h b/sys/arch/hppa/dev/viper.h
index 99fb65c8a99..17c28fa2ebc 100644
--- a/sys/arch/hppa/dev/viper.h
+++ b/sys/arch/hppa/dev/viper.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: viper.h,v 1.6 2007/04/10 17:47:54 miod Exp $ */
+/* $OpenBSD: viper.h,v 1.7 2021/03/11 11:16:56 jsg Exp $ */
/*
* Copyright (c) 1991,1994 The University of Utah and
@@ -118,7 +118,7 @@ struct vi_trs {
** Viper also creates HPA registers for the graphics accelerator (Venom).
** Venom has two sets of resisters; the User HPA contains registers that
** users are allowed to access, while the Supervisor HPA is only accessible
-** by code running at the most priviliged level. Both sets of registers
+** by code running at the most privileged level. Both sets of registers
** are defined below.
*/
@@ -129,7 +129,7 @@ struct vi_trs {
* Define bits in the Venom "User Control" register.
*/
struct vnu_ctl {
- u_int sdt_msk :16, /* screen door transparancy mask */
+ u_int sdt_msk :16, /* screen door transparency mask */
: 6,
d_z_intp: 1, /* disable Z Interpolation when set */
d_c_intp: 1, /* disable Color Interpolation when set */
diff --git a/sys/arch/hppa/hppa/intr.c b/sys/arch/hppa/hppa/intr.c
index 440072600a9..7660b3e0493 100644
--- a/sys/arch/hppa/hppa/intr.c
+++ b/sys/arch/hppa/hppa/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.50 2018/05/14 13:54:39 kettenis Exp $ */
+/* $OpenBSD: intr.c,v 1.51 2021/03/11 11:16:56 jsg Exp $ */
/*
* Copyright (c) 2002-2004 Michael Shalayeff
@@ -120,7 +120,7 @@ cpu_intr_init(void)
for (level = 0; level < NIPL - 1; level++)
imask[level + 1] |= imask[level];
- /* XXX the whacky trick is to prevent hardclock from happenning */
+ /* XXX the whacky trick is to prevent hardclock from happening */
mfctl(CR_ITMR, mask);
mtctl(mask - 1, CR_ITMR);
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 6ead622364f..fa373acfc3e 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.263 2021/01/09 18:03:19 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.264 2021/03/11 11:16:56 jsg Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -944,7 +944,7 @@ doreset:
/* ask firmware to reset */
pdc_call((iodcio_t)pdc, 0, PDC_BROADCAST_RESET, PDC_DO_RESET);
- /* forcably reset module if that fails */
+ /* forcibly reset module if that fails */
__asm volatile(".export hppa_reset, entry\n\t"
".label hppa_reset");
__asm volatile("stwas %0, 0(%1)"
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c
index 697297f57e5..f3019e4e430 100644
--- a/sys/arch/hppa/hppa/mainbus.c
+++ b/sys/arch/hppa/hppa/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.88 2018/05/14 13:54:39 kettenis Exp $ */
+/* $OpenBSD: mainbus.c,v 1.89 2021/03/11 11:16:56 jsg Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -178,7 +178,7 @@ mbus_add_mapping(bus_addr_t bpa, bus_size_t size, int flags,
#ifdef DEBUG
if (flags & BUS_SPACE_MAP_CACHEABLE) {
- printf("WARNING: mapping I/O space cachable\n");
+ printf("WARNING: mapping I/O space cacheable\n");
flags &= ~BUS_SPACE_MAP_CACHEABLE;
}
#endif
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c
index dcd2ba21e3c..830a23e0462 100644
--- a/sys/arch/hppa/hppa/trap.c
+++ b/sys/arch/hppa/hppa/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.152 2020/10/22 13:41:51 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.153 2021/03/11 11:16:56 jsg Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -695,7 +695,7 @@ ss_put_value(struct proc *p, vaddr_t addr, u_int value)
void
ss_clear_breakpoints(struct proc *p)
{
- /* Restore origional instructions. */
+ /* Restore original instructions. */
if (p->p_md.md_bpva != 0) {
ss_put_value(p, p->p_md.md_bpva, p->p_md.md_bpsave[0]);
ss_put_value(p, p->p_md.md_bpva + 4, p->p_md.md_bpsave[1]);
diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h
index 37d8c28a1ce..ec039843951 100644
--- a/sys/arch/hppa/include/autoconf.h
+++ b/sys/arch/hppa/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.23 2010/04/29 13:48:29 jsing Exp $ */
+/* $OpenBSD: autoconf.h,v 1.24 2021/03/11 11:16:57 jsg Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -38,7 +38,7 @@ struct confargs {
u_int ca_hpasz; /* module HPA size (if avail) */
hppa_hpa_t ca_hpamask; /* mask for modules on the bus */
int ca_irq; /* module IRQ */
- struct iodc_data ca_type; /* iodc-specific type descrition */
+ struct iodc_data ca_type; /* iodc-specific type description */
struct pdc_iodc_read *ca_pdc_iodc_read;
int ca_naddrs; /* number of valid addr ents */
struct {
diff --git a/sys/arch/hppa/include/pdc.h b/sys/arch/hppa/include/pdc.h
index 7c878b79325..da12960506d 100644
--- a/sys/arch/hppa/include/pdc.h
+++ b/sys/arch/hppa/include/pdc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.h,v 1.36 2013/03/23 16:12:22 deraadt Exp $ */
+/* $OpenBSD: pdc.h,v 1.37 2021/03/11 11:16:57 jsg Exp $ */
/*
* Copyright (c) 1990 mt Xinu, Inc. All rights reserved.
@@ -124,7 +124,7 @@
#define PDC_MODEL_ENSPEC 4 /* enable product-specific instrs */
#define PDC_MODEL_DISPEC 5 /* disable product-specific instrs */
#define PDC_MODEL_CPUID 6 /* return CPU versions */
-#define PDC_MODEL_CPBALITIES 7 /* return capabilites */
+#define PDC_MODEL_CPBALITIES 7 /* return capabilities */
#define PDC_MODEL_GETBOOTOPTS 8 /* return boot test options */
#define PDC_MODEL_SETBOOTOPTS 9 /* set boot test options */
@@ -208,7 +208,7 @@
#define PDC_CONF 17 /* (de)configure a module */
#define PDC_CONF_DECONF 0 /* deconfigure module */
#define PDC_CONF_RECONF 1 /* reconfigure module */
-#define PDC_CONF_INFO 2 /* get config informaion */
+#define PDC_CONF_INFO 2 /* get config information */
#define PDC_BLOCK_TLB 18 /* Manage Block TLB entries (BTLB) */
#define PDC_BTLB_DEFAULT 0 /* Return BTLB configuration info */
diff --git a/sys/arch/hppa/include/psl.h b/sys/arch/hppa/include/psl.h
index ca23549aea1..e58327b0257 100644
--- a/sys/arch/hppa/include/psl.h
+++ b/sys/arch/hppa/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.10 2004/09/14 22:41:20 mickey Exp $ */
+/* $OpenBSD: psl.h,v 1.11 2021/03/11 11:16:57 jsg Exp $ */
/*
* Copyright (c) 1999-2004 Michael Shalayeff
@@ -30,7 +30,7 @@
#define _MACHINE_PSL_H_
/*
- * Rference:
+ * Reference:
* 1. PA-RISC 1.1 Architecture and Instruction Set Manual
* Hewlett Packard, 3rd Edition, February 1994; Part Number 09740-90039
*/
@@ -88,7 +88,7 @@
#define PSL_CB (1 << (31-PSL_CB_POS)) /* Carry/Borrow Bits */
#define PSL_O (1 << (31-PSL_O_POS)) /* Force strong ordering (2.0) */
#define PSL_G (1 << (31-PSL_G_POS)) /* Debug Trap Enable */
-#define PSL_F (1 << (31-PSL_F_POS)) /* Perfomance Monitor Interrupt Unmask */
+#define PSL_F (1 << (31-PSL_F_POS)) /* Performance Monitor Interrupt Unmask */
#define PSL_R (1 << (31-PSL_R_POS)) /* Recover Counter Enable */
#define PSL_Q (1 << (31-PSL_Q_POS)) /* Interrupt State Collection Enable */
#define PSL_P (1 << (31-PSL_P_POS)) /* Protection Identifier Validation Enable */
diff --git a/sys/arch/hppa/spmath/dbl_float.h b/sys/arch/hppa/spmath/dbl_float.h
index 2e62248f03f..369f0c882ce 100644
--- a/sys/arch/hppa/spmath/dbl_float.h
+++ b/sys/arch/hppa/spmath/dbl_float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dbl_float.h,v 1.12 2013/11/26 20:33:12 deraadt Exp $ */
+/* $OpenBSD: dbl_float.h,v 1.13 2021/03/11 11:16:57 jsg Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -18,7 +18,7 @@
* Declare double precision functions *
**************************************/
-/* 32-bit word grabing functions */
+/* 32-bit word grabbing functions */
#define Dbl_firstword(value) Dallp1(value)
#define Dbl_secondword(value) Dallp2(value)
#define Dbl_thirdword(value) dummy_location
diff --git a/sys/arch/hppa/spmath/quad_float.h b/sys/arch/hppa/spmath/quad_float.h
index ef45af874c5..a0f84040ca0 100644
--- a/sys/arch/hppa/spmath/quad_float.h
+++ b/sys/arch/hppa/spmath/quad_float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: quad_float.h,v 1.8 2003/04/10 17:27:58 mickey Exp $ */
+/* $OpenBSD: quad_float.h,v 1.9 2021/03/11 11:16:57 jsg Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -18,7 +18,7 @@
* Quad precision functions *
******************************/
-/* 32-bit word grabing functions */
+/* 32-bit word grabbing functions */
#define Quad_firstword(value) Qallp1(value)
#define Quad_secondword(value) Qallp2(value)
#define Quad_thirdword(value) Qallp3(value)
diff --git a/sys/arch/hppa/spmath/sgl_float.h b/sys/arch/hppa/spmath/sgl_float.h
index 7f42e05f5db..d4d34405b41 100644
--- a/sys/arch/hppa/spmath/sgl_float.h
+++ b/sys/arch/hppa/spmath/sgl_float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgl_float.h,v 1.12 2013/11/26 20:33:12 deraadt Exp $ */
+/* $OpenBSD: sgl_float.h,v 1.13 2021/03/11 11:16:57 jsg Exp $ */
/*
(c) Copyright 1986 HEWLETT-PACKARD COMPANY
To anyone who acknowledges that this file is provided "AS IS"
@@ -20,7 +20,7 @@
* Single precision functions *
******************************/
-/* 32-bit word grabing functions */
+/* 32-bit word grabbing functions */
#define Sgl_firstword(value) Sall(value)
#define Sgl_secondword(value) dummy_location
#define Sgl_thirdword(value) dummy_location