compile kernel with hard float support

Stefan Parvu sparvu at kronometrix.org
Sun Oct 4 06:51:42 UTC 2015


> diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
> index 223ad96..895a14c 100644
> --- a/sys/arm/arm/vm_machdep.c
> +++ b/sys/arm/arm/vm_machdep.c
> @@ -134,7 +134,7 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
>  	pcb2->pcb_regs.sf_sp = STACKALIGN(td2->td_frame);
>  
>  	pcb2->pcb_vfpcpu = -1;
> -	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN | VFPSCR_FZ;
> +	pcb2->pcb_vfpstate.fpscr = VFPSCR_DN;
>  
>  	tf = td2->td_frame;
>  	tf->tf_spsr &= ~PSR_C;


thanks. This works fine.


-- 
Stefan Parvu <sparvu at kronometrix.org>


More information about the freebsd-arm mailing list