Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
See Also
Send Feedback on this topic to the authors