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

# hv_gic_state_create()

Create a generic interrupt controller (GIC) state object.

```
func hv_gic_state_create() -> hv_gic_state_t
```

## Return Value

A new GIC state object that represents the current GIC state.

## Discussion

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)