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

# hv_gic_get_redistributor_region_size(_:)

Gets the total size in bytes of the generic interrupt controller (GIC) redistributor region.

## Declaration

```swift
func hv_gic_get_redistributor_region_size(_ redistributor_region_size: UnsafeMutablePointer<Int>) -> hv_return_t
```

## Parameters

- `redistributor_region_size`: A pointer to redistributor region size value that the framework writes to upon success.

## Return Value

Return Value HV_SUCCESS on success; otherwise, an error code.

## Discussion

Discussion Provides the total size of the GIC redistributor regions the GIC supports. Each redistributor is two 64 kilobyte frames per vCPU and the framework places it contiguously in memory.

## See Also

### Getting GIC device parameters

- [hv_gic_get_redistributor_size(_:)](hypervisor/hv_gic_get_redistributor_size(_:).md)
- [hv_gic_get_distributor_size(_:)](hypervisor/hv_gic_get_distributor_size(_:).md)
- [hv_gic_get_distributor_base_alignment(_:)](hypervisor/hv_gic_get_distributor_base_alignment(_:).md)
- [hv_gic_get_redistributor_base_alignment(_:)](hypervisor/hv_gic_get_redistributor_base_alignment(_:).md)
- [hv_gic_get_msi_region_base_alignment(_:)](hypervisor/hv_gic_get_msi_region_base_alignment(_:).md)
- [hv_gic_get_msi_region_size(_:)](hypervisor/hv_gic_get_msi_region_size(_:).md)
- [hv_gic_get_spi_interrupt_range(_:_:)](hypervisor/hv_gic_get_spi_interrupt_range(_:_:).md)
