Apparatus and method for a load bias--load with intent to semaphore
    1.
    发明授权
    Apparatus and method for a load bias--load with intent to semaphore 失效
    用于信号量的负载偏置负载的装置和方法

    公开(公告)号:US6128706A

    公开(公告)日:2000-10-03

    申请号:US018165

    申请日:1998-02-03

    IPC分类号: G06F9/312 G06F13/00

    摘要: Apparatus and method for efficiently sharing data in support of hardware he coherency and coordinated in software with semaphore instructions. Accordingly, a new instruction called "Load-Bias" which, in addition to normal load operations, requests a private copy of the data, and hints to the hardware cache to try to maintain ownership until the next memory reference from that processor. When used with the Cmpxchg instruction semaphore operation, the Load-Bias instruction will reduce coherency traffic, and minimize the possibility of coherency ping-ponging or system deadlock that causes the condition in which no processor is getting useful work done.

    摘要翻译: 用于有效地共享数据以支持硬件高速缓存一致性并利用信号量指令在软件中协调的装置和方法。 因此,称为“负载偏置”的新指令除了正常的加载操作之外,还请求数据的私有副本,并向硬件缓存提示,以尝试维持所有权,直到来自该处理器的下一个存储器引用。 当与Cmpxchg指令信号量操作一起使用时,负载偏移指令将减少一致性流量,并最大限度地减少一致性乒乓或系统死锁的可能性,从而导致无处理器无法正常工作的条件。

    Method and apparatus for transferring data in a computer system
    2.
    发明授权
    Method and apparatus for transferring data in a computer system 失效
    用于在计算机系统中传送数据的方法和装置

    公开(公告)号:US06199144B1

    公开(公告)日:2001-03-06

    申请号:US09001336

    申请日:1997-12-31

    IPC分类号: G06F1200

    CPC分类号: G06F12/0833

    摘要: A method and apparatus for transferring data from a first memory location to a second memory location in a computer system. A load instruction is executed, and, in response, data is transferred from a first memory location to a second memory location during a single bus transaction. During the same bus transaction, a request is made to invalidate a copy of the data that is stored in a third memory location if the load instruction indicates to do so.

    摘要翻译: 一种用于将数据从计算机系统中的第一存储器位置传送到第二存储器位置的方法和装置。 执行加载指令,并且作为响应,在单个总线事务期间,数据从第一存储器位置传送到第二存储器位置。 在相同的总线事务期间,如果加载指令指示这样做,则请求使存储在第三存储器位置的数据的副本无效。

    Method and apparatus for calculating a page table index from a virtual address

    公开(公告)号:US06393544B1

    公开(公告)日:2002-05-21

    申请号:US09430793

    申请日:1999-10-31

    IPC分类号: G06F1200

    CPC分类号: G06F12/1018 G06F2212/652

    摘要: A method and apparatus calculate a page table index from a virtual address. Employs a combined hash algorithm that supports two different hash page table configurations. A “short format” page table is provided for each virtual region, is linear, has a linear entry for each translation in the region, and does not store tags or chain links. A single “long format” page table is provided for the entire system, supports chained segments, and includes hash tag fields. The method of the present invention forms an entry address from a virtual address, with the entry address referencing an entry of the page table. To form the entry address, first a hash page number is formed from the virtual address by shifting the virtual address right based on the page size of the region of the virtual address. If the computer system is operating with long format page tables, the next step is to form a hash index by combining the hash page number and the region identifier referenced by the region portion of the virtual address, and to form a table offset by shifting the hash index left by K bits, wherein each long format page table entry is 2K bytes long. However, if the computer system is operating with short format page tables, the next step is to form a hash index by setting the hash index equal to the hash page number, and to form a table offset by shifting the hash index left by L bits, wherein each short format page table entry is 2L bytes long. Next, a mask is formed based on the size of the page table. A first address portion is then formed using the base address of the page table and the mask, and a second address portion is formed using the table offset and the mask. Finally, the entry address is formed by combining the first and second address portions. By providing a single algorithm capable of generating a page table entry for both long and short format page tables, the present invention reduces the amount of logic required to access both page table formats, without significantly affecting execution speed.

    Method and apparatus for pre-validating regions in a virtual addressing scheme
    6.
    发明授权
    Method and apparatus for pre-validating regions in a virtual addressing scheme 失效
    用于在虚拟寻址方案中预先验证区域的方法和装置

    公开(公告)号:US06408373B2

    公开(公告)日:2002-06-18

    申请号:US09850878

    申请日:2001-05-07

    IPC分类号: G06F1200

    CPC分类号: G06F12/1036

    摘要: A method and apparatus pre-validate regions in a virtual addressing scheme by storing both the virtual region number (VRN) bits and region identifiers (RIDs) in translation lookaside buffer (TLB) entries. By storing both the VRN bits and RIDs in TLB entries, the region registers can be bypassed when performing most TLB accesses, thereby removing region registers the critical path of the TLB look-up process and enhancing system performance. A TLB in accordance with the present invention includes entries having a valid field, a region pre-validation valid (rpV) field, a virtual region number (VRN) field, a virtual page number (VPN) field, a region identifier (RID) field, a protection and access attributes field, and a physical page number (PPN) field. In addition, a set of region registers contains the RIDs that are active at any given time. When a virtual-to-physical entry is established for a page in a region having an RID stored in a region register, the RID and VRN are stored in the appropriate fields of the TLB entry. In addition, the valid field is set and the rpV field is set to indicate that the TLB entry contains an active VRN-to-RID mapping, thereby pre-validating the region. When a physical address is translated into a virtual address, a VRN and a VPN are extracted from the virtual address and provided to the TLB. The TLB is searched to find an entry having a set valid field, a set rpV field, and VRN and VPN fields containing entries matching the VRN and VPN extracted from the virtual address. If such an entry is found, the protection and access attributes field is used to determine whether the requested access is allowed. If the requested access is allowed, the PPN from the PPN field of the TLB entry is combined with an offset from the virtual address to produce a physical address that is used to complete the memory access.

    摘要翻译: 一种方法和装置通过将虚拟区域号(VRN)位和区域标识符(RID)存储在翻译后备缓冲器(TLB)条目中来对虚拟寻址方案中的区域进行预验证。 通过将VRN位和RID都存储在TLB表中,可以在执行大多数TLB访问时旁路区域寄存器,从而去除区域寄存器中TLB查找过程的关键路径并提高系统性能。 根据本发明的TLB包括具有有效字段,区域预验证有效(rpV)字段,虚拟区域号(VRN)字段,虚拟页号(VPN)字段),区域标识符(RID) 字段,保护和访问属性字段以及物理页号(PPN)字段。 此外,一组区域寄存器包含在任何给定时间处于活动状态的RID。 当在具有存储在区域寄存器中的RID的区域中的页面建立虚拟到物理条目时,RID和VRN被存储在TLB条目的相应字段中。 另外,设置有效字段,并且设置rpV字段以指示TLB条目包含活动的VRN到RID映射,从而预先验证该区域。 当物理地址被转换为虚拟地址时,从虚拟地址提取VRN和VPN,并提供给TLB。 搜索TLB以找到具有设置的有效字段,集合rpV字段的条目,以及包含与从虚拟地址提取的VRN和VPN匹配的条目的VRN和VPN字段。 如果找到这样的条目,则使用保护和访问属性字段来确定所请求的访问是否被允许。 如果允许所请求的访问,则来自TLB条目的PPN字段的PPN与来自虚拟地址的偏移组合,以产生用于完成存储器访问的物理地址。

    Translation mechanism for input/output addresses
    10.
    发明授权
    Translation mechanism for input/output addresses 失效
    输入/输出地址的翻译机制

    公开(公告)号:US5784708A

    公开(公告)日:1998-07-21

    申请号:US647074

    申请日:1996-05-08

    IPC分类号: G06F13/12 G06F12/02 G06F12/10

    摘要: A computing system includes a memory bus, an input/output bus, a main memory, and an input/output adapter. The memory bus provides information transfer. The input/output bus also provides information transfer. For example the input/output bus is an input/output bus onto which is connected input/output devices. The main memory is connected to the memory bus. The main memory includes a page directory. The page directory stores translations. Each translation in the page directory includes a portion of an address for data transferred over the input/output bus, for example, the page address portion of I/O bus address. Each translation in the page directory also is indexed by a portion of an address for a memory location within the main memory, for example, the page address portion of the address for the memory location. The input/output adapter is connected to the memory bus and the input/output bus. The input/output adapter includes an input/output translation look-aside buffer. The input/output translation look-aside buffer includes a portion of the translations stored in the page directory.

    摘要翻译: 计算系统包括存储器总线,输入/输出总线,主存储器和输入/输出适配器。 内存总线提供信息传输。 输入/输出总线还提供信息传输。 例如,输入/输出总线是输入/输出总线,连接有输入/输出总线。 主存储器连接到存储器总线。 主内存包括一个页面目录。 页面目录存储翻译。 页面目录中的每个翻译包括通过输入/输出总线传送的数据的地址的一部分,例如I / O总线地址的页面地址部分。 页面目录中的每个翻译也由主存储器内的存储器位置的地址的一部分索引,例如存储器位置的地址的页面地址部分。 输入/输出适配器连接到存储器总线和输入/输出总线。 输入/输出适配器包括一个输入/输出转换后备缓冲器。 输入/输出转换后备缓冲器包括存储在页目录中的一部分翻译。