<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/hv_gic_config_set_msi_interrupt_range(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@F@hv_gic_config_set_msi_interrupt_range"
  },
  "title" : "hv_gic_config_set_msi_interrupt_range(_:_:_:)"
}
-->

# hv_gic_config_set_msi_interrupt_range(_:_:_:)

Sets the range of message signaled interrupts (MSIs) the generic interrupt controller supports.

```
func hv_gic_config_set_msi_interrupt_range(_ config: hv_gic_config_t, _ msi_intid_base: UInt32, _ msi_intid_count: UInt32) -> hv_return_t
```

## Parameters

`config`

A generic interrupt controller (GIC) configuration object.

`msi_intid_base`

The lowest MSI interrupt number.

`msi_intid_count`

Number of message signaled interrupts.

## Return Value

[`HV_SUCCESS`](/documentation/Hypervisor/HV_SUCCESS) on success; otherwise, an error code.

## Discussion

Use this method to configure the range of identifiers supported for MSIs. If it’s outside of the range given by [`hv_gic_get_spi_interrupt_range(_:_:)`](/documentation/Hypervisor/hv_gic_get_spi_interrupt_range(_:_:)), the method returns an error.

Set the region base address with [`hv_gic_config_set_msi_region_base(_:_:)`](/documentation/Hypervisor/hv_gic_config_set_msi_region_base(_:_:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)