Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Update to new pcu_state_{load, save, release} d...
details: https://anonhg.NetBSD.org/src/rev/e0413016e973
branches: trunk
changeset: 783508:e0413016e973
user: matt <matt%NetBSD.org@localhost>
date: Wed Dec 26 19:13:19 2012 +0000
description:
Update to new pcu_state_{load,save,release} definitions
diffstat:
sys/arch/alpha/alpha/fp_complete.c | 10 +++++-----
sys/arch/alpha/include/alpha.h | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (67 lines):
diff -r 192d4dbf0f63 -r e0413016e973 sys/arch/alpha/alpha/fp_complete.c
--- a/sys/arch/alpha/alpha/fp_complete.c Wed Dec 26 19:11:27 2012 +0000
+++ b/sys/arch/alpha/alpha/fp_complete.c Wed Dec 26 19:13:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fp_complete.c,v 1.14 2012/02/06 02:14:11 matt Exp $ */
+/* $NetBSD: fp_complete.c,v 1.15 2012/12/26 19:13:19 matt Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@@ -35,7 +35,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.14 2012/02/06 02:14:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.15 2012/12/26 19:13:19 matt Exp $");
#include "opt_compat_osf1.h"
@@ -719,7 +719,7 @@
* Load the float-point context for the current lwp.
*/
void
-fpu_state_load(struct lwp *l, bool used)
+fpu_state_load(struct lwp *l, u_int flags)
{
struct pcb * const pcb = lwp_getpcb(l);
@@ -749,7 +749,7 @@
*/
void
-fpu_state_save(struct lwp *l)
+fpu_state_save(struct lwp *l, u_int flags)
{
struct pcb * const pcb = lwp_getpcb(l);
@@ -762,7 +762,7 @@
* Release the FPU.
*/
void
-fpu_state_release(struct lwp *l)
+fpu_state_release(struct lwp *l, u_int flags)
{
l->l_md.md_flags &= ~MDLWP_FPACTIVE;
}
diff -r 192d4dbf0f63 -r e0413016e973 sys/arch/alpha/include/alpha.h
--- a/sys/arch/alpha/include/alpha.h Wed Dec 26 19:11:27 2012 +0000
+++ b/sys/arch/alpha/include/alpha.h Wed Dec 26 19:13:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha.h,v 1.30 2012/02/06 02:14:13 matt Exp $ */
+/* $NetBSD: alpha.h,v 1.31 2012/12/26 19:13:19 matt Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -109,9 +109,9 @@
extern const pcu_ops_t fpu_ops;
-void fpu_state_load(struct lwp *, bool);
-void fpu_state_save(struct lwp *);
-void fpu_state_release(struct lwp *);
+void fpu_state_load(struct lwp *, u_int);
+void fpu_state_save(struct lwp *, u_int);
+void fpu_state_release(struct lwp *, u_int);
static inline void
fpu_load(void)
Home |
Main Index |
Thread Index |
Old Index