NAME

irq_change_caps - change the capabilities associated with an irq.

SYNOPSIS

#include <charm.h>

Status irq_change_caps( int irq, Cap managecap, Cap newcap );

PARAMETERS

irq specifies the irq whose capabilities are being changed.

managecap The current capability associated with the irq denoted by irq.

newcap The new capability to associate with the time slice irq.

DESCRIPTION

This function changes the capabilities associated with an irq.

RETURN VALUES

Upon the successful completion, the irq_change_caps() function returns [SUCCESS] to indicate that the capability associated with the time slice has been changed.

ERRORS

[IRQ_CAP_INVALID] the capability presented in parameter authcap is invalid.

[IRQ_INVALID] the irq specified is invalid.

RELATED INFORMATION

arena_bind_irq(), reset_irq().

Notes for Gurus

There is one capability associated with each irq. This capability must be presented whenever an arena_bind_irq or reset_irq call is made.

last updated: 7/9/99