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 Add register prefixes.



details:   https://anonhg.NetBSD.org/src/rev/554bc1d5ce32
branches:  trunk
changeset: 499782:554bc1d5ce32
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Nov 29 09:18:32 2000 +0000

description:
Add register prefixes.

diffstat:

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

diffs (truncated from 315 to 300 lines):

diff -r 70074e43ad1c -r 554bc1d5ce32 sys/arch/mvme68k/include/bus_space.h
--- a/sys/arch/mvme68k/include/bus_space.h      Wed Nov 29 09:11:53 2000 +0000
+++ b/sys/arch/mvme68k/include/bus_space.h      Wed Nov 29 09:18:32 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_space.h,v 1.6 2000/11/24 09:05:55 scw Exp $ */
+/*     $NetBSD: bus_space.h,v 1.7 2000/11/29 09:18:32 scw Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -255,11 +255,11 @@
 #define        bus_space_read_multi_1(t, h, o, a, c) do {                      \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    a0@,a1@+                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%a0@,%%a1@+                            ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -269,11 +269,11 @@
 #define        bus_space_read_multi_2(t, h, o, a, c) do {                      \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    a0@,a1@+                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%a0@,%%a1@+                            ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -283,11 +283,11 @@
 #define        bus_space_read_multi_4(t, h, o, a, c) do {                      \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movl    a0@,a1@+                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movl    %%a0@,%%a1@+                            ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -311,11 +311,11 @@
 #define        bus_space_read_region_1(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    a0@+,a1@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%a0@+,%%a1@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -325,11 +325,11 @@
 #define        bus_space_read_region_2(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    a0@+,a1@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%a0@+,%%a1@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -339,11 +339,11 @@
 #define        bus_space_read_region_4(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movl    a0@+,a1@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movl    %%a0@+,%%a1@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -398,11 +398,11 @@
 #define        bus_space_write_multi_1(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    a1@+,a0@                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%a1@+,%%a0@                            ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -412,11 +412,11 @@
 #define        bus_space_write_multi_2(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    a1@+,a0@                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%a1@+,%%a0@                            ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -426,11 +426,11 @@
 #define        bus_space_write_multi_4(t, h, o, a, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movl    a1@+,a0@                                ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movl    a1@+,%%a0@                              ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -454,11 +454,11 @@
 #define        bus_space_write_region_1(t, h, o, a, c) do {                    \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    a1@+,a0@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%a1@+,%%a0@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -468,11 +468,11 @@
 #define        bus_space_write_region_2(t, h, o, a, c) do {                    \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    a1@+,a0@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%a1@+,%%a0@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -482,11 +482,11 @@
 #define        bus_space_write_region_4(t, h, o, a, c) do {                    \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,a1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movl    a1@+,a0@+                               ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%a1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movl    %%a1@+,%%a0@+                           ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (a), "g" (c)           :       \
@@ -510,11 +510,11 @@
 #define        bus_space_set_multi_1(t, h, o, val, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,d1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    d1,a0@                                  ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%d1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%d1,%%a0@                              ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (val), "g" (c)         :       \
@@ -524,11 +524,11 @@
 #define        bus_space_set_multi_2(t, h, o, val, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,d1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    d1,a0@                                  ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%d1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%d1,%%a0@                              ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (val), "g" (c)         :       \
@@ -538,11 +538,11 @@
 #define        bus_space_set_multi_4(t, h, o, val, c) do {                     \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,d1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movl    d1,a0@                                  ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%d1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movl    %%d1,%%a0@                              ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (val), "g" (c)         :       \
@@ -566,11 +566,11 @@
 #define        bus_space_set_region_1(t, h, o, val, c) do {                    \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,d1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movb    d1,a0@+                                 ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%d1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movb    %%d1,%%a0@+                             ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (val), "g" (c)         :       \
@@ -580,11 +580,11 @@
 #define        bus_space_set_region_2(t, h, o, val, c) do {                    \
        (void) t;                                                       \
        __asm __volatile ("                                             \
-               movl    %0,a0                                   ;       \
-               movl    %1,d1                                   ;       \
-               movl    %2,d0                                   ;       \
-       1:      movw    d1,a0@+                                 ;       \
-               subql   #1,d0                                   ;       \
+               movl    %0,%%a0                                 ;       \
+               movl    %1,%%d1                                 ;       \
+               movl    %2,%%d0                                 ;       \
+       1:      movw    %%d1,%%a0@+                             ;       \
+               subql   #1,%%d0                                 ;       \
                jne     1b"                                     :       \
                                                                :       \
                    "r" ((h) + (o)), "g" (val), "g" (c)         :       \
@@ -594,11 +594,11 @@
 #define        bus_space_set_region_4(t, h, o, val, c) do {                    \



Home | Main Index | Thread Index | Old Index