Module Name: src Committed By: andvar Date: Tue Jul 5 20:15:40 UTC 2022
Modified Files: src/sys/arch/powerpc/booke: trap_subr.S src/sys/arch/sparc64/sparc64: locore.s src/sys/dev: video_if.h Log Message: fix various typos in comments. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/powerpc/booke/trap_subr.S cvs rdiff -u -r1.430 -r1.431 src/sys/arch/sparc64/sparc64/locore.s cvs rdiff -u -r1.11 -r1.12 src/sys/dev/video_if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/booke/trap_subr.S diff -u src/sys/arch/powerpc/booke/trap_subr.S:1.14 src/sys/arch/powerpc/booke/trap_subr.S:1.15 --- src/sys/arch/powerpc/booke/trap_subr.S:1.14 Sat May 7 04:19:22 2022 +++ src/sys/arch/powerpc/booke/trap_subr.S Tue Jul 5 20:15:40 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: trap_subr.S,v 1.14 2022/05/07 04:19:22 rin Exp $ */ +/* $NetBSD: trap_subr.S,v 1.15 2022/07/05 20:15:40 andvar Exp $ */ /*- * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc. * All rights reserved. @@ -34,7 +34,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -RCSID("$NetBSD: trap_subr.S,v 1.14 2022/05/07 04:19:22 rin Exp $") +RCSID("$NetBSD: trap_subr.S,v 1.15 2022/07/05 20:15:40 andvar Exp $") #ifdef _KERNEL_OPT #include "opt_altivec.h" @@ -48,9 +48,9 @@ RCSID("$NetBSD: trap_subr.S,v 1.14 2022/ /* * We have a problem with critical (MSR[CE] or machine check (MSR[ME]) * or debug (MSR[DE]) interrupts/exception in that they could happen - * inbetween the mtsprg1 %r2 and mfsprg1 %r2. If that happens, %r2 + * in-between the mtsprg1 %r2 and mfsprg1 %r2. If that happens, %r2 * will be lost. Even if we moved to a different sprg, subsequent - * expceptions would use SPRG1 and its value would be lost. The only + * exceptions would use SPRG1 and its value would be lost. The only * way to be safe for CE/ME/DE faults to save and restore SPRG1. * * Since CE/ME/DE faults may happen anytime, we need r1 to always @@ -61,7 +61,7 @@ RCSID("$NetBSD: trap_subr.S,v 1.14 2022/ * mchk) uses a unique sprg to save %r2 (sprg1, sprg4, sprg5). * * Since we can't control how many nested exceptions we might get, - * we don't use a dedicated save area. Instead we have a upwards + * we don't use a dedicated save area. Instead we have an upwards * growing "stack" of them; the pointer to which is kept in sprg3. * * To allocate from the stack, one fetches sprg3, adds the amount @@ -181,10 +181,10 @@ RCSID("$NetBSD: trap_subr.S,v 1.14 2022/ #define FRAME_RESTORE_SPEFSCR #endif /* - * Before the first memory refernence, we must have our state inside registers + * Before the first memory reference, we must have our state inside registers * since the first memory access might cause an exception which would cause * SRR0/SRR1 and DEAR/ESR to become unrecoverable. CR and XER also need to be - * saved early since they will modified by instrction flow. The saved stack + * saved early since they will modified by instruction flow. The saved stack * pointer is also critical but LR and CTR can be deferred being saved until * we are actually filling a trapframe. */ Index: src/sys/arch/sparc64/sparc64/locore.s diff -u src/sys/arch/sparc64/sparc64/locore.s:1.430 src/sys/arch/sparc64/sparc64/locore.s:1.431 --- src/sys/arch/sparc64/sparc64/locore.s:1.430 Mon Jun 27 22:41:28 2022 +++ src/sys/arch/sparc64/sparc64/locore.s Tue Jul 5 20:15:40 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.430 2022/06/27 22:41:28 andvar Exp $ */ +/* $NetBSD: locore.s,v 1.431 2022/07/05 20:15:40 andvar Exp $ */ /* * Copyright (c) 2006-2010 Matthew R. Green @@ -6679,7 +6679,7 @@ ENTRY(cpu_idle) * cpu_switchto() switches to an lwp to run and runs it, saving the * current one away. * - * stuct lwp * cpu_switchto(struct lwp *current, struct lwp *next) + * struct lwp * cpu_switchto(struct lwp *current, struct lwp *next) * Switch to the specified next LWP * Arguments: * i0 'struct lwp *' of the current LWP Index: src/sys/dev/video_if.h diff -u src/sys/dev/video_if.h:1.11 src/sys/dev/video_if.h:1.12 --- src/sys/dev/video_if.h:1.11 Thu Mar 3 06:23:25 2022 +++ src/sys/dev/video_if.h Tue Jul 5 20:15:40 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: video_if.h,v 1.11 2022/03/03 06:23:25 riastradh Exp $ */ +/* $NetBSD: video_if.h,v 1.12 2022/07/05 20:15:40 andvar Exp $ */ /* * Copyright (c) 2008 Patrick Mahoney <p...@polycrystal.org> @@ -124,7 +124,7 @@ enum video_control_id { VIDEO_CONTROL_HFLIP, VIDEO_CONTROL_VFLIP, /* Custom controls start here; any controls beyond this are - * valid and condsidered "extended". */ + * valid and considered "extended". */ VIDEO_CONTROL_EXTENDED }; @@ -311,7 +311,7 @@ struct video_colorspace { }; #ifdef undef -/* Stucts for future split into format/frame/interval. All functions +/* Structs for future split into format/frame/interval. All functions * interacting with the hardware layer will deal with these structs. * This video layer will handle translating them to V4L2 structs as * necessary. */