ARM Vector Floating-Point Unit Support (Windows Embedded CE 6.0)
1/5/2010
The ARM kernels enable support for ARM floating-point units (FPUs). The standard specification for the floating-point unit requires, at a minimum, imprecise handling of floating point exceptions where an error is not detected until a second error occurs.
To fully enable support for the FPU, you must implement the functions shown in the following code example.
void OEMRestoreVFPCtrlRegs(LPDWORD lpExtra, int nMaxRegs);
void OEMSaveVFPCtrlRegs(LPDWORD lpExtra, int nMaxRegs);
BOOL OEMHandleVFPException(EXCEPTION_RECORD *er, PCONTEXT pctx);
For more information, see OEMRestoreVFPCtrlRegs, OEMSaveVFPCtrlRegs, and OEMHandleVFPException.
The following functions are assigned their appropriate addresses in the OAL and then during OEMInit:
- pOEMSaveVFPCtrlRegs
- pOEMRestoreVFPCtrlRegs
- pOEMHandleVFPException