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

# hv_gic_config_set_msi_region_base(_:_:)

Sets the generic interrupt controllers message signaled interrupts (MSIs) region base address.

```
func hv_gic_config_set_msi_region_base(_ config: hv_gic_config_t, _ msi_region_base_address: hv_ipa_t) -> hv_return_t
```

## Parameters

`config`

A GIC configuration object.

`msi_region_base_address`

The guest’s physical address for a MSI region.

## Return Value

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

## Discussion

Align the guest physical address for MSI region base to the byte value returned by [`hv_gic_get_msi_region_base_alignment(_:)`](/documentation/Hypervisor/hv_gic_get_msi_region_base_alignment(_:)).

For MSI support, set the interrupt range with [`hv_gic_config_set_msi_interrupt_range(_:_:_:)`](/documentation/Hypervisor/hv_gic_config_set_msi_interrupt_range(_:_:_:)).

---

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)