文件下载与邀请翻译者
学习英特尔开发手册,最好手里这个手册文件。原版是PDF文件。点击下方链接了解下载方法。
讲解下载英特尔开发手册的文章
翻译英特尔开发手册,会是一件耗时费力的工作。如果有愿意和我一起来做这件事的,那么,欢迎你的加入。
另外,我不仅仅是打算翻译这一种手册,以后,可能还需要去翻译许多的英文技术文档。
本节翻译
【原文】VIP Virtual interrupt pending (bit 20). Set by software to indicate that an interrupt is pending; cleared to indicate that no interrupt is pending. This flag is used in conjunction with the VIF flag. The processor reads this flag but never modifies it. The processor only recognizes the VIP flag when either the VME flag or the PVI flag in control register CR4 is set and the IOPL is less than 3. (The VME flag enables the virtual-8086 mode extensions; the PVI flag enables the protected-mode virtual interrupts.) See Section 15.3.3.5., “Method 6: Software Interrupt Handling”, and Section 15.4., “Protected-Mode Virtual Interrupts”, for detailed information about the use of this flag.
ID Identification (bit 21). The ability of a program or procedure to set or clear this flag indicates support for the CPUID instruction.
【翻译】VIP 虚拟中断等待(比特位20)。由软件设置,以表明一个中断正在等待;清零时,表示没有等待的中断。该标志与VIF标志联合使用。处理器会读取该标志,但不会修改它。只有在控制寄存器CR4中设置了VME标志或PVI标志且IOPL小于3时,处理器才能识别VIP标志。(VME标志启用虚拟8086模式扩展。PVI标志启用保护模式的虚拟中断。)参见15.3.3.5节。,“方法6:软件中断处理”,以及15.4节。, “保护模式的虚拟中断 ”,查看使用该标志的详细信息。
ID 标识符(bit 21)。程序或过程能否设置或清除该标志的能力,表明了对CPUID指令的支持。
【讲评】关于ID标志位,我的理解是,如果软件或过程能够设置这个标志位,表示说,当前CPU支持CPUID指令。如果软件或过程不能够修改这个标志位,改了也没用,那就表示当前CPU不支持CPUID指令。这是我的理解与猜想。