Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/x68k %reg -> %%reg in asm() directive.
details: https://anonhg.NetBSD.org/src/rev/b41317619bdf
branches: trunk
changeset: 500754:b41317619bdf
user: minoura <minoura%NetBSD.org@localhost>
date: Mon Dec 18 02:46:49 2000 +0000
description:
%reg -> %%reg in asm() directive.
diffstat:
sys/arch/x68k/x68k/machdep.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 72a9843dc03e -r b41317619bdf sys/arch/x68k/x68k/machdep.c
--- a/sys/arch/x68k/x68k/machdep.c Mon Dec 18 02:32:50 2000 +0000
+++ b/sys/arch/x68k/x68k/machdep.c Mon Dec 18 02:46:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.90 2000/12/08 03:00:05 itohy Exp $ */
+/* $NetBSD: machdep.c,v 1.91 2000/12/18 02:46:49 minoura Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -1139,8 +1139,8 @@
b = (void*)base_v;
/* This is somewhat paranoid -- avoid overwriting myself */
- asm("lea %pc@(begin_check_mem),%0" : "=a"(begin_check));
- asm("lea %pc@(end_check_mem),%0" : "=a"(end_check));
+ asm("lea %%pc@(begin_check_mem),%0" : "=a"(begin_check));
+ asm("lea %%pc@(end_check_mem),%0" : "=a"(end_check));
if (base >= begin_check && base < end_check) {
size_t off = end_check - begin_check;
@@ -1245,7 +1245,7 @@
cacr = CACHE60_OFF;
break;
}
- asm volatile ("movc %0,%cacr"::"d"(cacr));
+ asm volatile ("movc %0,%%cacr"::"d"(cacr));
}
/* discover extended memory */
@@ -1289,7 +1289,7 @@
cacr = CACHE60_ON;
break;
}
- asm volatile ("movc %0,%cacr"::"d"(cacr));
+ asm volatile ("movc %0,%%cacr"::"d"(cacr));
}
physmem = m68k_btop(mem_size);
Home |
Main Index |
Thread Index |
Old Index