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

# hv_gic_send_msi(_:_:)

Sends a message signaled interrupt (MSI).

```
func hv_gic_send_msi(_ address: hv_ipa_t, _ intid: UInt32) -> hv_return_t
```

## Parameters

`address`

The guest physical address for message-based shared peripheral interrupts (SPI).

`intid`

The Interrupt identifier for the message based SPI.

## Return Value

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

## Discussion

Use the address of the [`HV_GIC_REG_GICM_SET_SPI_NSR`](/documentation/Hypervisor/HV_GIC_REG_GICM_SET_SPI_NSR) register in the MSI frame.

---

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)