Apparatus and method for providing simultaneous local and...

Electrical computers and digital processing systems: memory – Address formation – Address mapping

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S203000, C711S112000, C711S163000, C711S206000

Reexamination Certificate

active

06574721

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates in general to the data processing field. More specifically, the present invention relates to the field of addressing schemes in computer systems.
2. Background Art
Since the dawn of the computer age, computer systems have evolved into extremely sophisticated devices that may be found in many different settings. Computer systems typically include a combination of hardware (e.g., semiconductors, circuit boards, etc.) and software (e.g., computer programs). As advances in semiconductor processing and computer architecture push the performance of the computer hardware higher, more sophisticated computer software has evolved to take advantage of the higher performance of the hardware, resulting in computer systems today that are much more powerful than just a few years ago.
Computer systems have addressing capabilities that are defined by the computer hardware. The address space of a computer system is the range of addresses available to reference data, instructions, etc., and is determined by the size (in bits) of the address. The address size is one of the fundamental architectural features of a computer system. Early computer systems were single-user computers that could handle only a single task at a time, mapping all data into a single address space, and swapping data into and out of the address space whenever a new task needed to be performed. Later, computers were developed that supported multiple users and processes. A computer system that supports multiple processes must manage the allocation of the address space among the different processes. Because the addresses needed for all the processes that might run on a computer system typically exceeds the physical address space defined by the address, a separate address space is typically allocated to each process, resulting in multiple virtual address spaces. This type of addressing is known as “local addressing”, because each process has its own virtual address space that is local to the process, and cannot be seen by other processes.
In a local addressing scheme, having multiple virtual address spaces mapped onto a physical (real) address space may very well result in a physical address being mapped to the same virtual address in different processes. When a process is loaded into main memory, a mapping mechanism maps virtual addresses in the virtual address space of the process to physical addresses in the memory of the computer system. This mapping function increased the complexity of the operating system that had to perform the virtual address mapping, but was required to allow multiple virtual address spaces to exist that are collectively larger than the physical address space.
An alternative addressing scheme to local addressing is known as “global addressing”, where one address space is used that is sufficiently large that it can be divided up among processes without overlapping between them. The benefit of a global addressing scheme is that programs and data in a computer system can be assigned persistent, unique logical addresses in the large system address space. Because these logical addresses are not duplicated, they can be used to identify data either in main memory or in secondary memory, such as on a hard disk drive. Examples of computer systems that use global addressing schemes are the IBM System/38 computer system formerly manufactured and distributed by IBM Corporation, the IBM AS/400 computer system currently manufactured and distributed by IBM, and the Opal system developed at the University of Washington. For additional background concerning the IBM System/38 and IBM AS/400 system, see IBM System/38 Technical Developments (IBM, 1978); IBM Application System/400 Technology (IBM, 1988); and IBM Application System/400 Technology Journal, Version 2 (IBM, 1992). The Opal system is described in a series of academic papers, including J. Chase et al., “Opal: A Single Address Space System for 64-bit Architectures”, Proc. IEEE Workshop on Workstation Operating Systems (April 1992).
Current IBM AS/400 computer systems can operate in different modes. When an AS/400 system is operating in single address space mode, it operates with global addressing. When an AS/400 system is operating in multiple address space mode, it operates with local addressing. While the AS/400 system supports either of these addressing schemes, it currently does not support both of them at the same time. Once the mode is set, the addressing scheme is set until the mode is changed at a later time. Without an apparatus and method for providing simultaneous local and global addressing, the computer industry will continue to suffer from the requirement of selecting either local or global addressing to the exclusion of the other.
DISCLOSURE OF INVENTION
According to the present invention, an apparatus and method provide simultaneous local and global addressing capabilities in a computer system. 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 space processor is implemented in software to perform system functions that distinguish between local addresses and global addresses. In the preferred embodiments, the local address space has a size that is a multiple of the size of a segment of global address space. When the hardware indicates a page fault, the address space processor determines whether the address being translated is a local address or a global address. If the address is a local address, the address space processor uses a local directory to process the page fault. If the address is a global address, the address space processor uses a global directory to process the page fault. When the hardware indicates an addressing error because a computed address crosses a global segment boundary, the address space processor determines whether the address is a local address or a global address. If the address is a global address, the address space processor indicates an addressing error. If the address is a local address, the address space processor determines whether the address is within the process' local address space, and indicates an addressing error if the address is outside the process' local address space. Instructions are allowed to operate on both local and global addresses because the address space processor handles either type of address whenever software assistance is required, such as for servicing a page fault or checking a segment boundary crossing. In addition, the address space processor dynamically checks the addressing compatibility of called code before passing control to the called code. By providing both global and local addressing, 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.
The foregoing and other features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings.


REFERENCES:
patent: 5613071 (1997-03-01), Rankin et al.
patent: 5852716 (1998-12-01), Hagersten
patent: 5862357 (1999-01-01), Hagersten et al.
patent: 5887138 (1999-03-01), Hagersten et al.
patent: 5896501 (1999-04-01), Ikeda et al.
patent: 5923847 (1999-07-01), Hagersten et al.
patent: 5940870 (1999-08-01), Chi et al.
patent: 6101590 (2000-08-01), Hansen
patent: 6256715 (2001-07-01), Hansen
Tanenbaum, “Structured Computer Organization” 2nd ed., © 1984, pp. 10-12.*
Tanenbaum, “Structured Computer Organization”, © 1984, Prentice-Hall, Inc., p. 11.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Apparatus and method for providing simultaneous local and... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Apparatus and method for providing simultaneous local and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Apparatus and method for providing simultaneous local and... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3090363

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.