Home
last modified time | relevance | path

Searched refs:__write8b (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/timers/HPET/
DHPET.c137 __write8b(HPET_REG_BASE + MAIN_CNT, 0); in HPET_measure_freq()
139 __write8b((HPET_REG_BASE + TIM0_CONF), 0x0044); // 设置定时器0为非周期,边沿触发,默认投递到IO APIC的2号引脚 in HPET_measure_freq()
141 __write8b(HPET_REG_BASE + TIM0_COMP, clks_to_intr); in HPET_measure_freq()
160 __write8b(HPET_REG_BASE + GEN_CONF, 3); // 置位旧设备中断路由兼容标志位、定时器组使能标志位,开始计时 in HPET_measure_freq()
199 __write8b(HPET_REG_BASE + MAIN_CNT, 0); in HPET_enable()
201__write8b(HPET_REG_BASE + TIM0_CONF, 0x004c); // 设置定时器0为周期定时,边沿触发,默认投递到IO APIC的2号引脚(看conf寄存器的高32bi… in HPET_enable()
203 __write8b(HPET_REG_BASE + TIM0_COMP, clks_to_intr); in HPET_enable()
213 __write8b(HPET_REG_BASE + GEN_CONF, 3); // 置位旧设备中断路由兼容标志位、定时器组使能标志位 in HPET_enable()
/DragonOS-0.1.8/kernel/src/common/
Dglib.h284 static __always_inline void __write8b(uint64_t vaddr, uint64_t value) in __write8b() function