diff --git a/sys/mips/include/pte.h b/sys/mips/include/pte.h index 809a71f9045..aa7e839c439 100644 --- a/sys/mips/include/pte.h +++ b/sys/mips/include/pte.h @@ -121,7 +121,7 @@ typedef pt_entry_t *pd_entry_t; #define vad_to_pfn64(x) ((quad_t)(x) >> PTE_SHIFT) & PTE_FRAME) #define pfn_to_vad(x) (((x) & PTE_FRAME) << PTE_SHIFT) -/* User viritual to pte offset in page table */ +/* User virtual to pte offset in page table */ #define vad_to_pte_offset(adr) (((adr) >> PGSHIFT) & (NPTEPG -1)) #define mips_pg_v(entry) ((entry) & PTE_V) diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c index 015a28a3a07..8c32b593c91 100644 --- a/sys/mips/mips/trap.c +++ b/sys/mips/mips/trap.c @@ -140,7 +140,7 @@ void (*machExceptionTable[]) (void)= { MipsKernGenException, /* coprocessor unusable */ MipsKernGenException, /* arithmetic overflow */ MipsKernGenException, /* trap exception */ - MipsKernGenException, /* viritual coherence exception inst */ + MipsKernGenException, /* virtual coherence exception inst */ MipsKernGenException, /* floating point exception */ MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ @@ -157,7 +157,7 @@ void (*machExceptionTable[]) (void)= { MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ MipsKernGenException, /* reserved */ - MipsKernGenException, /* viritual coherence exception data */ + MipsKernGenException, /* virtual coherence exception data */ /* * The user exception handlers. */ @@ -210,7 +210,7 @@ char *trap_type[] = { "coprocessor unusable", "arithmetic overflow", "trap", - "viritual coherency instruction", + "virtual coherency instruction", "floating point", "reserved 16", "reserved 17", @@ -227,7 +227,7 @@ char *trap_type[] = { "reserved 28", "reserved 29", "reserved 30", - "viritual coherency data", + "virtual coherency data", }; #if !defined(SMP) && (defined(DDB) || defined(DEBUG))