Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Whitespace.
details: https://anonhg.NetBSD.org/src/rev/fb0d5895054a
branches: trunk
changeset: 346738:fb0d5895054a
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jul 31 07:06:24 2016 +0000
description:
Whitespace.
diffstat:
sys/arch/mips/mips/syscall.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (59 lines):
diff -r 547d078b0cdc -r fb0d5895054a sys/arch/mips/mips/syscall.c
--- a/sys/arch/mips/mips/syscall.c Sun Jul 31 04:05:32 2016 +0000
+++ b/sys/arch/mips/mips/syscall.c Sun Jul 31 07:06:24 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.48 2013/06/26 08:38:03 matt Exp $ */
+/* $NetBSD: syscall.c,v 1.49 2016/07/31 07:06:24 skrll Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.48 2013/06/26 08:38:03 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.49 2016/07/31 07:06:24 skrll Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -188,7 +188,8 @@
KASSERT(nargs <= __arraycount(copyargs));
args = copyargs;
/*
- * Copy the arguments passed via register from the * trapframe to our argument array
+ * Copy the arguments passed via register from the
+ * trapframe to our argument array
*/
memcpy(copyargs, fargs, nregs * sizeof(register_t));
/*
@@ -205,10 +206,10 @@
} else do {
/*
* The only difference between O32 and N32 is the calling
- * sequence. If you make O32
+ * sequence. If you make O32
*/
int32_t copy32args[SYS_MAXSYSARGS];
- int32_t *cargs = copy32args;
+ int32_t *cargs = copy32args;
unsigned int arg64mask = SYCALL_ARG_64_MASK(callp);
bool doing_arg64;
size_t narg64 = SYCALL_NARGS64(callp);
@@ -251,7 +252,7 @@
for (i = 0, doing_arg64 = false; i < nargs + narg64;) {
register_t arg;
if (nregs > 0) {
- arg = (int32_t) *fargs++;
+ arg = (int32_t) *fargs++;
nregs--;
} else {
arg = *cargs++;
@@ -325,7 +326,7 @@
*/
mips_reg_t tmp = reg->r_regs[_R_V0];
reg->r_regs[_R_V0 + _QUAD_LOWWORD] = (int32_t) tmp;
- reg->r_regs[_R_V0 + _QUAD_HIGHWORD] = tmp >> 32;
+ reg->r_regs[_R_V0 + _QUAD_HIGHWORD] = tmp >> 32;
}
#endif
#ifdef MIPS_SYSCALL_DEBUG
Home |
Main Index |
Thread Index |
Old Index