Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sparc64/sys Use cpp comment style.
details: https://anonhg.NetBSD.org/src/rev/94965a34dab7
branches: trunk
changeset: 495270:94965a34dab7
user: mycroft <mycroft%NetBSD.org@localhost>
date: Tue Jul 25 15:14:45 2000 +0000
description:
Use cpp comment style.
diffstat:
lib/libc/arch/sparc64/sys/Ovfork.S | 8 ++++----
lib/libc/arch/sparc64/sys/__vfork14.S | 8 ++++----
lib/libc/arch/sparc64/sys/brk.S | 26 +++++++++++++-------------
lib/libc/arch/sparc64/sys/fork.S | 8 ++++----
lib/libc/arch/sparc64/sys/pipe.S | 12 ++++++------
lib/libc/arch/sparc64/sys/sbrk.S | 32 ++++++++++++++++----------------
lib/libc/arch/sparc64/sys/sigpending.S | 14 +++++++-------
lib/libc/arch/sparc64/sys/sigprocmask.S | 24 +++++++++++++-----------
lib/libc/arch/sparc64/sys/sigsuspend.S | 8 ++++----
9 files changed, 71 insertions(+), 69 deletions(-)
diffs (truncated from 359 to 300 lines):
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/Ovfork.S
--- a/lib/libc/arch/sparc64/sys/Ovfork.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/Ovfork.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: Ovfork.S,v 1.2 1998/12/02 19:29:57 thorpej Exp $ */
+/* $NetBSD: Ovfork.S,v 1.3 2000/07/25 15:14:45 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)Ovfork.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: Ovfork.S,v 1.2 1998/12/02 19:29:57 thorpej Exp $")
+ RCSID("$NetBSD: Ovfork.S,v 1.3 2000/07/25 15:14:45 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -61,6 +61,6 @@
"warning: reference to compatibility vfork(); include <unistd.h> for correct reference")
SYSCALL(vfork)
- dec %o1 ! from 1 to 0 in child, 0 to -1 in parent
+ dec %o1 /* from 1 to 0 in child, 0 to -1 in parent */
retl
- and %o0, %o1, %o0 ! return 0 in child, pid in parent
+ and %o0, %o1, %o0 /* return 0 in child, pid in parent */
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/__vfork14.S
--- a/lib/libc/arch/sparc64/sys/__vfork14.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/__vfork14.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __vfork14.S,v 1.1 1998/09/11 04:56:33 eeh Exp $ */
+/* $NetBSD: __vfork14.S,v 1.2 2000/07/25 15:14:45 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)Ovfork.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: __vfork14.S,v 1.1 1998/09/11 04:56:33 eeh Exp $")
+ RCSID("$NetBSD: __vfork14.S,v 1.2 2000/07/25 15:14:45 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -58,6 +58,6 @@
#include "SYS.h"
SYSCALL(__vfork14)
- dec %o1 ! from 1 to 0 in child, 0 to -1 in parent
+ dec %o1 /* from 1 to 0 in child, 0 to -1 in parent */
retl
- and %o0, %o1, %o0 ! return 0 in child, pid in parent
+ and %o0, %o1, %o0 /* return 0 in child, pid in parent */
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/brk.S
--- a/lib/libc/arch/sparc64/sys/brk.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/brk.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: brk.S,v 1.7 2000/07/21 03:14:15 eeh Exp $ */
+/* $NetBSD: brk.S,v 1.8 2000/07/25 15:14:45 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)brk.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: brk.S,v 1.7 2000/07/21 03:14:15 eeh Exp $")
+ RCSID("$NetBSD: brk.S,v 1.8 2000/07/25 15:14:45 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -61,7 +61,7 @@
.data
.align 8
_C_LABEL(__minbrk):
- .xword _C_LABEL(_end) ! lower brk limit; also for gmon code
+ .xword _C_LABEL(_end) /* lower brk limit; also for gmon code */
.text
ENTRY(_brk)
@@ -69,10 +69,10 @@
PIC_PROLOGUE(%o5,%o4)
set _C_LABEL(__minbrk), %o4
ldx [%o5 + %o4], %o4
- ldx [%o4], %o1 ! %o1 = minbrk
- cmp %o1, %o0 ! if (minbrk > %o0)
- movg %xcc, %o1, %o0 ! %o0 = minbrk
- mov %o0, %o2 ! save argument to syscall
+ ldx [%o4], %o1 /* %o1 = minbrk */
+ cmp %o1, %o0 /* if (minbrk > %o0) */
+ movg %xcc, %o1, %o0 /* %o0 = minbrk */
+ mov %o0, %o2 /* save argument to syscall */
mov SYS_break, %g1
t ST_SYSCALL
set _C_LABEL(__curbrk), %o3
@@ -80,20 +80,20 @@
ldx [%o5 + %o3], %o4
ERROR()
1:
- retl ! success, return 0 & record new break
+ retl /* success, return 0 & record new break */
st %o2, [%o4]
#else
- sethi %hi(_C_LABEL(__minbrk)), %o1 ! %o1 = minbrk
+ sethi %hi(_C_LABEL(__minbrk)), %o1 /* %o1 = minbrk */
ldx [%o1 + %lo(_C_LABEL(__minbrk))], %o1
- cmp %o1, %o0 ! if (minbrk > %o0)
- movg %xcc, %o1, %o0 ! %o0 = minbrk
- mov %o0, %o2 ! save argument to syscall
+ cmp %o1, %o0 /* if (minbrk > %o0) */
+ movg %xcc, %o1, %o0 /* %o0 = minbrk */
+ mov %o0, %o2 /* save argument to syscall */
mov SYS_break, %g1
t ST_SYSCALL
bcc,a,pt %icc,1f
sethi %hi(_C_LABEL(__curbrk)), %g1
ERROR()
1:
- retl ! success, return 0 & record new break
+ retl /* success, return 0 & record new break */
stx %o2, [%g1 + %lo(_C_LABEL(__curbrk))]
#endif
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/fork.S
--- a/lib/libc/arch/sparc64/sys/fork.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/fork.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fork.S,v 1.2 2000/06/26 06:33:03 kleink Exp $ */
+/* $NetBSD: fork.S,v 1.3 2000/07/25 15:14:46 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)fork.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: fork.S,v 1.2 2000/06/26 06:33:03 kleink Exp $")
+ RCSID("$NetBSD: fork.S,v 1.3 2000/07/25 15:14:46 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -55,6 +55,6 @@
#endif
_SYSCALL(_fork,fork)
- dec %o1 ! from 1 to 0 in child, 0 to -1 in parent
+ dec %o1 /* from 1 to 0 in child, 0 to -1 in parent */
retl
- and %o0, %o1, %o0 ! return 0 in child, pid in parent
+ and %o0, %o1, %o0 /* return 0 in child, pid in parent */
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/pipe.S
--- a/lib/libc/arch/sparc64/sys/pipe.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/pipe.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pipe.S,v 1.1 1998/09/11 04:56:34 eeh Exp $ */
+/* $NetBSD: pipe.S,v 1.2 2000/07/25 15:14:46 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,20 +44,20 @@
#if 0
.asciz "@(#)pipe.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: pipe.S,v 1.1 1998/09/11 04:56:34 eeh Exp $")
+ RCSID("$NetBSD: pipe.S,v 1.2 2000/07/25 15:14:46 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
ENTRY(pipe)
- mov %o0, %o2 ! save pointer
+ mov %o0, %o2 /* save pointer */
mov SYS_pipe, %g1
- t ST_SYSCALL ! pipe()
+ t ST_SYSCALL /* pipe() */
bcc,a 1f
- st %o0, [%o2] ! success, store fds
+ st %o0, [%o2] /* success, store fds */
ERROR()
1:
st %o1, [%o2 + 4]
- retl ! and return 0
+ retl /* and return 0 */
clr %o0
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/sbrk.S
--- a/lib/libc/arch/sparc64/sys/sbrk.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/sbrk.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbrk.S,v 1.6 2000/07/18 22:39:25 eeh Exp $ */
+/* $NetBSD: sbrk.S,v 1.7 2000/07/25 15:14:46 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)sbrk.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: sbrk.S,v 1.6 2000/07/18 22:39:25 eeh Exp $")
+ RCSID("$NetBSD: sbrk.S,v 1.7 2000/07/25 15:14:46 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -68,28 +68,28 @@
PIC_PROLOGUE(%o5,%o4)
set _C_LABEL(__curbrk), %o3
ldx [%o5 + %o3], %o2
- ldx [%o2], %o3 ! %o3 = old break
- add %o3, %o0, %o4 ! %o4 = new break
- mov %o4, %o0 ! copy for syscall
+ ldx [%o2], %o3 /* %o3 = old break */
+ add %o3, %o0, %o4 /* %o4 = new break */
+ mov %o4, %o0 /* copy for syscall */
mov SYS_break, %g1
- t ST_SYSCALL ! break(new_break)
- bcc,a 1f ! if success,
- mov %o3, %o0 ! set return value
+ t ST_SYSCALL /* break(new_break) */
+ bcc,a 1f /* if success, */
+ mov %o3, %o0 /* set return value */
ERROR()
1:
- retl ! and update curbrk
+ retl /* and update curbrk */
stx %o4, [%o2]
#else
sethi %hi(_C_LABEL(__curbrk)), %o2
- ldx [%o2 + %lo(_C_LABEL(__curbrk))], %o3 ! %o3 = old break
- add %o3, %o0, %o4 ! %o4 = new break
- mov %o4, %o0 ! copy for syscall
+ ldx [%o2 + %lo(_C_LABEL(__curbrk))], %o3 /* %o3 = old break */
+ add %o3, %o0, %o4 /* %o4 = new break */
+ mov %o4, %o0 /* copy for syscall */
mov SYS_break, %g1
- t ST_SYSCALL ! break(new_break)
- bcc,a 1f ! if success,
- mov %o3, %o0 ! set return value
+ t ST_SYSCALL /* break(new_break) */
+ bcc,a 1f /* if success, */
+ mov %o3, %o0 /* set return value */
ERROR()
1:
- retl ! and update curbrk
+ retl /* and update curbrk */
stx %o4, [%o2 + %lo(_C_LABEL(__curbrk))]
#endif
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/sigpending.S
--- a/lib/libc/arch/sparc64/sys/sigpending.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/sigpending.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $ */
+/* $NetBSD: sigpending.S,v 1.6 2000/07/25 15:14:46 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -43,7 +43,7 @@
#if 0
.asciz "@(#)sigpending.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: sigpending.S,v 1.5 1998/12/02 01:01:05 thorpej Exp $")
+ RCSID("$NetBSD: sigpending.S,v 1.6 2000/07/25 15:14:46 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
@@ -53,12 +53,12 @@
"warning: reference to compatibility sigpending(); include <signal.h> for correct reference")
ENTRY(sigpending)
- mov %o0, %o2 ! save pointer
+ mov %o0, %o2 /* save pointer */
mov SYS_compat_13_sigpending13, %g1
- t ST_SYSCALL ! sigpending()
- bcc,a 1f ! if success,
- st %o0, [%o2] ! store return value
+ t ST_SYSCALL /* sigpending() */
+ bcc,a 1f /* if success, */
+ st %o0, [%o2] /* store return value */
ERROR()
1:
- retl ! and return 0
+ retl /* and return 0 */
clr %o0
diff -r 60807b27c328 -r 94965a34dab7 lib/libc/arch/sparc64/sys/sigprocmask.S
--- a/lib/libc/arch/sparc64/sys/sigprocmask.S Tue Jul 25 12:04:29 2000 +0000
+++ b/lib/libc/arch/sparc64/sys/sigprocmask.S Tue Jul 25 15:14:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sigprocmask.S,v 1.6 2000/07/21 03:14:16 eeh Exp $ */
+/* $NetBSD: sigprocmask.S,v 1.7 2000/07/25 15:14:46 mycroft Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -44,7 +44,7 @@
#if 0
.asciz "@(#)sigprocmask.s 8.1 (Berkeley) 6/4/93"
#else
- RCSID("$NetBSD: sigprocmask.S,v 1.6 2000/07/21 03:14:16 eeh Exp $")
+ RCSID("$NetBSD: sigprocmask.S,v 1.7 2000/07/25 15:14:46 mycroft Exp $")
#endif
#endif /* SYSLIBC_SCCS and not lint */
Home |
Main Index |
Thread Index |
Old Index