Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/1a6bede5cb52
branches:  trunk
changeset: 373252:1a6bede5cb52
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jan 27 19:49:21 2023 +0000

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

Sync with next68k.

diffstat:

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

diffs (63 lines):

diff -r 8518c04df1cd -r 1a6bede5cb52 sys/arch/luna68k/include/bus.h
--- a/sys/arch/luna68k/include/bus.h    Fri Jan 27 19:48:00 2023 +0000
+++ b/sys/arch/luna68k/include/bus.h    Fri Jan 27 19:49:21 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.h,v 1.17 2023/01/15 05:08:33 tsutsui Exp $ */
+/*     $NetBSD: bus.h,v 1.18 2023/01/27 19:49:21 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -177,7 +177,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) :     \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 #define        bus_space_read_multi_2(t, h, o, a, c) do {                      \
@@ -191,7 +191,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) :     \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 #define        bus_space_read_multi_4(t, h, o, a, c) do {                      \
@@ -205,7 +205,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 /*
@@ -230,7 +230,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)*4), "g" (a), "g" ((size_t)(c)) :     \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 #define        bus_space_read_region_2(t, h, o, a, c) do {                     \
@@ -245,7 +245,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)*2), "g" (a), "g" ((size_t)(c)) :     \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 #define        bus_space_read_region_4(t, h, o, a, c) do {                     \
@@ -259,7 +259,7 @@
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) :       \
-                   "a0","a1","d0");                                    \
+                   "a0","a1","d0","memory");                           \
 } while (0)
 
 /*



Home | Main Index | Thread Index | Old Index