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 Revert previous: calling fpuinit() leads to...



details:   https://anonhg.NetBSD.org/src/rev/9a8a58a2fb6c
branches:  trunk
changeset: 793276:9a8a58a2fb6c
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Feb 01 20:07:07 2014 +0000

description:
Revert previous: calling fpuinit() leads to a panic, as a domU is not
allowed to manipulate cr0 directly. Xen doesn't need this, the fpu is
handled by the hypervisor.

diffstat:

 sys/arch/xen/xen/hypervisor.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r ea171dceef35 -r 9a8a58a2fb6c sys/arch/xen/xen/hypervisor.c
--- a/sys/arch/xen/xen/hypervisor.c     Sat Feb 01 18:57:38 2014 +0000
+++ b/sys/arch/xen/xen/hypervisor.c     Sat Feb 01 20:07:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $ */
+/* $NetBSD: hypervisor.c,v 1.65 2014/02/01 20:07:07 bouyer Exp $ */
 
 /*
  * Copyright (c) 2005 Manuel Bouyer.
@@ -53,7 +53,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.64 2014/02/01 17:48:04 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hypervisor.c,v 1.65 2014/02/01 20:07:07 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -256,7 +256,6 @@
        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