class MapInterrupt

Defined at line 232 of file fidling/gen/sdk/fidl/fuchsia.hardware.pci/fuchsia.hardware.pci/cpp/fidl/fuchsia.hardware.pci/cpp/markers.h

Maps a device's interrupt to a zx:interrupt. The device's interrupt mode

must already be configured with |SetInterruptMode|, and |which_irq| must

be >= to the number of interrupts reported for that interrupt mode by

|GetInterruptModes|. A Legacy interrupt may be mapped multiple times,

but the handles will point to the same interrupt object. MSI

&

MSI-X

interrupts may only have one outstanding mapping at a time per

interrupt. Outstanding MSI

&

MSI-X interrupt handles must be closed

before attempting to change the interrupt mode in a subsequent call to

|SetInterruptMode|.

Parameters:

|which_irq|: The id of the interrupt to map.

Errors:

|ZX_ERR_ALREADY_BOUND|: The interrupt specified by |which_irq| is

already mapped to a valid handle.

|ZX_ERR_BAD_STATE|: interrupts are currently disabled for the device.

|ZX_ERR_INVALID_ARGS|: |which_irq| is invalid for the mode.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal