Providing global translations with address space numbers
    1.
    发明授权
    Providing global translations with address space numbers 有权
    提供地址空间编号的全球翻译

    公开(公告)号:US06604187B1

    公开(公告)日:2003-08-05

    申请号:US09596636

    申请日:2000-06-19

    IPC分类号: G06F1208

    摘要: A processor provides a register for storing an address space number (ASN). Operating system software may assign different ASNs to different processes. The processor may include a TLB to cache translations, and the TLB may record the ASN from the ASN register in a TLB entry being loaded. Thus, translations may be associated with processes through the ASNs. Generally, a TLB hit will be detected in an entry if the virtual address to be translated matches the virtual address tag and the ASN matches the ASN stored in the register. Additionally, the processor may use an indication from the translation table entries to indicate whether or not a translation is global. If a translation is global, then the ASN comparison is not included in detecting a hit in the TLB. Thus, translations which are used by more than one process may not occupy multiple TLB entries. Instead, a hit may be detected on the TLB entry storing the global translation even though the recorded ASN may not match the current ASN. In one embodiment, if ASNs are disabled, the TLB may be flushed on context switches. However, the indication from the translation table entries used to indicate that the translation is global may be used (when ASNs are disabled) by the TLB to selectively invalidate non-global translations on a context switch while not invalidating global translations.

    摘要翻译: 处理器提供用于存储地址空间号(ASN)的寄存器。 操作系统软件可以将不同的ASN分配给不同的进程。 处理器可以包括用于高速缓存转换的TLB,并且TLB可以在正在加载的TLB条目中从ASN寄存器记录ASN。 因此,翻译可以通过ASN与进程相关联。 通常,如果要转换的虚拟地址与虚拟地址标签匹配并且ASN与存储在寄存器中的ASN相匹配,则将在条目中检测到TLB命中。 另外,处理器可以使用来自转换表条目的指示来指示翻译是否是全局的。 如果翻译是全局的,则在检测到TLB中的命中时不包括ASN比较。 因此,由多个进程使用的转换可能不占用多个TLB条目。 相反,即使记录的ASN可能与当前ASN不匹配,也可以在存储全局转换的TLB条目上检测到命中。 在一个实施例中,如果ASN被禁用,则可以在上下文切换上刷新TLB。 然而,可以使用用于指示翻译是全局的翻译表条目的指示(当ASN被禁用时)由TLB选择性地使上下文切换上的非全局翻译无效,而不会使全局翻译无效。

    Computer system including a secure execution mode-capable CPU and a security services processor connected via a secure communication path
    2.
    发明授权
    Computer system including a secure execution mode-capable CPU and a security services processor connected via a secure communication path 有权
    计算机系统包括安全执行模式的CPU和通过安全通信路径连接的安全服务处理器

    公开(公告)号:US07603550B2

    公开(公告)日:2009-10-13

    申请号:US10419082

    申请日:2003-04-18

    IPC分类号: H04L9/00 H04L9/32

    摘要: A computer system includes a processor which may initialize a secure execution mode by executing a security initialization instruction. Further, the processor may operate in the secure execution mode by executing a secure operating system code segment. The computer system also includes an input/output (I/O) interface coupled to the processor via an I/O link. The I/O interface may receive transactions performed as a result of the execution of the security initialization instruction. The transactions include at least a portion of the secure operating system code segment. The I/O interface may also determine whether the processor is a source of the transactions. The computer system further includes a security services processor coupled to the I/O interface via a peripheral bus. The I/O interface may convey the transactions to the security services processor dependent upon determining that the processor is the source of the transactions.

    摘要翻译: 计算机系统包括可以通过执行安全初始化指令来初始化安全执行模式的处理器。 此外,处理器可以通过执行安全操作系统代码段在安全执行模式下操作。 计算机系统还包括通过I / O链路耦合到处理器的输入/输出(I / O)接口。 I / O接口可以接收由于执行安全初始化指令而执行的事务。 交易包括安全操作系统代码段的至少一部分。 I / O接口还可以确定处理器是否是事务的来源。 计算机系统还包括通过外围总线耦合到I / O接口的安全服务处理器。 取决于确定处理器是交易的来源,I / O接口可以将交易传达给安全服务处理器。

    Address size and operand size prefix overrides for default sizes defined by an operating mode of a processor
    3.
    发明授权
    Address size and operand size prefix overrides for default sizes defined by an operating mode of a processor 有权
    由处理器的操作模式定义的默认大小的地址大小和操作数大小前缀替换

    公开(公告)号:US06571330B1

    公开(公告)日:2003-05-27

    申请号:US09483560

    申请日:2000-01-14

    IPC分类号: G06F934

    摘要: A processor supports a processing mode in which the default address size is greater than 32 bits and the default operand size is 32 bits. The default address size may be nominally indicated as 64 bits, although various embodiments of the processor may implement any address size which exceeds 32 bits, up to and including 64 bits, in the processing mode. The processing mode may be established by placing an enable indication in a control register into an enabled state and by setting a first operating mode indication and a second operating mode indication in a segment descriptor to predefined states. Additionally, an instruction prefix may be coded into an instruction to override the default address and/or operand size. Thus, an address size of 32 bits may be used when desired, and an operand size of 64 bits may be used when desired.

    摘要翻译: 处理器支持默认地址大小大于32位,默认操作数大小为32位的处理模式。 默认地址大小可以标称地指示为64位,尽管处理器的各种实施例可以在处理模式中实现超过32位,高达并包括64位的任何地址大小。 可以通过将控制寄存器中的使能指示置于使能状态并且通过将段描述符中的第一操作模式指示和第二操作模式指示设置为预定状态来建立处理模式。 另外,指令前缀可以被编码到用于覆盖默认地址和/或操作数大小的指令中。 因此,如果需要,可以使用32位的地址大小,并且当需要时可以使用64位的操作数大小。

    Initialization of a computer system including a secure execution mode-capable processor
    4.
    发明授权
    Initialization of a computer system including a secure execution mode-capable processor 有权
    包括安全执行模式处理器的计算机系统的初始化

    公开(公告)号:US07603551B2

    公开(公告)日:2009-10-13

    申请号:US10419121

    申请日:2003-04-18

    IPC分类号: G06F9/44 H04L29/06

    CPC分类号: G06F9/4403

    摘要: The initialization of a computer system including a secure execution mode-capable processor includes storing a secure operating system code segment loader to a plurality of locations corresponding to a particular range of addresses within a system memory. The method also includes executing a security initialization instruction. Executing the security initialization instruction may cause several operations to be performed including transmitting a start transaction including a base address of the particular range of addresses. In addition, executing the security instruction may also cause another operation to be performed including retrieving the secure operating system code segment loader from the system memory and transmitting the secure operating system code segment loader for validation as a plurality of data transactions.

    摘要翻译: 包括具有安全执行模式能力的处理器的计算机系统的初始化包括将安全操作系统代码段加载器存储到对应于系统存储器内的特定地址范围的多个位置。 该方法还包括执行安全初始化指令。 执行安全初始化指令可能导致执行若干操作,包括发送包括特定地址范围的基地址的开始事务。 此外,执行安全指令还可以引起执行另一操作,包括从系统存储器检索安全操作系统代码段加载器,并将安全操作系统代码段加载器发送为多个数据事务。

    Method and apparatus for controlling interrupts in a secure execution mode-capable processor
    5.
    发明授权
    Method and apparatus for controlling interrupts in a secure execution mode-capable processor 有权
    用于控制具有安全执行模式的处理器中的中断的方法和装置

    公开(公告)号:US07165135B1

    公开(公告)日:2007-01-16

    申请号:US10419122

    申请日:2003-04-18

    IPC分类号: G06F7/04

    CPC分类号: G06F21/74

    摘要: A method is provided for controlling interrupts in a secure execution mode-capable processor. The method includes detecting an interrupt and performing a predetermined routine in response to detecting the interrupt. The method further includes performing a second routine prior to performing the predetermined routine in response to detecting the interrupt depending upon whether the processor is operating in a secure execution mode.

    摘要翻译: 提供了一种用于控制具有安全执行模式的处理器中的中断的方法。 该方法包括响应于检测到中断而检测中断并执行预定程序。 该方法还包括在执行预定例程之前执行第二例程以响应于根据处理器是否以安全执行模式操作来检测中断。

    Controlling access to a control register of a microprocessor
    6.
    发明授权
    Controlling access to a control register of a microprocessor 有权
    控制访问微处理器的控制寄存器

    公开(公告)号:US07130977B1

    公开(公告)日:2006-10-31

    申请号:US10419085

    申请日:2003-04-18

    IPC分类号: G06F12/00

    CPC分类号: G06F12/145 G06F12/1009

    摘要: Controlling access to a control register of a microprocessor. A method of controlling access to a control register such as CR3, for example, of a processor having a normal execution mode and a secure execution mode may include storing address translation table information in the control register, allowing a software invoked write access to modify the address translation table information during the normal execution mode and selectively inhibiting the software invoked write during the secure execution mode.

    摘要翻译: 控制访问微处理器的控制寄存器。 控制对诸如具有正常执行模式和安全执行模式的处理器之类的控制寄存器(例如CR 3)的访问的方法可以包括将地址转换表信息存储在控制寄存器中,允许软件调用写访问来修改 在正常执行模式期间的地址转换表信息,并且在安全执行模式期间选择性地禁止软件调用写入。

    Method for selectively disabling interrupts on a secure execution mode-capable processor
    7.
    发明授权
    Method for selectively disabling interrupts on a secure execution mode-capable processor 有权
    用于选择性地禁用具有安全执行模式的处理器上的中断的方法

    公开(公告)号:US07130951B1

    公开(公告)日:2006-10-31

    申请号:US10419091

    申请日:2003-04-18

    IPC分类号: G06F13/24 H04L9/00

    CPC分类号: G06F9/4812

    摘要: A method of controlling a secure execution mode-capable processor includes allowing a plurality of interrupts to interrupt the secure execution mode-capable processor when the secure execution mode-capable processor is operating in a non-secure execution mode. The method also includes disabling the plurality of interrupts from interrupting the secure execution mode-capable processor when the secure execution mode-capable processor is operating in a secure execution mode.

    摘要翻译: 控制具有安全执行模式的处理器的方法包括当具有安全执行模式的处理器在非安全执行模式下操作时允许多个中断来中断具有安全执行模式的处理器。 该方法还包括当安全执行模式处理器以安全执行模式操作时禁用多个中断来中断具有安全执行模式的处理器。

    Method of controlling access to an address translation data structure of a computer system
    8.
    发明授权
    Method of controlling access to an address translation data structure of a computer system 有权
    控制对计算机系统的地址转换数据结构的访问的方法

    公开(公告)号:US07082507B1

    公开(公告)日:2006-07-25

    申请号:US10419086

    申请日:2003-04-18

    IPC分类号: G06F12/14

    摘要: A method of controlling access to an address translation data structure of a computer system. The computer system includes a processor having a normal execution mode and a secure execution mode. The method includes executing code and generating a linear address. During translation of the linear address into a physical address, the method also includes generating a read-only page fault exception during the normal execution mode in response to detecting a software invoked write access to an address translation data structure having a read/write attribute set to be read-only. The method further includes selectively generating either the read-only page fault exception or a security exception during the secure execution mode in response to detecting the software invoked write access.

    摘要翻译: 一种控制对计算机系统的地址转换数据结构的访问的方法。 计算机系统包括具有正常执行模式和安全执行模式的处理器。 该方法包括执行代码并生成线性地址。 在将线性地址转换为物理地址期间,该方法还包括在正常执行模式期间响应于检测到具有读/写属性集的地址转换数据结构的软件调用写访问而产生只读页错误异常 是只读的。 该方法还包括响应于检测到软件调用的写访问而在安全执行模式期间选择性地生成只读页错误异常或安全异常。

    Establishing a mode indication responsive to two or more indications
    9.
    发明授权
    Establishing a mode indication responsive to two or more indications 有权
    响应两个或多个指示建立模式指示

    公开(公告)号:US07058791B1

    公开(公告)日:2006-06-06

    申请号:US09824988

    申请日:2001-04-02

    IPC分类号: G06F9/44

    CPC分类号: G06F12/04 G06F9/4552

    摘要: A processor generates a mode indication based on two or more other indications. The mode indication is indicative of whether or not a particular mode is active in the processor. Each indication is stored in a storage location which is addressable via a different instruction. In one embodiment, a long mode in which a 64 bit operating mode is selectable in addition to 32 bit and 16 bit modes may be activated via a long mode active indication. The long mode active indication may be generated by the processor, and may indicate that long mode is active if paging is enabled and a long mode enable indication indicates that long mode is enabled. In this manner, long mode may be activated after paging is enabled (with a set of long mode page tables indicated by the page table base address).

    摘要翻译: 处理器基于两个或多个其他指示生成模式指示。 模式指示表示处理器中特定模式是否有效。 每个指示存储在可通过不同指令寻址的存储位置。 在一个实施例中,除了32位和16位模式之外,64位操作模式可选择的长模式可以经由长模式活动指示而被激活。 长模式活动指示可以由处理器产生,并且如果寻呼被使能且长模式使能指示指示长模式被使能,则可以指示长模式是活动的。 以这种方式,在启用寻呼(具有由页表基地址指示的一组长模式页表)之后,可以激活长模式。

    Method of controlling access to model specific registers of a microprocessor
    10.
    发明授权
    Method of controlling access to model specific registers of a microprocessor 有权
    控制访问微处理器模型特定寄存器的方法

    公开(公告)号:US07043616B1

    公开(公告)日:2006-05-09

    申请号:US10419084

    申请日:2003-04-18

    申请人: Kevin J. McGrath

    发明人: Kevin J. McGrath

    IPC分类号: G06F12/00

    摘要: A method of controlling access to a model specific register of a microprocessor. A method of controlling access to a model specific register of a processor having a normal execution mode and a secure execution mode may include storing processor state and mode information in the model specific register. Further, the method may include protection logic allowing a software invoked write access to modify the information within the model specific register during the normal execution mode. The method may further include security logic selectively inhibiting the software invoked write access during the secure execution mode.

    摘要翻译: 一种控制对微处理器的模型特定寄存器的访问的方法。 控制对具有正常执行模式和安全执行模式的处理器的模型特定寄存器的访问的方法可以包括将处理器状态和模式信息存储在模型特定寄存器中。 此外,该方法可以包括允许软件调用写入访问在正常执行模式期间修改模型特定寄存器内的信息的保护逻辑。 该方法还可以包括在安全执行模式期间选择性地禁止软件调用的写入访问的安全逻辑。