Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/mac68k Don't use multi-line string literals.
details: https://anonhg.NetBSD.org/src/rev/3cef6fb7d818
branches: trunk
changeset: 532043:3cef6fb7d818
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 30 21:47:25 2002 +0000
description:
Don't use multi-line string literals.
diffstat:
sys/arch/mac68k/mac68k/bus_space.c | 486 ++++++++++++++++++------------------
1 files changed, 243 insertions(+), 243 deletions(-)
diffs (truncated from 703 to 300 lines):
diff -r a26c050b52d4 -r 3cef6fb7d818 sys/arch/mac68k/mac68k/bus_space.c
--- a/sys/arch/mac68k/mac68k/bus_space.c Thu May 30 21:44:07 2002 +0000
+++ b/sys/arch/mac68k/mac68k/bus_space.c Thu May 30 21:47:25 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space.c,v 1.18 2002/04/09 01:53:47 briggs Exp $ */
+/* $NetBSD: bus_space.c,v 1.19 2002/05/30 21:47:25 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -461,13 +461,13 @@
mac68k_bsrm1(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int8_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movb %%a0@,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movb %%a0@,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -486,13 +486,13 @@
mac68k_bsrm2(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a0@,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movw %%a0@,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -502,15 +502,15 @@
mac68k_bsrm2_swap(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a0@,%%d1 ;
- rolw #8,%%d1 ;
- movw %%d1,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movw %%a0@,%%d1 ;"
+ " rolw #8,%%d1 ;"
+ " movw %%d1,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0","d1");
@@ -538,13 +538,13 @@
mac68k_bsrm4(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int32_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movl %%a0@,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movl %%a0@,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -554,17 +554,17 @@
mac68k_bsrm4_swap(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int32_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movl %%a0@,%%d1 ;
- rolw #8,%%d1 ;
- swap %%d1 ;
- rolw #8,%%d1 ;
- movl %%d1,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movl %%a0@,%%d1 ;"
+ " rolw #8,%%d1 ;"
+ " swap %%d1 ;"
+ " rolw #8,%%d1 ;"
+ " movl %%d1,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0","d1");
@@ -592,13 +592,13 @@
mac68k_bsrr1(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int8_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movb %%a0@+,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movb %%a0@+,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -618,13 +618,13 @@
mac68k_bsrr2(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a0@+,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movw %%a0@+,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -634,15 +634,15 @@
mac68k_bsrr2_swap(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a0@+,%%d1 ;
- rolw #8,%%d1 ;
- movw %%d1,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movw %%a0@+,%%d1 ;"
+ " rolw #8,%%d1 ;"
+ " movw %%d1,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0","d1");
@@ -672,13 +672,13 @@
mac68k_bsrr4(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int32_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movl %%a0@+,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movl %%a0@+,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -688,17 +688,17 @@
mac68k_bsrr4_swap(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
u_int32_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movl %%a0@+,%%d1 ;
- rolw #8,%%d1 ;
- swap %%d1 ;
- rolw #8,%%d1 ;
- movl %%d1,%%a1@+ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movl %%a0@+,%%d1 ;"
+ " rolw #8,%%d1 ;"
+ " swap %%d1 ;"
+ " rolw #8,%%d1 ;"
+ " movl %%d1,%%a1@+ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -818,13 +818,13 @@
mac68k_bswm1(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
const u_int8_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movb %%a1@+,%%a0@ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movb %%a1@+,%%a0@ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -843,13 +843,13 @@
mac68k_bswm2(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
const u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a1@+,%%a0@ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
+ " movl %1,%%a1 ;"
+ " movl %2,%%d0 ;"
+ "1: movw %%a1@+,%%a0@ ;"
+ " subql #1,%%d0 ;"
+ " jne 1b" :
:
"r" (h->base + offset), "g" (a), "g" (c) :
"a0","a1","d0");
@@ -859,15 +859,15 @@
mac68k_bswm2_swap(bus_space_tag_t t, bus_space_handle_t *h, bus_size_t offset,
const u_int16_t *a, size_t c)
{
- __asm __volatile ("
- movl %0,%%a0 ;
- movl %1,%%a1 ;
- movl %2,%%d0 ;
- 1: movw %%a1@+,%%d1 ;
- rolw #8,%%d1 ;
- movw %%d1,%%a0@ ;
- subql #1,%%d0 ;
- jne 1b" :
+ __asm __volatile (
+ " movl %0,%%a0 ;"
Home |
Main Index |
Thread Index |
Old Index