fix typos in comments.

This commit is contained in:
andvar 2023-08-10 20:02:55 +00:00
parent e03f1896ab
commit 23a4d41e09
4 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gemini_machdep.c,v 1.34 2023/04/20 08:28:04 skrll Exp $ */
/* $NetBSD: gemini_machdep.c,v 1.35 2023/08/10 20:02:55 andvar Exp $ */
/* adapted from:
* NetBSD: sdp24xx_machdep.c,v 1.4 2008/08/27 11:03:10 matt Exp
@ -129,7 +129,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.34 2023/04/20 08:28:04 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: gemini_machdep.c,v 1.35 2023/08/10 20:02:55 andvar Exp $");
#include "opt_arm_debug.h"
#include "opt_console.h"
@ -1079,7 +1079,7 @@ printf("%s:%d: pmap_link_l2pt ipmq_pt\n", __FUNCTION__, __LINE__);
#ifdef GEMINI_SLAVE
/*
* Map all memory, incluuding that owned by other core
* Map all memory, including that owned by other core
* take into account the RAM remap, so view in this region
* is consistent with MASTER
*/
@ -1094,7 +1094,7 @@ printf("%s:%d: pmap_link_l2pt ipmq_pt\n", __FUNCTION__, __LINE__);
(MEMSIZE * 1024 * 1024),
VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
#else
/* Map all memory, incluuding that owned by other core */
/* Map all memory, including that owned by other core */
pmap_map_chunk(l1_va, GEMINI_ALLMEM_VBASE, GEMINI_ALLMEM_PBASE,
GEMINI_ALLMEM_SIZE * 1024 * 1024, VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
#endif /* GEMINI_SLAVE */

View File

@ -1,4 +1,4 @@
/* $NetBSD: e500_timer.c,v 1.7 2020/05/29 12:30:40 rin Exp $ */
/* $NetBSD: e500_timer.c,v 1.8 2023/08/10 20:02:56 andvar Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: e500_timer.c,v 1.7 2020/05/29 12:30:40 rin Exp $");
__KERNEL_RCSID(0, "$NetBSD: e500_timer.c,v 1.8 2023/08/10 20:02:56 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -92,7 +92,7 @@ e500_clock_intr(void *v)
* Now let's how delayed the clock interrupt was. Obviously it must
* at least one clock tick since the clock interrupt. But it might
* be more if interrupts were blocked for a long time. We keep
* suubtracting an interrupts We should be
* subtracting an interrupts We should be
* [well] within a single tick.
* We add back one tick (which should put us back above 0). If we
* are still below 0, keep adding ticks until we are above 0.

View File

@ -1,4 +1,4 @@
/* $NetBSD: ctlreg.h,v 1.68 2023/05/06 22:17:28 andvar Exp $ */
/* $NetBSD: ctlreg.h,v 1.69 2023/08/10 20:02:56 andvar Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath
@ -293,7 +293,7 @@
#define SFSR_FT_IO_ATOMIC 0x00200 /* DMMU: Atomic access to noncacheable page */
#define SFSR_FT_ILL_NF 0x00100 /* DMMU: NF load or flush to page marked E (has side effects) */
#define SFSR_FT_PRIV 0x00080 /* Privilege violation */
#define SFSR_FT_E 0x00040 /* DMUU: value of E bit associated address */
#define SFSR_FT_E 0x00040 /* DMMU: value of E bit associated address */
#define SFSR_CTXT(x) (((x)>>4)&0x3)
#define SFSR_CTXT_IS_PRIM(x) (SFSR_CTXT(x)==0x00)
#define SFSR_CTXT_IS_SECOND(x) (SFSR_CTXT(x)==0x01)

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_subr.c,v 1.242 2022/02/01 01:28:26 msaitoh Exp $ */
/* $NetBSD: pci_subr.c,v 1.243 2023/08/10 20:02:56 andvar Exp $ */
/*
* Copyright (c) 1997 Zubin D. Dittia. All rights reserved.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.242 2022/02/01 01:28:26 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.243 2023/08/10 20:02:56 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_pci.h"
@ -606,7 +606,7 @@ static const struct pci_class pci_subclass_crypto[] = {
/*
* Class 0x11.
* Data aquuisition and signal processing controller.
* Data acquisition and signal processing controller.
*/
static const struct pci_class pci_subclass_dasp[] = {
{ "DPIO", PCI_SUBCLASS_DASP_DPIO, NULL, },