Module Name: src Committed By: tsutsui Date: Fri Jan 27 19:49:21 UTC 2023
Modified Files: src/sys/arch/luna68k/include: bus.h Log Message: luna68k: 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/luna68k/include/bus.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/luna68k/include/bus.h diff -u src/sys/arch/luna68k/include/bus.h:1.17 src/sys/arch/luna68k/include/bus.h:1.18 --- src/sys/arch/luna68k/include/bus.h:1.17 Sun Jan 15 05:08:33 2023 +++ src/sys/arch/luna68k/include/bus.h Fri Jan 27 19:49:21 2023 @@ -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 @@ void bus_space_free(bus_space_tag_t t, b 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 @@ void bus_space_free(bus_space_tag_t t, b 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 @@ void bus_space_free(bus_space_tag_t t, b jne 1b" : \ : \ "r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \ - "a0","a1","d0"); \ + "a0","a1","d0","memory"); \ } while (0) /* @@ -230,7 +230,7 @@ void bus_space_free(bus_space_tag_t t, b 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 @@ void bus_space_free(bus_space_tag_t t, b 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 @@ void bus_space_free(bus_space_tag_t t, b jne 1b" : \ : \ "r" ((h) + (o)), "g" (a), "g" ((size_t)(c)) : \ - "a0","a1","d0"); \ + "a0","a1","d0","memory"); \ } while (0) /*