<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Hypervisor",
  "identifier" : "/documentation/Hypervisor/CPU_BASED2_INVPCID",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Hypervisor"
    ],
    "preciseIdentifier" : "c:@Ea@PIN_BASED_INTR@CPU_BASED2_INVPCID"
  },
  "title" : "CPU_BASED2_INVPCID"
}
-->

# CPU_BASED2_INVPCID

The value that controls whether any execution of the Invalidate Process-Context Identifier instruction (INVPCID) causes an invalid opcode exception.

```
var CPU_BASED2_INVPCID: UInt32 { get }
```

---

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)