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 fpu_execute(): Use FR() macro. No binar...
details: https://anonhg.NetBSD.org/src/rev/d4a5cf40ed4c
branches: trunk
changeset: 370071:d4a5cf40ed4c
user: rin <rin%NetBSD.org@localhost>
date: Thu Sep 15 14:24:00 2022 +0000
description:
fpu_execute(): Use FR() macro. No binary changes.
diffstat:
sys/arch/powerpc/fpu/fpu_emu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a17f2c455ba8 -r d4a5cf40ed4c sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c Thu Sep 15 11:35:06 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c Thu Sep 15 14:24:00 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.56 2022/09/09 14:35:27 rin Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.57 2022/09/15 14:24:00 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.56 2022/09/09 14:35:27 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.57 2022/09/15 14:24:00 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -429,7 +429,7 @@
DPRINTF(FPE_INSN,
("fpu_execute: Store DBL at %p\n",
(void *)addr));
- if (copyout(&fs->fpreg[rt], (void *)addr, size)) {
+ if (copyout(&FR(rt), (void *)addr, size)) {
fe->fe_addr = addr;
return (FAULT);
}
@@ -439,7 +439,7 @@
FPU_EMU_EVCNT_INCR(fpload);
DPRINTF(FPE_INSN, ("fpu_execute: Load from %p\n",
(void *)addr));
- if (copyin((const void *)addr, &fs->fpreg[rt], size)) {
+ if (copyin((const void *)addr, &FR(rt), size)) {
fe->fe_addr = addr;
return (FAULT);
}
Home |
Main Index |
Thread Index |
Old Index