Contents

hv_gic_set_icc_reg(_:_:_:)

Writes to a generic interrupt controller (GIC) ICC cpu system register.

Declaration

func hv_gic_set_icc_reg(_ vcpu: hv_vcpu_t, _ reg: hv_gic_icc_reg_t, _ value: UInt64) -> hv_return_t

Parameters

  • vcpu:

    The handle for the vCPU.

  • reg:

    The enumeration value that represents the ICC system register.

  • value:

    The register value the framework writes to.

Return Value

HV_SUCCESS on success; otherwise, an error code.

Discussion

See Also

Getting and setting registers