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

# hv_gic_get_redistributor_base(_:_:)

Gets the redistributor base guest physical address for the given vCPU.

```
func hv_gic_get_redistributor_base(_ vcpu: hv_vcpu_t, _ redistributor_base_address: UnsafeMutablePointer<hv_ipa_t>) -> hv_return_t
```

## Parameters

`vcpu`

Handle for the vCPU.

`redistributor_base_address`

A pointer to the redistributor base guest physical address that the framework writes to upon success.

## Return Value

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

## Discussion

> Important:
> Call this method after you set the affinity of the given vCPU in its `MPIDR_EL1` register.

---

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)