Home
last modified time | relevance | path

Searched refs:hpet (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/arch/x86_64/driver/
H A Dtsc.rs14 use super::hpet::{hpet_instance, is_hpet_enabled};
104 let hpet = is_hpet_enabled(); in calibrate_cpu_by_pit_hpet_ptimer() localVariable
107 if hpet { "HPET" } else { "PMTIMER" } in calibrate_cpu_by_pit_hpet_ptimer()
133 let (tsc1, ref1) = Self::read_refs(hpet); in calibrate_cpu_by_pit_hpet_ptimer()
135 let (tsc2, ref2) = Self::read_refs(hpet); in calibrate_cpu_by_pit_hpet_ptimer()
157 if hpet { in calibrate_cpu_by_pit_hpet_ptimer()
174 if hpet { "HPET" } else { "PMTIMER" }, in calibrate_cpu_by_pit_hpet_ptimer()
191 if (!hpet) && (global_ref1 == 0) && (global_ref2 == 0) { in calibrate_cpu_by_pit_hpet_ptimer()
203 if hpet { "HPET" } else { "PMTIMER" } in calibrate_cpu_by_pit_hpet_ptimer()
209 if (!hpet) && (global_ref1 == 0) && (global_ref2 == 0) { in calibrate_cpu_by_pit_hpet_ptimer()
[all …]
H A Dmod.rs2 pub mod hpet; module
H A Dhpet.rs17 timers::hpet::{HpetRegisters, HpetTimerRegisters},
74 let hpet = unsafe { in new() localVariable
79 let tm_num = hpet.timers_num(); in new()
100 let hpet = Hpet { in new() localVariable
110 return Ok(hpet); in new()
/DragonOS/kernel/src/driver/timers/
H A Dmod.rs2 pub mod hpet; module
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmod.rs21 hpet::{hpet_init, hpet_instance},
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md675 1. 把clock tick rate与hpet频率关联起来
H A DV0.1.9.md1360 * 把hpet.c移动到arch文件夹下