Remove the FP_SOFTFP flag. It wasn't used but was leftover from the
software x86 math emulator.
This commit is contained in:
parent
1ccbf432ec
commit
1c8237d7eb
@ -1602,14 +1602,6 @@ exec_setregs(struct thread *td, struct image_params *imgp, u_long stack)
|
||||
pcb->pcb_flags &= ~PCB_DBREGS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize the math emulator (if any) for the current process.
|
||||
* Actually, just clear the bit that says that the emulator has
|
||||
* been initialized. Initialization is delayed until the process
|
||||
* traps to the emulator (if it is done at all) mainly because
|
||||
* emulators don't provide an entry point for initialization.
|
||||
*/
|
||||
td->td_pcb->pcb_flags &= ~FP_SOFTFP;
|
||||
pcb->pcb_initial_npxcw = __INITIAL_NPXCW__;
|
||||
|
||||
/*
|
||||
|
@ -66,7 +66,6 @@ struct pcb {
|
||||
union savefpu pcb_user_save;
|
||||
uint16_t pcb_initial_npxcw;
|
||||
u_int pcb_flags;
|
||||
#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
|
||||
#define PCB_DBREGS 0x02 /* process using debug registers */
|
||||
#define PCB_NPXINITDONE 0x08 /* fpu state is initialized */
|
||||
#define PCB_VM86CALL 0x10 /* in vm86 call */
|
||||
|
Loading…
x
Reference in New Issue
Block a user