如果想评论或更新本文的内容,请直接联系原文档的维护者。
如果你使用英文交流有困难的话,也可以向中文版维护者求助。
如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。
中文版维护者: 姚家珺AriosYao   ks666dejia@163.com
中文版翻译者: 姚家珺AriosYao   ks666dejia@163.com
中文版校译者: 姚家珺AriosYao   ks666dejia@163.com

High Precision Event Timer Driver for Linux

The High Precision Event Timer (HPET) hardware follows a specification
by Intel and Microsoft which can be found at
高精度事件定时器(HPET)硬件遵循规范,出处:
        http://www.intel.com/hardwaredesign/hpetspec_1.pdf

Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
and up to 32 comparators. 
每个HPET有一个固定速率的计数器(频率在10 MHz以上,因此称为“高精度的计数器”)
以及最多32个比较器。
Normally three or more comparators are provided,each of which can generate oneshot interrupts and at least one of which has
additional hardware to support periodic interrupts.
正常情况下,三个或更多个比较器提供一组服务,其中的每一个比较器都可以产生单稳中断,并且至少其中之一有
额外的硬件支持周期性中断。
The comparators arealso called "timers", which can be misleading since usually timers are
independent of each other ... these share a counter, complicating resets.
该比较器也被称为“定时器”,它容易产生错误,因为通常,定时器是相互独立的...但是这些共用一个计数器和复杂的复位。
HPET devices can support two interrupt routing modes.
HPET设备可以支持两个中断路由模式。
In one mode, the comparators are additional interrupt sources with no particular system role.
在其中一种模式中,比较器是没有特殊系统角色的额外的中断源。 
Many x86 BIOS writers don't route HPET interrupts at all, which prevents use of that mode. 
许多X86的BIOS写入器不支持的HPET中断,禁止使用该模式。
They support the other "legacy replacement"
mode where the first two comparators block interrupts from 8254 timers and from the RTC.
他们支持另外的“legacy replacement/遗留替换”模式,使得其前两个比较器阻止从8254定时器和的RTC发出的中断。
The driver supports detection of HPET driver allocation and initialization
of the HPET before the driver module_init routine is called. 
驱动程序支持的HPET驱动分配和初始化检测前,HPET驱动宏module_init例程会被调用。
This enable splatform code which uses timer 0 or 1 as the main timer to intercept HPET
initialization. 
这使splatform的代码使用定时器0或1作为主定时器,拦截HPET初始化。
An example of this initialization can be found in arch/x86/kernel/hpet.c.
这个初始化的一个例子,在arch/x86/kernel/hpet.c。
The driver provides a userspace API which resembles the API found in the
RTC driver framework. 
驱动程序提供了一个类似RTC驱动框架API的用户空间API。
An example user space program is provided in file:Documentation/timers/hpet_example.c
一个文件中提供的用户空间的例子:Documentation/timers/hpet_example.c

Documentation/timers/hpet.txt相关推荐

  1. Linux源码下Makefile详解(参照Documentation\kbuild\makefiles.txt和资料)-转

    1.Makefile的作用 (1)决定编译哪些文件 (2)怎样编译这些文件 (3)怎样连接这些文件,最重要的是它们的顺序如何 2.Linux内核Makefile分类 ***************** ...

  2. [RK3288][Android6.0] Documentation/leds/leds-lp55xx.txt

    Platform: RK3288 OS: Android 6.0 Kernel: 3.10.92 LP5521/LP5523/LP55231 Common Driver Authors: Milo(W ...

  3. Linux内核文档翻译

    本博客由浙江工商大学信息学院的计算机专业学生维护,提供Linux内核有关文档的中文翻译,为Linux内核学习提供参考. 内核版本:V3.11 版本来源:http://lxr.linux.no/linu ...

  4. make xconfig详解

    http://blog.csdn.net/yanshuai_tek/article/details/50902817 make menuconfig 图形化的内核配置 make mrproper 删除 ...

  5. linux 内核配置简介

    Gentoo Linux Gentoo内核(gentoo-sources)特有的选项 Gentoo Linux support CONFIG_GENTOO_LINUX 选"Y"后, ...

  6. The Real Time Linux and RT Applications | PREEMPT_RT

    目录 HOWTO: RTOS and RT Applications Memory for Real-time Applications HOWTO build a simple RT applica ...

  7. Linux 驱动开发 五十六:《ioctl-number.txt》翻译

    文档目录:linux-imx-4.1.15\Documentation\ioctl\ioctl-number.txt. 如果要向内核添加新的 ioctl,则应使用 <linux/ioctl.h& ...

  8. 【补充】Linux-2.6.22.6 makefiles.txt翻译

    原英文文档的目录为:Documentation\kbuild\makefiles.txt 译者:陈梓归 Linux Kernel Makefiles Linux内核的Makefiles This do ...

  9. Linux 驱动开发 六十:《input.txt》翻译

    文档路径:linux-imx-4.1.15\Documentation\input\input.txt. 一.介绍 这是一个驱动进程集合,旨在支持 Linux 下的所有输入设备.虽然它目前仅用于 US ...

最新文章

  1. 为开发可穿戴设备 索尼收购了以色列芯片制造商
  2. python基础语言与应用第五章_《Python基础教程》 读书笔记 第五章(下)循环语句...
  3. 用「我的世界」自动生成「现实世界」:英伟达展示AI脑补新技术
  4. 图像降噪算法——时域降噪算法
  5. php 写一个水仙花数的函数
  6. html元素以开始标签起始,HTML文本
  7. npm全局环境变量配置及解决VsCode使用时遇到的问题
  8. 什么是MircoPython?
  9. 机器学习很难上手和提升?你只差一条学习路径!
  10. otdr测试曲线图软件通用,OTDR常见测试曲线
  11. python 爬虫——模拟登录古诗文网
  12. python爬取有妖气漫画
  13. 12306 模拟登录
  14. ON1 Resize AI 2022(图片无损放大软件)官方中文版介绍 | 图片无损放大用什么软件 | 图片无损放大软件哪个好用?
  15. 用计算机弹熊出没,熊出没之熊大快跑2018辅助
  16. JAVA标准异常分两大类_java异常分类
  17. 地鼠宝宝的轶事奇闻之并发初探
  18. 【电商网站】将商品加入购物车代码
  19. Linux命令英文对照表
  20. linux服务器使用nginx部署静态网页(已自测)

热门文章

  1. kafka-topics.sh 详细说明
  2. Apollo决策技术分享20190328
  3. 蓝桥杯基础之16进制、10进制、8进制、2进制换算总结
  4. 【设计】电流偏置设计
  5. 计算机网络_实验16_网络故障导致环路
  6. 「大数据的关键思考系列」15:阿里巴巴的大数据实践(1)
  7. PhpStorm修改字体和主题
  8. MNL(使用自己的数据集)
  9. Latex中斜线表头的制作方法
  10. 考华为云认证的必要条件、注意事项