Apparatus and method for providing simultaneous local and global addressing with hardware address translation

   
   

An apparatus and method provide simultaneous local and global addressing capabilities. A global address space is defined that may be accessed by all processes. In addition, each process has a local address space that is local (and therefore available) only to that process. An address translation mechanism is implemented, preferably in hardware, to compare an address to defined addresses for local and global addressing and to detect when a virtual address computation result would go outside a boundary for the appropriate addressing scheme. The address translation mechanism maps a virtual address to a corresponding physical address, and uses different criteria depending on whether the address is local or global. The address translation mechanism allows an instruction to operate on both local and global addresses by determining at run-time which address space is referenced, and by performing the necessary translation and boundary checking for either global or local address space, whichever is accessed by the instruction. By providing both global and local addressing for the same instructions, the apparatus and method of the present invention provide great flexibility in addressing, allowing a computer program to benefit from the advantages of both addressing modes.

Ein Apparat und eine Methode liefern simultane lokale und globale Adressierungsmöglichkeite. Ein Generaladresseraum wird definiert, der durch alle Prozesse erreicht werden kann. Zusätzlich hat jeder Prozeß einen lokalen Adressbereich, der (und folglich vorhanden) nur zu diesem Prozeß lokal ist. Eine Adresse Übersetzung Einheit wird, vorzugsweise in den Kleinteilen, um eine Adresse mit definierten Adressen für die lokale und Generaladresse zu vergleichen eingeführt und zu ermitteln, als ein virtuelles Adresse Berechnung Resultat außerhalb einer Grenze für den passenden wendenden Entwurf gehen würde. Die Adresse Übersetzung Einheit bildet eine virtuelle Adresse zu einer entsprechenden körperlichen Adresse ab und verwendet unterschiedliche Kriterien abhängig von, ob die Adresse lokal oder global ist. Die Adresse Übersetzung Einheit erlaubt eine Anweisung, die lokalen und Generaladressen an laufen zu lassen, indem sie an der Laufzeit feststellt, die Adressbereich bezogen wird, und indem sie die notwendige Übersetzung und die Grenze durchführt, die entweder auf globalen oder lokalen Adressbereich überprüfen, welches durch die Anweisung erreicht wird. Vom Zur Verfügung stellen des globalen und lokalen Wendens für die gleichen Anweisungen, stellen die Apparate und die Methode der anwesenden Erfindung große Flexibilität beim Wenden zur Verfügung und lassen ein Computerprogramm von den Vorteilen beider Adressierungsarten profitieren.

 
Web www.patentalert.com

< Image output apparatus and method

< Telephone system integrated text based communication processes, apparatus and systems

> Semiconductor device manufacturing line

> Method and apparatus for using a non-committing data cache to facilitate speculative execution

~ 00113