Files
seL4/include
Bill Nguyen 744104654d x86/vcpu: expose VMX-preemption timer scale MSR
Currently, the kernel permits userspace VMMs to enable and use the
VMX-preemption timer by allowing writes to the following VMCS fields:
- VMX_GUEST_PREEMPTION_TIMER_VALUE (count)
- VMX_CONTROL_PIN_EXECUTION_CONTROLS (timer enable bit)
- VMX_CONTROL_EXIT_CONTROLS (save current count on context switch bit)

It also forwards the timer expiry event as a VM exit.

But it does not tell userspace how fast the timer will count down,
making it impossible to use. This commit exposes the timer's scale
via `seL4_X86_VCPU_ReadMSR`.

Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
2026-05-09 10:54:59 +02:00
..
2026-03-24 15:03:39 +11:00
2026-03-24 15:03:39 +11:00
2026-03-24 15:03:39 +11:00
2025-04-14 12:05:16 +10:00
2025-07-07 08:50:47 +10:00
2020-03-23 11:04:46 +11:00
2023-04-12 15:07:02 +10:00
2023-08-13 09:04:26 +10:00
2020-03-23 11:04:46 +11:00
2022-02-05 15:30:25 +11:00
2025-10-10 14:36:43 +11:00