|Home > Iris APIs > Semihosting > Event source IRIS_SEMIHOSTING_CALL_EXTENSION|
This event source is intrusive. Activating it changes the model behavior. When it is active, this event is issued instead of a built-in semihosting function call.
The receiver of this event is expected to implement and execute the
semihosting call from within the event callback. This event source should be
ec_FOO() callback must do one of the
semihosting_return()must not be called from any other event callback, otherwise
E_invalid_contextis returned. Functions that need to return more data than an integer should write it directly into memory using
memory_write(). A buffer consisting of a memory address and length is usually passed to the called function as an argument for this purpose.
Table 4-13 Event source IRIS_SEMIHOSTING_CALL_EXTENSION
||The operation number of the built-in or user semihosting call according to the semihosting specification. This is the value of the operation number register when the target issues the semihosting trap instruction.|
||Register argument for the called function. This is the value of
the parameter register when the target issues the semihosting trap
instruction. This either contains an argument value for the called
function, or it contains the virtual address of a data structure.
This decision and the semantics depend on