Compartilhar via


OEMRestoreCoProcRegs (Compact 2013)

10/16/2014

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

Syntax

void OEMRestoreCoProcRegs(
  LPBYTE pArea
);

Parameters

  • pArea
    [out] Pointer to a memory buffer that contains the information to restore to the coprocessor registers.

Return Value

None.

Remarks

This function is optional; only implement it if the platform has debug registers. If you implement OEMRestoreCoProcRegs, set the pfnRestoreCoProcRegs member of OEMGLOBAL to point to this function. The kernel calls this function only when both the fSaveCoProcReg and the cbCoProcRegSize global variables are nonzero.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions
OEMSaveCoProcRegs
OEMInitCoProcRegs
cbCoProcRegSize
fSaveCoProcReg