Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/fpu Correct stale comment. Thanks rillig@ f...



details:   https://anonhg.NetBSD.org/src/rev/9d0daf5e3b31
branches:  trunk
changeset: 368677:9d0daf5e3b31
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jul 27 04:17:02 2022 +0000

description:
Correct stale comment. Thanks rillig@ for pointed out. NFC.

diffstat:

 sys/arch/powerpc/fpu/fpu_emu.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r c60274b90120 -r 9d0daf5e3b31 sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c    Tue Jul 26 20:08:54 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c    Wed Jul 27 04:17:02 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $ */
+/*     $NetBSD: fpu_emu.c,v 1.36 2022/07/27 04:17:02 rin Exp $ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.35 2022/07/26 16:08:33 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.36 2022/07/27 04:17:02 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -189,8 +189,8 @@
 
 /*
  * Emulate a floating-point instruction.
- * Return zero for success, else signal number.
- * (Typically: zero, SIGFPE, SIGILL, SIGSEGV)
+ * Return true if insn is consumed anyway.
+ * Otherwise, the caller must take care of it.
  */
 bool
 fpu_emulate(struct trapframe *tf, struct fpreg *fpf, ksiginfo_t *ksi)



Home | Main Index | Thread Index | Old Index