mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-18 09:23:44 +00:00
doc: Style cleanup in timer hld
- Minor style changes per Acrolinx recommendations and for consistency Signed-off-by: Reyes, Amy <amy.reyes@intel.com>
This commit is contained in:
parent
0283202193
commit
5c52f6fc2c
@ -6,7 +6,7 @@ Timer
|
|||||||
Because ACRN is a flexible, lightweight reference hypervisor, we provide
|
Because ACRN is a flexible, lightweight reference hypervisor, we provide
|
||||||
limited timer management services:
|
limited timer management services:
|
||||||
|
|
||||||
- Only the lapic tsc-deadline timer is supported as the clock source.
|
- Only the LAPIC tsc-deadline timer is supported as the clock source.
|
||||||
|
|
||||||
- A timer can only be added on the logical CPU for a process or thread. Timer
|
- A timer can only be added on the logical CPU for a process or thread. Timer
|
||||||
scheduling or timer migrating is not supported.
|
scheduling or timer migrating is not supported.
|
||||||
@ -14,11 +14,11 @@ limited timer management services:
|
|||||||
How It Works
|
How It Works
|
||||||
************
|
************
|
||||||
|
|
||||||
When the system boots, we check that the hardware supports lapic
|
When the system boots, we check that the hardware supports the LAPIC
|
||||||
tsc-deadline timer by checking CPUID.01H:ECX.TSC_Deadline[bit 24]. If
|
tsc-deadline timer by checking CPUID.01H:ECX.TSC_Deadline[bit 24]. If
|
||||||
support is missing, we output an error message and panic the hypervisor.
|
support is missing, we output an error message and panic the hypervisor.
|
||||||
If supported, we register the timer interrupt callback that raises a
|
If supported, we register the timer interrupt callback that raises a
|
||||||
timer softirq on each logical CPU and sets the lapic timer mode to
|
timer softirq on each logical CPU and sets the LAPIC timer mode to
|
||||||
tsc-deadline timer mode by writing the local APIC LVT register.
|
tsc-deadline timer mode by writing the local APIC LVT register.
|
||||||
|
|
||||||
Data Structures and APIs
|
Data Structures and APIs
|
||||||
|
Loading…
Reference in New Issue
Block a user