Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/include mvme68k: Specify proper constraints...



details:   https://anonhg.NetBSD.org/src/rev/db03eb07e0ca
branches:  trunk
changeset: 373254:db03eb07e0ca
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jan 27 20:03:02 2023 +0000

description:
mvme68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.

diffstat:

 sys/arch/mvme68k/include/bus_space.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 92253264e9f2 -r db03eb07e0ca sys/arch/mvme68k/include/bus_space.h
--- a/sys/arch/mvme68k/include/bus_space.h      Fri Jan 27 19:50:02 2023 +0000
+++ b/sys/arch/mvme68k/include/bus_space.h      Fri Jan 27 20:03:02 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.h,v 1.17 2021/01/23 19:38:08 christos Exp $ */
+/*     $NetBSD: bus_space.h,v 1.18 2023/01/27 20:03:02 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -226,7 +226,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 #define        bus_space_read_multi_2(t, h, o, a, c) do {                      \
@@ -240,7 +240,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 #define        bus_space_read_multi_4(t, h, o, a, c) do {                      \
@@ -254,7 +254,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 /*
@@ -278,7 +278,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 #define        bus_space_read_region_2(t, h, o, a, c) do {                     \
@@ -292,7 +292,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 #define        bus_space_read_region_4(t, h, o, a, c) do {                     \
@@ -306,7 +306,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0);
 
 /*



Home | Main Index | Thread Index | Old Index