---
title: "hv_gic_config_set_distributor_base(_:_:)"
framework: Hypervisor
role: symbol
role_heading: Function
platforms: [macOS 15.0+]
path: "hypervisor/hv_gic_config_set_distributor_base(_:_:)"
---

# hv_gic_config_set_distributor_base(_:_:)

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

## Declaration

```swift
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

Return Value A new GIC configuration object.

## Discussion

Discussion Guest physical address for the distributor base aligned to the byte value returned by hv_gic_get_distributor_base_alignment(_:). Release this object with os_release when it’s no longer needed.

## See Also

### Setting the GIC device configuration

- [hv_gic_config_create()](hypervisor/hv_gic_config_create().md)
- [hv_gic_config_set_redistributor_base(_:_:)](hypervisor/hv_gic_config_set_redistributor_base(_:_:).md)
- [hv_gic_get_redistributor_base(_:_:)](hypervisor/hv_gic_get_redistributor_base(_:_:).md)
- [hv_gic_config_set_msi_region_base(_:_:)](hypervisor/hv_gic_config_set_msi_region_base(_:_:).md)
- [hv_gic_config_set_msi_interrupt_range(_:_:_:)](hypervisor/hv_gic_config_set_msi_interrupt_range(_:_:_:).md)
- [OS_hv_gic_config](hypervisor/os_hv_gic_config.md)
- [hv_gic_config_t](hypervisor/hv_gic_config_t.md)
