Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Add a direct call to fpuinit().
details: https://anonhg.NetBSD.org/src/rev/f7ab9ecbdc56
branches: trunk
changeset: 326534:f7ab9ecbdc56
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Feb 01 17:48:04 2014 +0000
description:
Add a direct call to fpuinit().
I'm not sure this is architecturally the best place, but I think it
is where npxattach() used to get called.
Might fix FP support in domu
diffstat:
sys/arch/xen/xen/hypervisor.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 755cf567583a -r f7ab9ecbdc56 sys/arch/xen/xen/hypervisor.c
--- a/sys/arch/xen/xen/hypervisor.c Sat Feb 01 17:01:35 2014 +0000
+++ b/sys/arch/xen/xen/hypervisor.c Sat Feb 01 17:48:04 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor.c,v 1.63 2014/01/26 19:16:17 dsl Exp $ */
+/* $NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $ */
/*
* Copyright (c) 2005 Manuel Bouyer.
@@ -53,7 +53,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.63 2014/01/26 19:16:17 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -256,6 +256,7 @@
hac.hac_xencons.xa_device = "xencons";
config_found_ia(self, "xendevbus", &hac.hac_xencons, hypervisor_print);
#endif
+ fpuinit(&cpu_info_primary);
#ifdef DOM0OPS
#if NPCI > 0
#if NACPICA > 0
Home |
Main Index |
Thread Index |
Old Index