wait-for-global-time wait-for-io-break
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

wait-for-hap – deprecated

Synopsis

wait-for-hap "hap" [object] [index]

Description

Postpones execution of a script branch until hap occurs. The optional argument object limits the haps to a specific object, and index can be used for indexed haps. The data associated with the hap, i.e. the arguments to the hap callback, will be returned as a list.

There may be haps triggering between the hap that causes the script to continue and the point in time when the script can resume. Such hap occurrences are lost from the script's point of view. A common case is a hap that can trigger several times during the execution of a single instruction.

Provided By

Simics Core

See Also

bp.hap.wait-for, script-branch
wait-for-global-time wait-for-io-break