kvm_mips_write_compare(9)
πΈ NAME πΈ
okay bestie, welcome to the kvm_mips_write_compare(9) page from the Kernel API Manual. This icon is here for one job: kvm_mips_write_compare β Modify compare and update timer. π«
β¨ SYNOPSIS β¨
void kvm_mips_write_compare (struct kvm_vcpu *vcpu , u32 compare , bool
ack );
π ARGUMENTS π
vcpuβ Virtual CPU. Literally the virtual CPU in question.compareβ NewCP0_Comparevalue. The fresh number goes right here.ackβ Whether to acknowledge timer interrupt. This is the ack-or-not flag, bestie.
π DESCRIPTION π
So the whole plot is: update CP0_Compare to a new value and update the timeout. Periodt.
If ack, atomically acknowledge any pending timer interrupt. Otherwise, ensure any pending timer interrupt is preserved. That's the entire vibe β no extra lore, no cap. π«Ά
π¦ SEE ALSO π¦
Kernel file ./arch/mips/kvm/emulate.c is right here, and the SEE ALSO crew is:
kvm_get_badinstr(9)kvm_get_badinstrp(9)kvm_mips_count_disabled(9)kvm_mips_ktime_to_count(9)kvm_mips_count_time(9)kvm_mips_read_count_running(9)kvm_mips_read_count(9)kvm_mips_freeze_hrtimer(9)kvm_mips_resume_hrtimer(9)kvm_mips_restore_hrtimer(9)kvm_mips_write_count(9)kvm_mips_init_count(9)kvm_mips_set_count_hz(9)kvm_mips_count_disable(9)kvm_mips_count_disable_cause(9)kvm_mips_count_enable_cause(9)kvm_mips_set_count_ctl(9)kvm_mips_set_count_resume(9)kvm_mips_count_timeout(9)
cute little sign-off time: from ./arch/mips/kvm, dated October 2026, signed kvm_mips_write_compare(9) β bye bestie! πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms