mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-09 17:07:00 +00:00
Per trusty design, trusty requires a monotonic increasing secure tick(TSC) at run time. This secure tick will used to mitigate password/pin force attack, control key expiration, etc. Currently, the TSC_OFFSET is enabled. And guest will got (host_tsc + tsc_offset) when execute rdtsc/rdtscp/rdmsr to aquire tsc value. The host_tsc is always keeping increasing during the runtime. So initialize tsc_offset of trusty to 0 will ensure the secure tick feature. Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
guest | ||
assign.c | ||
cpu_primary.S | ||
cpu_secondary.S | ||
cpu_state_tbl.c | ||
cpu.c | ||
cpuid.c | ||
ept.c | ||
gdt.c | ||
idt.S | ||
interrupt.c | ||
intr_lapic.c | ||
intr_main.c | ||
io.c | ||
ioapic.c | ||
irq.c | ||
mmu.c | ||
notify.c | ||
retpoline-thunk.S | ||
softirq.c | ||
timer.c | ||
trusty.c | ||
vmexit.c | ||
vmx_asm.S | ||
vmx.c | ||
vtd.c |