mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-14 13:30:01 +00:00
hv/mod_timer: make timer into an arch-independent module
x86/timer.[ch] was moved to the common directory largely unchanged. x86 specific code now resides in x86/tsc_deadline_timer.c and its interface was defined in hw/hw_timer.h. The interface defines two functions: init_hw_timer() and set_hw_timeout() that provides HW specific initialization and timer interrupt source. Other than these two functions, the timer module is largely arch agnostic. Tracked-On: #5920 Signed-off-by: Rong Liu <rong2.liu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -809,7 +809,6 @@ INPUT = custom-doxygen/mainpage.md \
|
||||
../hypervisor/include/arch/x86/asm/guest/vcpu.h \
|
||||
../hypervisor/include/arch/x86/asm/guest/virtual_cr.h \
|
||||
../hypervisor/include/arch/x86/asm/tsc.h \
|
||||
../hypervisor/include/arch/x86/asm/timer.h \
|
||||
../hypervisor/include/arch/x86/asm/ioapic.h \
|
||||
../hypervisor/include/arch/x86/asm/lapic.h \
|
||||
../hypervisor/include/lib/crypto/crypto_api.h \
|
||||
@@ -820,6 +819,7 @@ INPUT = custom-doxygen/mainpage.md \
|
||||
../hypervisor/include/common/irq.h \
|
||||
../hypervisor/include/common/ticks.h \
|
||||
../hypervisor/include/common/delay.h \
|
||||
../hypervisor/include/common/timer.h \
|
||||
../hypervisor/include/common/ptdev.h \
|
||||
../hypervisor/include/public/acrn_common.h \
|
||||
../hypervisor/include/public/acrn_hv_defs.h \
|
||||
|
Reference in New Issue
Block a user