Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/lib/libc/arch/powerpc Pull up revision 1.11 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/0a36b885ea03
branches:  netbsd-1-6
changeset: 531435:0a36b885ea03
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jul 23 13:55:01 2004 +0000

description:
Pull up revision 1.11 (requested by skrll in ticket #1725):
Convert to use register prefixes.  (0 -> %r0, etc.)

diffstat:

 lib/libc/arch/powerpc/SYS.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1835d6ebce30 -r 0a36b885ea03 lib/libc/arch/powerpc/SYS.h
--- a/lib/libc/arch/powerpc/SYS.h       Fri Jul 23 13:54:39 2004 +0000
+++ b/lib/libc/arch/powerpc/SYS.h       Fri Jul 23 13:55:01 2004 +0000
@@ -1,13 +1,13 @@
-/*     $NetBSD: SYS.h,v 1.8 2002/01/14 00:55:56 thorpej Exp $  */
+/*     $NetBSD: SYS.h,v 1.8.2.1 2004/07/23 13:55:01 tron Exp $ */
 
 #include <machine/asm.h>
 #include <sys/syscall.h>
 
 #ifdef __STDC__
-#define        _DOSYSCALL(x)           li      0,(SYS_ ## x)           ;\
+#define        _DOSYSCALL(x)           li      %r0,(SYS_ ## x)         ;\
                                sc
 #else
-#define        _DOSYSCALL(x)           li      0,(SYS_/**/x)           ;\
+#define        _DOSYSCALL(x)           li      %r0,(SYS_/**/x)         ;\
                                sc
 #endif /* __STDC__ */
 



Home | Main Index | Thread Index | Old Index