Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libunwind s/aligment/alignment/ + one more typo fix ...
details: https://anonhg.NetBSD.org/src/rev/4fba90b78877
branches: trunk
changeset: 985155:4fba90b78877
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Aug 09 21:08:06 2021 +0000
description:
s/aligment/alignment/ + one more typo fix in comments.
diffstat:
sys/arch/sparc/sparc/iommu.c | 6 +++---
sys/arch/sparc/sparc/locore.s | 4 ++--
sys/arch/sparc/sparc/pmap.c | 8 ++++----
sys/arch/sparc64/sparc64/machdep.c | 6 +++---
sys/dev/pci/if_dge.c | 6 +++---
sys/lib/libunwind/DwarfParser.hpp | 2 +-
6 files changed, 16 insertions(+), 16 deletions(-)
diffs (147 lines):
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/arch/sparc/sparc/iommu.c
--- a/sys/arch/sparc/sparc/iommu.c Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/arch/sparc/sparc/iommu.c Mon Aug 09 21:08:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iommu.c,v 1.99 2021/08/07 16:19:05 thorpej Exp $ */
+/* $NetBSD: iommu.c,v 1.100 2021/08/09 21:08:06 andvar Exp $ */
/*
* Copyright (c) 1996
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.99 2021/08/07 16:19:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iommu.c,v 1.100 2021/08/09 21:08:06 andvar Exp $");
#include "opt_sparc_arch.h"
@@ -763,7 +763,7 @@
/*
* In case the segment has already been loaded by
* iommu_dmamap_load_raw(), find a region of kernel virtual
- * addresses that can accommodate our aligment requirements.
+ * addresses that can accommodate our alignment requirements.
*/
va = _bus_dma_valloc_skewed(size, 0, align,
segs[0].ds_addr & (align - 1));
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/arch/sparc/sparc/locore.s Mon Aug 09 21:08:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.280 2021/04/25 21:59:38 mrg Exp $ */
+/* $NetBSD: locore.s,v 1.281 2021/08/09 21:08:06 andvar Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -356,7 +356,7 @@
_C_LABEL(kernel_text) = start ! for kvm_mkdb(8)
_ASM_LABEL(start):
/*
- * Put sun4 traptable first, since it needs the most stringent aligment (8192)
+ * Put sun4 traptable first, since it needs the most stringent alignment (8192)
*/
#if defined(SUN4)
trapbase_sun4:
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/arch/sparc/sparc/pmap.c Mon Aug 09 21:08:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.374 2021/08/07 19:23:03 uwe Exp $ */
+/* $NetBSD: pmap.c,v 1.375 2021/08/09 21:08:06 andvar Exp $ */
/*
* Copyright (c) 1996
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.374 2021/08/07 19:23:03 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.375 2021/08/09 21:08:06 andvar Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -310,7 +310,7 @@
#endif
/*
* We use a double linked list looping through its static head (which
- * alway remains on the list), so we can remove any other member from
+ * always remains on the list), so we can remove any other member from
* a list without knowing which list it is on.
*/
static void inline
@@ -3636,7 +3636,7 @@
/*
* Allocate context table.
- * To keep supersparc happy, minimum aligment is on a 4K boundary.
+ * To keep supersparc happy, minimum alignment is on a 4K boundary.
*/
ctxtblsize = uimax(ncontext,1024) * sizeof(int);
cpuinfo.ctx_tbl = (int *)roundup((u_int)p, ctxtblsize);
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c Mon Aug 09 21:08:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.299 2021/01/04 14:48:52 thorpej Exp $ */
+/* $NetBSD: machdep.c,v 1.300 2021/08/09 21:08:06 andvar Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2019 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.299 2021/01/04 14:48:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.300 2021/08/09 21:08:06 andvar Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1461,7 +1461,7 @@
/*
* Find a region of kernel virtual addresses that can accommodate
- * our aligment requirements.
+ * our alignment requirements.
*/
oversize = size + align - PAGE_SIZE;
r = uvm_map(kernel_map, &sva, oversize, NULL, UVM_UNKNOWN_OFFSET, 0,
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/dev/pci/if_dge.c
--- a/sys/dev/pci/if_dge.c Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/dev/pci/if_dge.c Mon Aug 09 21:08:06 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_dge.c,v 1.59 2021/05/08 00:27:02 thorpej Exp $ */
+/* $NetBSD: if_dge.c,v 1.60 2021/08/09 21:08:06 andvar Exp $ */
/*
* Copyright (c) 2004, SUNET, Swedish University Computer Network.
@@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.59 2021/05/08 00:27:02 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.60 2021/08/09 21:08:06 andvar Exp $");
@@ -1885,7 +1885,7 @@
uint32_t reg;
/*
- * *_HDR_ALIGNED_P is constant 1 if __NO_STRICT_ALIGMENT is set.
+ * *_HDR_ALIGNED_P is constant 1 if __NO_STRICT_ALIGNMENT is set.
* There is a small but measurable benefit to avoiding the adjusment
* of the descriptor so that the headers are aligned, for normal mtu,
* on such platforms. One possibility is that the DMA itself is
diff -r d9ce6f4417b1 -r 4fba90b78877 sys/lib/libunwind/DwarfParser.hpp
--- a/sys/lib/libunwind/DwarfParser.hpp Mon Aug 09 20:52:24 2021 +0000
+++ b/sys/lib/libunwind/DwarfParser.hpp Mon Aug 09 21:08:06 2021 +0000
@@ -234,7 +234,7 @@
while (addressSpace.get8(p) != 0)
++p;
++p;
- // Parse code aligment factor
+ // Parse code alignment factor
cieInfo->codeAlignFactor = addressSpace.getULEB128(p, cieContentEnd);
// Parse data alignment factor
cieInfo->dataAlignFactor = addressSpace.getSLEB128(p, cieContentEnd);
Home |
Main Index |
Thread Index |
Old Index