25.11.2014 Views

RealView ARMulator ISS User Guide - ARM Information Center

RealView ARMulator ISS User Guide - ARM Information Center

RealView ARMulator ISS User Guide - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong><strong>ARM</strong>ulator</strong> 参 考<br />

4.9 <br />

以 下 函 数 可 使 您 调 度 或 删 除 事 件<br />

• <strong>ARM</strong>ulif_ScheduleTimedFunction<br />

• <strong>ARM</strong>ulif_DescheduleTimedFunction<br />

4.9.1 <strong>ARM</strong>ulif_ScheduleTimedFunction<br />

此 函 数 可 使 用 存 储 器 系 统 周 期 调 度 事 件<br />

它 可 以 在 将 来 指 定 的 周 期 号 上 调 用 函 数<br />

<br />

void *<strong>ARM</strong>ulif_ScheduleTimedFunction(RDI_ModuleDesc *mdesc,<br />

<strong>ARM</strong>ul_TimedCallback *tcb)<br />

其 中<br />

mdesc<br />

tcb<br />

是 内 核 的 句 柄<br />

是 供 您 从 基 于 指 定 存 储 器 周 期 的 事 件 发 生 时 删 除 函 数 使 用 的 句 柄<br />

<br />

只 能 在 指 定 周 期 之 后 的 第 一 个 指 令 边 界 上 调 用 此 函 数<br />

4.9.2 <strong>ARM</strong>ulif_DescheduleTimedFunction<br />

<strong>ARM</strong>ul_DescheduleTimedFunction() 可 删 除 基 于 预 定 的 存 储 器 周 期 的 事 件<br />

<br />

unsigned <strong>ARM</strong>ulif_DescheduleTimedFunction(RDI_ModuleDesc *mdesc, void *tcb);<br />

其 中<br />

mdesc<br />

tcb<br />

是 内 核 的 句 柄<br />

是 <strong>ARM</strong>ulif_ScheduleTimedFunction 在 首 次 安 装 事 件 时 提 供 的 句 柄<br />

4-40 Copyright © 2002, 2003 <strong>ARM</strong> Limited 版 权 所 有 <strong>ARM</strong> DUI 0207ASC-00

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!