Contents

hv_gic_get_icc_reg(_:_:_:)

Reads a generic interrupt controller’s ICC CPU system register.

Declaration

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

Parameters

  • vcpu:

    The handle for the vCPU.

  • reg:

    The value that represents the GIC ICC system register.

  • value:

    A pointer to ICC register value that the framework writes to upon success.

Return Value

HV_SUCCESS on success; otherwise, an error code.

See Also

Getting and setting registers