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

# hv_gic_config_set_distributor_base(_:_:)

Sets the generic interrupt controller (GIC) distributor region’s base address.

```
func hv_gic_config_set_distributor_base(_ config: hv_gic_config_t, _ distributor_base_address: hv_ipa_t) -> hv_return_t
```

## Parameters

`config`

The GIC configuration object.

`distributor_base_address`

The guest’s physical address for the distributor.

## Return Value

A new GIC configuration object.

## Discussion

Guest physical address for the distributor base aligned to the byte value returned by [`hv_gic_get_distributor_base_alignment(_:)`](/documentation/Hypervisor/hv_gic_get_distributor_base_alignment(_:)).

Release this object with <doc://com.apple.documentation/documentation/os/os_release-c.func> when it’s no longer needed.

---

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)