4.10.11. ARMulif_InstallHourglass

Use this function to install an hourglass callback from ARMulator to your model.

Syntax


void *ARMulif_InstallHourglass(RDI_ModuleDesc *mdesc,                               armul_Hourglass *newHourglassvoid *handle);

where:

mdesc

is the handle for the core.

newHourglass

is a function of type armul_Hourglass. You can find the prototype for armul_Hourglass in armul_types.h , in install_directory\ARMulate\armulif.

handle

is a pointer to the data required by your function, newHourglass.

Usage

When you install an hourglass, ARMulator gives your model a callback each time an instruction is executed.

Return

This function returns a handle for your model to use to remove the hourglass callback.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential