Function report |
Source Code:arch\x86\kernel\hpet.c |
Create Date:2022-07-28 08:43:01 |
Last Modify:2020-03-16 21:38:50 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hpet_counting
Proto:static bool __init hpet_counting(void)
Type:bool
Parameter:Nothing
788 | hpet_restart_counter() |
790 | t1 = hpet_readl(HPET_COUNTER) |
791 | start = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer |
799 | Do |
800 | If t1 != hpet_readl(HPET_COUNTER) Then Return true |
805 | pr_warn("Counter not counting. HPET disabled\n") |
806 | Return false |
Name | Describe |
---|---|
hpet_enable | hpet_enable - Try to setup the HPET timer. Returns 1 on success. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |