Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/dev Cosmetic changes. Fix a typo in comment.
details: https://anonhg.NetBSD.org/src/rev/97bcba7eaf44
branches: trunk
changeset: 370716:97bcba7eaf44
user: isaki <isaki%NetBSD.org@localhost>
date: Sun Sep 25 11:22:36 2022 +0000
description:
Cosmetic changes. Fix a typo in comment.
diffstat:
sys/arch/luna68k/dev/omrasops.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 6c2eafa5da0c -r 97bcba7eaf44 sys/arch/luna68k/dev/omrasops.c
--- a/sys/arch/luna68k/dev/omrasops.c Sun Sep 25 08:21:02 2022 +0000
+++ b/sys/arch/luna68k/dev/omrasops.c Sun Sep 25 11:22:36 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omrasops.c,v 1.21 2019/07/31 02:09:02 rin Exp $ */
+/* $NetBSD: omrasops.c,v 1.22 2022/09/25 11:22:36 isaki Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: omrasops.c,v 1.21 2019/07/31 02:09:02 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omrasops.c,v 1.22 2022/09/25 11:22:36 isaki Exp $");
/*
* Designed speficically for 'm68k bitorder';
@@ -80,7 +80,7 @@
/*
* macros to handle unaligned bit copy ops.
- * See src/sys/dev/rasops/rasops_mask.h for MI version.
+ * See src/sys/dev/rasops/rasops_masks.h for MI version.
* Also refer src/sys/arch/hp300/dev/maskbits.h.
* (which was implemented for ancient src/sys/arch/hp300/dev/grf_hy.c)
*/
@@ -97,7 +97,7 @@
asm("bfins %3,%0{%1:%2}" \
: "+o" (*(uint32_t *)(pdst)) \
: "di" (x), "di" (w), "d" (src) \
- : "memory" );
+ : "memory" )
#define GETBITS(psrc, x, w, dst) FASTGETBITS(psrc, x, w, dst)
#define PUTBITS(src, x, w, pdst) FASTPUTBITS(src, x, w, pdst)
@@ -629,7 +629,7 @@
lmask = (db == 0) ? 0 : ALL1BITS >> db;
eb = (db + w) & ALIGNMASK;
- rmask = (eb == 0) ? 0 : ALL1BITS << (32 - eb);
+ rmask = (eb == 0) ? 0 : ALL1BITS << (32 - eb);
lnum = (32 - db) & ALIGNMASK;
rnum = (dstx + w) & ALIGNMASK;
@@ -765,7 +765,7 @@
lmask = (db == 0) ? 0 : ALL1BITS >> db;
eb = (db + w) & ALIGNMASK;
- rmask = (eb == 0) ? 0 : ALL1BITS << (32 - eb);
+ rmask = (eb == 0) ? 0 : ALL1BITS << (32 - eb);
lnum = (32 - db) & ALIGNMASK;
rnum = (dstx + w) & ALIGNMASK;
Home |
Main Index |
Thread Index |
Old Index