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

# hv_gic_config_create()

Creates a generic interrupt controller (GIC) configuration object.

## Declaration

```swift
func hv_gic_config_create() -> hv_gic_config_t
```

## Return Value

Return Value A new GIC configuration object.

## Discussion

Discussion Release this object with os_release when it’s no longer needed.

## See Also

### Setting the GIC device configuration

- [hv_gic_config_set_distributor_base(_:_:)](hypervisor/hv_gic_config_set_distributor_base(_:_:).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)
