Returns, by reference, the current value of an architectural x86 register of a vCPU.
- macOS 10.10+
The ID of the vCPU.
The ID of the register to be read. For possible values, see
_x86 _reg _t
On return, this argument is populated with the value read from the specified register.
This function must be called by the owning thread.