Share via


OEMSaveCoProcRegs (Compact 2013)

10/16/2014

This function saves the platform-specific debug registers when a thread switch occurs.

Syntax

void OEMSaveCoProcRegs(
  LPBYTE pArea
);

Parameters

  • pArea
    [out] Pointer to a memory buffer that stores the co-processor registers.

Return Value

None.

Remarks

The kernel passes the same area to the OEMRestoreCoProcRegs function when the thread is scheduled again.

If you implement OEMSaveCoProcRegs, set the pfnSaveCoProcRegs member of OEMGLOBAL to point to this function.

The kernel calls the function only when both the fSaveCoProcReg and the cbCoProcRegSize global variable are nonzero.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions
OEMRestoreCoProcRegs
OEMInitCoProcRegs
cbCoProcRegSize
fSaveCoProcReg