eCosTM Reference Manual
Prev | Chapter 6. µITRON API | Next

# Interrupt management functions

These functions are fully supported in this release:

`void ret_int`(void);

`ER loc_cpu`(void);

`ER unl_cpu`(void);

Note that `ret_int()` is implemented as a macro, defined as “return”.

The following functions are not supported in this release:

`ER def_int`(UINT dintno, T_DINT *pk_dint);

`void ret_wup`(ID tskid);

`ER dis_int`(UINT eintno);

`ER ena_int`(UINT eintno);

`ER chg_iXX`(UINT iXXXX);

`ER ref_iXX`(UINT * p_iXXXX);

These unsupported functions are all Level C (CPU dependent). Equivalent functionality is available via other eCos-specific APIs; in particular a producer-side operation such as `wup_tsk()`, as is implied by `ret_wup()`, can only be performed in a DSR.

## Error checking

The following conditions are only checked for, and only return errors if `CYGSEM_UITRON_BAD_PARAMS_RETURN_ERRORS` is enabled:

- `loc/unl_cpu()`: these must only be called in a µITRON task context, else E_CTX

Prev | Home | Next
Extended Synchronization and Communication Functions | Up | Memory pool Management Functions