kernel/eka/kernel/arm/ckernel.cpp
changeset 247 d8d70de2bd36
parent 90 947f0dc9f7a8
equal deleted inserted replaced
201:43365a9b78a3 247:d8d70de2bd36
   102 		if (pT->iOwningProcess == Kern::CurrentThread().iOwningProcess)
   102 		if (pT->iOwningProcess == Kern::CurrentThread().iOwningProcess)
   103 			{
   103 			{
   104 			if (Arm::FpExc() & VFP_FPEXC_EN)
   104 			if (Arm::FpExc() & VFP_FPEXC_EN)
   105 				{
   105 				{
   106 				*(TUint32*)(pT->iNThread.iExtraContext) = Arm::FpScr() & VFP_FPSCR_MODE_MASK;
   106 				*(TUint32*)(pT->iNThread.iExtraContext) = Arm::FpScr() & VFP_FPSCR_MODE_MASK;
       
   107 				}
       
   108 			else
       
   109 				{
       
   110 				*(TUint32*)(pT->iNThread.iExtraContext) = *(TUint32*)(Kern::CurrentThread().iNThread.iExtraContext);
   107 				}
   111 				}
   108 			}
   112 			}
   109 		}
   113 		}
   110 #endif
   114 #endif
   111 
   115