Module Name: src
Committed By: tsutsui
Date: Fri Jan 27 20:03:03 UTC 2023
Modified Files:
src/sys/arch/mvme68k/include: bus_space.h
Log Message:
mvme68k: Specify proper constraints for bus_space_read region and multi ops.
Sync with next68k.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvme68k/include/bus_space.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mvme68k/include/bus_space.h
diff -u src/sys/arch/mvme68k/include/bus_space.h:1.17 src/sys/arch/mvme68k/include/bus_space.h:1.18
--- src/sys/arch/mvme68k/include/bus_space.h:1.17 Sat Jan 23 19:38:08 2021
+++ src/sys/arch/mvme68k/include/bus_space.h Fri Jan 27 20:03:02 2023
@@ -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 @@ struct mvme68k_bus_space_tag {
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 @@ struct mvme68k_bus_space_tag {
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 @@ struct mvme68k_bus_space_tag {
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" (c) : \
- "a0","a1","d0"); \
+ "a0","a1","d0","memory"); \
} while (0);
/*
@@ -278,7 +278,7 @@ struct mvme68k_bus_space_tag {
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 @@ struct mvme68k_bus_space_tag {
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 @@ struct mvme68k_bus_space_tag {
jne 1b" : \
: \
"r" ((h) + (o)), "g" (a), "g" (c) : \
- "a0","a1","d0"); \
+ "a0","a1","d0","memory"); \
} while (0);
/*