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 static-fy fpu_execute().
details: https://anonhg.NetBSD.org/src/rev/e8c25335040a
branches: trunk
changeset: 369871:e8c25335040a
user: rin <rin%NetBSD.org@localhost>
date: Mon Sep 05 00:25:18 2022 +0000
description:
static-fy fpu_execute().
diffstat:
sys/arch/powerpc/fpu/fpu_emu.c | 8 +++++---
sys/arch/powerpc/fpu/fpu_extern.h | 3 +--
2 files changed, 6 insertions(+), 5 deletions(-)
diffs (53 lines):
diff -r ecf3b630ac44 -r e8c25335040a sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c Mon Sep 05 00:24:24 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c Mon Sep 05 00:25:18 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.53 2022/09/04 13:32:14 rin Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.54 2022/09/05 00:25:18 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.53 2022/09/04 13:32:14 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.54 2022/09/05 00:25:18 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -167,6 +167,8 @@
extern vaddr_t opc_disasm(vaddr_t loc, int opcode);
#endif
+static int fpu_execute(struct trapframe *, struct fpemu *, union instr *);
+
#ifdef DEBUG
/*
* Dump a `fpn' structure.
@@ -288,7 +290,7 @@
* Note that we do not catch all illegal opcodes, so you can, for instance,
* multiply two integers this way.
*/
-int
+static int
fpu_execute(struct trapframe *tf, struct fpemu *fe, union instr *insn)
{
struct fpn *fp;
diff -r ecf3b630ac44 -r e8c25335040a sys/arch/powerpc/fpu/fpu_extern.h
--- a/sys/arch/powerpc/fpu/fpu_extern.h Mon Sep 05 00:24:24 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_extern.h Mon Sep 05 00:25:18 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_extern.h,v 1.10 2022/09/05 00:24:24 rin Exp $ */
+/* $NetBSD: fpu_extern.h,v 1.11 2022/09/05 00:25:18 rin Exp $ */
/*-
* Copyright (c) 1995 The NetBSD Foundation, Inc.
@@ -44,7 +44,6 @@
/* fpu.c */
bool fpu_emulate(struct trapframe *, struct fpreg *, ksiginfo_t *);
-int fpu_execute(struct trapframe *, struct fpemu *, union instr *);
/* fpu_add.c */
struct fpn *fpu_add(struct fpemu *);
Home |
Main Index |
Thread Index |
Old Index