summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/mips64/include/exception.h6
-rw-r--r--sys/arch/mips64/mips64/cache_r5k.S6
-rw-r--r--sys/arch/mips64/mips64/pmap.c4
-rw-r--r--sys/arch/mips64/mips64/trap.c6
-rw-r--r--sys/arch/sgi/include/pte.h4
5 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/mips64/include/exception.h b/sys/arch/mips64/include/exception.h
index a4bf0439683..f0e9866aaeb 100644
--- a/sys/arch/mips64/include/exception.h
+++ b/sys/arch/mips64/include/exception.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exception.h,v 1.3 2004/08/10 20:28:13 deraadt Exp $ */
+/* $OpenBSD: exception.h,v 1.4 2004/09/16 07:25:24 miod Exp $ */
/*
* Copyright (c) 1998-2003 Opsycon AB (www.opsycon.se)
@@ -51,10 +51,10 @@
#define EX_CPU 11 /* Coprocessor unusable exception */
#define EX_OV 12 /* Arithmetic overflow exception */
#define EX_TR 13 /* Trap exception */
-#define EX_VCEI 14 /* Viritual coherency exception instruction */
+#define EX_VCEI 14 /* Virtual coherency exception instruction */
#define EX_FPE 15 /* Floating point exception */
#define EX_WATCH 23 /* Reference to watch/hi/watch/lo address */
-#define EX_VCED 31 /* Viritual coherency exception data */
+#define EX_VCED 31 /* Virtual coherency exception data */
#define EX_U 32 /* Exception from user mode (SW flag) */
diff --git a/sys/arch/mips64/mips64/cache_r5k.S b/sys/arch/mips64/mips64/cache_r5k.S
index e84a1890b94..03f1fcb93c9 100644
--- a/sys/arch/mips64/mips64/cache_r5k.S
+++ b/sys/arch/mips64/mips64/cache_r5k.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cache_r5k.S,v 1.7 2004/09/10 09:32:13 pefo Exp $ */
+/* $OpenBSD: cache_r5k.S,v 1.8 2004/09/16 07:25:26 miod Exp $ */
/*
* Copyright (c) 1998-2004 Opsycon AB (www.opsycon.se)
@@ -661,7 +661,7 @@ END(Mips5k_SyncDCachePage)
* vaddr_t addr, len;
*
* Sync data cache for range of addr to addr + len - 1.
- * The address can be any valid viritual address as long
+ * The address can be any valid virtual address as long
* as no TLB invalid traps occur. Only lines with matching
* addr are flushed.
*
@@ -719,7 +719,7 @@ END(Mips5k_HitSyncDCache)
* vaddr_t addr, len;
*
* Sync secondary cache for range of addr to addr + len - 1.
- * The address can be any valid viritual address as long
+ * The address can be any valid virtual address as long
* as no TLB invalid traps occur. Only lines with matching
* addr are flushed.
*
diff --git a/sys/arch/mips64/mips64/pmap.c b/sys/arch/mips64/mips64/pmap.c
index 570bf5fd668..dd8eed7b405 100644
--- a/sys/arch/mips64/mips64/pmap.c
+++ b/sys/arch/mips64/mips64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.7 2004/09/09 22:11:38 pefo Exp $ */
+/* $OpenBSD: pmap.c,v 1.8 2004/09/16 07:25:26 miod Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -1331,7 +1331,7 @@ pmap_zero_page(struct vm_page *pg)
* pmap_copy_page copies the specified (machine independent) page.
*
* We do the copy phys to phys and need to check if there may be
- * a viritual coherence problem. If so flush the cache for the
+ * a virtual coherence problem. If so flush the cache for the
* areas before copying, and flush afterwards.
*/
void
diff --git a/sys/arch/mips64/mips64/trap.c b/sys/arch/mips64/mips64/trap.c
index 26e72a34052..3e07b068cea 100644
--- a/sys/arch/mips64/mips64/trap.c
+++ b/sys/arch/mips64/mips64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.5 2004/09/09 22:11:38 pefo Exp $ */
+/* $OpenBSD: trap.c,v 1.6 2004/09/16 07:25:26 miod Exp $ */
/* tracked to 1.23 */
/*
@@ -107,7 +107,7 @@ char *trap_type[] = {
"coprocessor unusable",
"arithmetic overflow",
"trap",
- "viritual coherency instruction",
+ "virtual coherency instruction",
"floating point",
"reserved 16",
"reserved 17",
@@ -124,7 +124,7 @@ char *trap_type[] = {
"reserved 28",
"reserved 29",
"reserved 30",
- "viritual coherency data",
+ "virtual coherency data",
};
#if defined(DDB) || defined(DEBUG)
diff --git a/sys/arch/sgi/include/pte.h b/sys/arch/sgi/include/pte.h
index e93b8b2ef4c..50740ce3670 100644
--- a/sys/arch/sgi/include/pte.h
+++ b/sys/arch/sgi/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.2 2004/08/10 19:16:18 deraadt Exp $ */
+/* $OpenBSD: pte.h,v 1.3 2004/09/16 07:25:26 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -91,7 +91,7 @@ typedef union pt_entry {
#define vad_to_pfn64(x) (((quad_t)(x) >> PG_SHIFT) & PG_FRAME)
#define vad_to_vpn(x) ((int)((unsigned)(x) & PG_SVPN))
#define vpn_to_vad(x) ((int)((x) & PG_SVPN))
-/* User viritual to pte page entry */
+/* User virtual to pte page entry */
#define uvtopte(adr) (((adr) >> PGSHIFT) & (NPTEPG -1))
#define PG_SIZE_4K 0x00000000