MC_knlSetTimer#

Schedule a previously defined timer with a 64-bit timeout and callback parameter.

Prototype#

M_Int32 MC_knlSetTimer(MCTimer *tm, M_Int64 timeout, void *parm);
M_Int32 MC_knlSetTimer(MCTimer *tm, M_Int64 timeout, void *parm)#

Schedule a previously defined timer with a 64-bit timeout and callback parameter.

API level

WIPI-C 1.2.1, ordinal 163.

Documentation status

reviewed.

Note

libwipi uses a tested ABI veneer because the observed Samsung/KTF provider packs the 64-bit timeout differently from an AAPCS caller.

Parameters:
  • tm – Timer initialized with MC_knlDefTimer.

  • timeout – WIPI timeout value passed as a 64-bit integer.

  • parm – Opaque value delivered to the timer callback.

Returns:

The provider-defined result code.

Catalog identity#

Field

Value

API level

1.2.1

Family

MC_KNL

Ordinal

163

Documentation

reviewed

Implementation class

table

ABI class

aapcs-to-packed-i64

Usage#

Parameters#

Name

Meaning

tm

Timer initialized with MC_knlDefTimer.

timeout

WIPI timeout value passed as a 64-bit integer.

parm

Opaque value delivered to the timer callback.

Return value#

The provider-defined result code.

Notes#

  • libwipi uses a tested ABI veneer because the observed Samsung/KTF provider packs the 64-bit timeout differently from an AAPCS caller.

Profile availability#

API membership, device ABI, and install profile are independent. The rows below describe libwipi implementation evidence, not platform-wide WIPI requirements.

ABI profile

Install profile

Current evidence

host-sim

none

headers only

ktf-samsung

none

linkable generated veneer

ktf-samsung

aram-ktf

linkable generated veneer

ktf-samsung

sch-w8300-qpst-probe

linkable generated veneer; named-device candidate

lgt-raptor

aram-raptor

observed in the scoped emulator suite

lgt-raptor

aram-wie-raptor

observed in the scoped emulator suite

skt-samsung-sch-w830-dl21

none

linkable exact-device fixed-root veneer

Compiled examples#

Evidence boundary#

Samsung/KTF selector confidence: confirmed. Catalog evidence: anycall_magichole:analysis/decompiled/wipi_mc_knl_spec_adapter.c:1155.