Fix FP initialization if no npx device.
This commit is contained in:
parent
fc5d3e31e0
commit
e7151874d1
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.95 1994/04/07 06:48:46 mycroft Exp $
|
||||
* $Id: machdep.c,v 1.96 1994/04/08 19:10:18 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
@ -743,8 +743,8 @@ setregs(p, entry, stack, retval)
|
||||
tf->tf_cs = _ucodesel;
|
||||
|
||||
p->p_addr->u_pcb.pcb_flags &= 0 /* FM_SYSCTRC */; /* no fp at all */
|
||||
#if NNPX > 0
|
||||
npxexit();
|
||||
lcr0(rcr0() | CR0_TS); /* start emulating */
|
||||
#if NNPX > 0
|
||||
npxinit(__INITIAL_NPXCW__);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user