EP0331900A2

Method and apparatus for capability control.

Abstract

A method and apparatus is provided to translate the contents of access registers into information for use in performing addressing functions for multiple virtual address spaces. The access registers represent the full addressing capability of the system but do not directly contain the addressing information. The system has a plurality of general purpose registers (20), a plurality of access registers (22) associated with the general registers, an access list (24,25) having access list entries which is addressed by the contents of the access register, memory storage (30) for holding address space number second table entries (ASTE) (98), where the contents of the access list entry locate the ASTE and where the ASTE contains the addressing information needed to locate a virtual address when combined with the contents of a general register. Access register translation (ART) consists of the process of determining addressing information by using the access list entry and the ASTE. The system has available to it at any one time a selection of one of two domains each represented by an access list. One domain is related to the dispatchable unit task to be performed and the other is related to the address space in which a particular program operates. The ART process selects the domain which the access register is using.

EP0331900A2, drawing sheet 1
Sheet 1 of 17

Term

Term ended

Projected expiry passed 2 February 2009, 17.6 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

15 claims: 2 independent, 13 dependent

  1. 1
    Capability domain control mechanism in a computer system, characterized by a central processor unit (CPU);a plurality of general purpose register (GPR) connected to the central processor (CPU) for holding at preselected times a first address component for virtual address translation;a plurality of access register (16) connected to the central processor (CPU) and having each of the access register means (16) associated with one general purpose register (GPR), said access regist­ers containing means for identifying a second address component to be associated with said first address component in the general purpose register (GPR) associated with access register (16);a first access list containing a plurality of access list entries, each valid entry associated with an address to an address space, each access bit entry being capable of being indexed by the contents of an access register (AR), the access list being representative of a first domain of address spaces having predetermined capabilities;a second access list containing a plurality of access list entries, each valid entry associated with an address to an address space, each access list entry being capable of being indexed by the contents of an access register (AR), the access list means being representative of a second domain of address spaces having predetermined capabilities;indicating means for pointing to one of said access list in response to the contents of an access register (AR);and means for causing said second address component to be determined as a result of which access list is pointed to by said indicating means to allow the system to switch capabilities by switching address domains.
  2. 2
    Capability control mechanism of Claim 1, characterized in that the first access list means is representative of a dispatchable unit access list domain;and that the second access list means is representative of a primary space access list domain;that the system has more than one user each having different dispatchable unit access list domains unique to each said user and each user sharing said primary space access list domain.
  3. 3
    Capability control mechanism of Claim 2, characterized in that each of said access list means is uniquely identified by access list origin information;that in a plurality of control registers is associat­ed with said control process and said access list origin information is stored in a specified control register associated with each access list;and that the contents of each of the access registers (ARs) contains information to identify the control register holding the access list origin information for the access list domain specified by said AR.
  4. 4
    Method for controlling capability domains in a computer system having a plurality of general purpose registers and a plurality of access registers associated with said general purpose registers, characterized by determining if said general purpose register (GPR) holds a first address component;by determining from the access register (16) associated with the general purpose register (GPR) an access list pointing identifier where said access list represents a capability domain, if said GPR does hold a first address component;by determining from the access register (16) associat­ed with the general purpose register (GPR) an access list entry identifier, if the general purpose register (GPR) does hold a first address component;by selecting an access list representative of a capability domain from said access list pointing identifier;by selecting an access list entry from said selected access list, said access list entry containing means for identifying a second address component for determining real addresses from virtual addresses when used with said first component.
  5. 5
    Method of Claim 4, characterized in that the selected access list domain is the dispatch­able unit access list domain which has the capabili­ty of the task to be performed.
  6. 6
    Method of Claim 4, characterized in that the selected access list is the primary space access list domain which has the capabilities of the primary address space.
  7. 7
    Method of Claim 4, characterized in that the selected access list domain is the system wide access list (SWAL) domain which has the capabili­ties of all programs in the system.
  8. 8
    Method of Claim 4, characterized in that the computer system has control registers and in which said access list pointing identifier selects a control register having the address and size of the access list contained therein.
  9. 9
    Method of Claim 4, characterized in that the selected access list domain is the secondary space address list (SSAL) access list domain having the capabilities of the secondary address space number (SASN) address space.
  10. 10
    Method of Claim 4, characterized in that the capabilities of a user may be changed by changing from a first domain to a second domain.
  11. 11
    Method of Claim 4, characterized in that the capabilities of all users of a domain are changed by changing the domain access list capabilities.
  12. 12
    Capability domain control mechanism according to one of claims 1 to 3, characterized by a plurality of general purpose register (GPR) means for containing a first component of a virtual address;by a plurality of access register (16) each associat­ed with a particular one of said general register means, each of said access register (AR) means having the capability of holding an access list entry token (ALET);by a first access list containing a plurality of access list entries, each valid entry associated with an address to an address space, each access list entry being capable of being indexed by an access list entry token (ALET) from an access register (AR), said access list means being re­presentative of a first domain of address spaces having predetermined capabilities;by a second access list containing a plurality of access list entries, each valid entry associated with an address to an address space, each access list entry being capable of being indexed by an access list entry token (ALET) from an access register (AR), said access list means being re­presentative of a second domain of address spaces having predetermined capabilities;by first control register for containing information to access said first access list in response to the contents of an access list entry token (ALET) from an access register (AR);by second control register for containing information to access said second access list in response to the contents of an access list entry token (ALET) from an access register (AR);by selecting means for selecting said first control register means or said second control register means in response to the contents of an access list entry token (ALET) from an access register (AR) to deter­mine whether said first access list means or said second access list means is the selected access list for access list entries;by means for obtaining an access list entry from said selected access list corresponding to an access list entry token (ALET) in an access register (AR) means at the time the associated GPR means is activated in an addressing operation;by memory means for containing address space number second table entries (ASTE);by means for identifying an second table entry (ASTE) entry from said access list entry from said selected access list and for obtaining the second table entry (ASTE), wherein the ASN second table entry (AST) contains a second component for virtual address translation;and by virtual address translation means for using said first and second components for virtual address translation to obtain real addresses.
  13. 13
    Capability domain control mechanism of Claim 12, characterized in that the first access list means is representative of a dispatchable unit access list domain;that the second access list means is representative of a primary space access list domain;and that the system has more than one user each having different dispatchable unit access list domains unique to each of said user and each user sharing said primary space access list domain.
  14. 14
    Capability domain control mechanism of Claim 12, characterized in that one of said access lists is representative of a system wide access list (SWAL) domain having all capabilities of the system.
  15. 15
    Capability domain control mechanism of Claim 12, characterized in that one of said access lists is representative of a secondary address space access list (SSAL) domain having the capabilities of a secondary address space.
Independent claims15