Subject: Re: xen & FPU
To: None <port-xen@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-xen
Date: 03/18/2005 21:17:08
In article <20050318165855.GB6095@antioche.lip6.fr>,
	Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> Well, is seems that the FPU stuff needs more work. From xen/i386/npx.c:
> int
> npxintr(void *arg, struct intrframe iframe)
> {
>         struct cpu_info *ci = curcpu();
>         struct lwp *l = ci->ci_fpcurlwp; 
>         union savefpu *addr;
>         struct intrframe *frame = &iframe;
>         struct npx_softc *sc;
>         ksiginfo_t ksi;
>   
>         sc = npx_softc;
> 
>         uvmexp.traps++;
>         IPRINTF(("%s: fp intr\n", ci->ci_dev->dv_xname));
>         panic("not supported\n");     

This code handles FPU exceptions, correct? Will each domain see its on
exception or has domain0 to handle them all?

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/