Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 arm/bus_dma: Fix misleading comment:
details: https://anonhg.NetBSD.org/src/rev/5f4ee2cd8205
branches: trunk
changeset: 378250:5f4ee2cd8205
user: rin <rin%NetBSD.org@localhost>
date: Fri Jul 28 06:21:02 2023 +0000
description:
arm/bus_dma: Fix misleading comment:
- * For a virtually-indexed write-back cache, we need
- * to do the following things:
+ * For a write-back cache, we need to do the following things:
This comment was written long ago when we supported only virtually-
indexed caches for arm. But subsequent comments are valid also for
physically-indexed cache.
diffstat:
sys/arch/arm/arm32/bus_dma.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r e1a75ef547a7 -r 5f4ee2cd8205 sys/arch/arm/arm32/bus_dma.c
--- a/sys/arch/arm/arm32/bus_dma.c Fri Jul 28 05:06:44 2023 +0000
+++ b/sys/arch/arm/arm32/bus_dma.c Fri Jul 28 06:21:02 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.143 2023/04/03 06:42:57 skrll Exp $ */
+/* $NetBSD: bus_dma.c,v 1.144 2023/07/28 06:21:02 rin Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2020 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#include "opt_cputypes.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.143 2023/04/03 06:42:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.144 2023/07/28 06:21:02 rin Exp $");
#include <sys/param.h>
@@ -1114,8 +1114,7 @@ void
len, offset, map->dm_mapsize);
/*
- * For a virtually-indexed write-back cache, we need
- * to do the following things:
+ * For a write-back cache, we need to do the following things:
*
* PREREAD -- Invalidate the D-cache. We do this
* here in case a write-back is required by the back-end.
Home |
Main Index |
Thread Index |
Old Index