dim_set_irq_affinity()
Set the IRQ affinity
Synopsis:
#include <dim.h>
errno_t dim_set_irq_affinity( dim_intr_cfg_t *intr_cfg );
Arguments:
- intr_cfg
- A pointer to the interrupt configuration structure, dim_intr_cfg_t. You must provide the nirq, irq_list, and affinity_list.
Library:
libdim
Use the -l dim option to qcc to link against this library.
Description:
The dim_set_irq_affinity() function sets CPU affinity for the IRQs
Returns:
EOK on success, or errno on failure.
Errors:
This function returns any of the errors from open() or MsgSendv(), or the following:
- EINVAL
- One of the input values aren't valid.
Page updated: