Contents

hv_gic_get_icv_reg(_:_:_:)

Writes a generic interrupt controller’s (GIC) ICV system register.

Declaration

func hv_gic_get_icv_reg(_ vcpu: hv_vcpu_t, _ reg: hv_gic_icv_reg_t, _ value: UnsafeMutablePointer<UInt64>) -> hv_return_t

Parameters

  • vcpu:

    The handle for the vCPU.

  • reg:

    The value that represents the GIC ICV system register

  • value:

    GIC ICV register value to write.

Return Value

HV_SUCCESS on success; otherwise, an error code.

See Also

Getting and setting registers