summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/fpe
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
commite63dc855fe4ff1aa0029ebf9813134860a34ccdf (patch)
treec2aa960c67a99a878c8902943399029fa598683f /sys/arch/m68k/fpe
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/arch/m68k/fpe')
-rw-r--r--sys/arch/m68k/fpe/fpu_calcea.c4
-rw-r--r--sys/arch/m68k/fpe/fpu_emulate.c8
-rw-r--r--sys/arch/m68k/fpe/fpu_fscale.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/m68k/fpe/fpu_calcea.c b/sys/arch/m68k/fpe/fpu_calcea.c
index 25338b03856..c3b2044e779 100644
--- a/sys/arch/m68k/fpe/fpu_calcea.c
+++ b/sys/arch/m68k/fpe/fpu_calcea.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_calcea.c,v 1.7 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: fpu_calcea.c,v 1.8 2002/03/14 03:15:54 millert Exp $ */
/* $NetBSD: fpu_calcea.c,v 1.7 1996/10/16 06:27:05 scottr Exp $ */
/*
@@ -478,7 +478,7 @@ fpu_store_ea(frame, insn, ea, src)
#endif
return SIGILL;
}
- dst = (char*)&frame->f_regs[ea->ea_regnum];
+ dst = (char *)&frame->f_regs[ea->ea_regnum];
/* The destination is an int. */
if (len < 4) {
dst += (4 - len);
diff --git a/sys/arch/m68k/fpe/fpu_emulate.c b/sys/arch/m68k/fpe/fpu_emulate.c
index 6f3502575fb..d17adad52d9 100644
--- a/sys/arch/m68k/fpe/fpu_emulate.c
+++ b/sys/arch/m68k/fpe/fpu_emulate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_emulate.c,v 1.9 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: fpu_emulate.c,v 1.10 2002/03/14 03:15:54 millert Exp $ */
/* $NetBSD: fpu_emulate.c,v 1.14 1996/12/18 05:44:31 scottr Exp $ */
/*
@@ -512,14 +512,14 @@ fpu_emul_fmovm(fe, insn)
if (regmask & reglist) {
if (fpu_to_mem) {
sig = fpu_store_ea(frame, insn, &insn->is_ea0,
- (char*)&fpregs[regnum * 3]);
+ (char *)&fpregs[regnum * 3]);
if (fpu_debug_level & DL_RESULT)
printf(" fpu_emul_fmovm: FP%d (%08x,%08x,%08x) saved\n",
regnum, fpregs[regnum * 3], fpregs[regnum * 3 + 1],
fpregs[regnum * 3 + 2]);
} else { /* mem to fpu */
sig = fpu_load_ea(frame, insn, &insn->is_ea0,
- (char*)&fpregs[regnum * 3]);
+ (char *)&fpregs[regnum * 3]);
if (fpu_debug_level & DL_RESULT)
printf(" fpu_emul_fmovm: FP%d (%08x,%08x,%08x) loaded\n",
regnum, fpregs[regnum * 3], fpregs[regnum * 3 + 1],
@@ -696,7 +696,7 @@ fpu_emul_arith(fe, insn)
}
} /* if (fpu_debug_level & DL_ARITH) */
- fpu_load_ea(frame, insn, &insn->is_ea0, (char*)buf);
+ fpu_load_ea(frame, insn, &insn->is_ea0, (char *)buf);
if (format == FTYPE_WRD) {
/* sign-extend */
buf[0] &= 0xffff;
diff --git a/sys/arch/m68k/fpe/fpu_fscale.c b/sys/arch/m68k/fpe/fpu_fscale.c
index 8a87f181061..0e936ade6b8 100644
--- a/sys/arch/m68k/fpe/fpu_fscale.c
+++ b/sys/arch/m68k/fpe/fpu_fscale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_fscale.c,v 1.4 1997/01/13 11:51:05 niklas Exp $ */
+/* $OpenBSD: fpu_fscale.c,v 1.5 2002/03/14 03:15:54 millert Exp $ */
/* $NetBSD: fpu_fscale.c,v 1.6 1996/10/13 03:19:14 christos Exp $ */
/*
@@ -145,7 +145,7 @@ fpu_emul_fscale(fe, insn)
printf("%c%d@\n", regname, insn->is_ea0.ea_regnum & 7);
}
}
- fpu_load_ea(frame, insn, &insn->is_ea0, (char*)buf);
+ fpu_load_ea(frame, insn, &insn->is_ea0, (char *)buf);
if (fpu_debug_level & DL_FSCALE) {
printf(" fpu_emul_fscale: src = %08x%08x%08x, siz = %d\n",