Large logical addressing method and means
    1.
    发明授权
    Large logical addressing method and means 失效
    大逻辑寻址方式和手段

    公开(公告)号:US5381537A

    公开(公告)日:1995-01-10

    申请号:US803320

    申请日:1991-12-06

    IPC分类号: G06F12/10 G06F12/02 G06F12/00

    CPC分类号: G06F12/0292

    摘要: A method and apparatus for translating a large logical address as a large virtual address (LVA) when a dynamic address translation (DAT) mode is on. Each LVA is separated into three concatenated parts: 1. a highest-order part (ADEN) for indexing into an access directory (AD) to locate an entry (ADE) for locating one access list (AL); 2. an intermediate part (ALEN) for indexing into a selected AL to access an entry (ALE) that enables location of an associated conventional address translation table which represents a conventional size virtual address space; and 3. a low-order DAT virtual address (VA) part having the same size as a conventional type of virtual address. The low-order DAT VA part is translated by the associated conventional address translation table. If a carry signal is generated during the creation of the low-order DAT VA part, then a change in the selection of an ALE results. An offset value of ALEs can be utilized to generate an effective ADEN and ALEN, which are utilized for the address translation of the LVA.

    摘要翻译: 当动态地址转换(DAT)模式打开时用于将大的逻辑地址翻译为大的虚拟地址(LVA)的方法和装置。 每个LVA被分成三个级联部分:1.用于索引到访问目录(AD)的最高阶部分(ADEN),以定位用于定位一个访问列表(AL)的条目(ADE); 2.一种用于索引到所选择的AL以访问条目(ALE)的中间部分(ALEN),所述入口(ALE)使得能够定位表示常规大小的虚拟地址空间的相关联的常规地址转换表; 和3.具有与常规类型的虚拟地址相同大小的低阶DAT虚拟地址(VA)部分。 低阶DAT VA部分由相关联的常规地址转换表转换。 如果在创建低阶DAT VA部分期间产生进位信号,则会产生ALE选择的变化。 ALE的偏移值可用于生成有效的ADEN和ALEN,用于LVA的地址转换。

    Process using virtual addressing in a non-privileged instruction to
control the copying of a page of data in or between multiple media
    4.
    发明授权
    Process using virtual addressing in a non-privileged instruction to control the copying of a page of data in or between multiple media 失效
    在非特权指令中使用虚拟寻址来控制数据在多媒体之间或之间复制的过程

    公开(公告)号:US5237668A

    公开(公告)日:1993-08-17

    申请号:US424797

    申请日:1989-10-20

    IPC分类号: G06F12/10 G06F12/14

    CPC分类号: G06F12/10 G06F12/145

    摘要: A single non-privileged instruction copies a page of data from a source virtual address in an electronic medium to a destination virtual address in the same or in a different electronic storage medium, and without the intervention of any supervisory program when each medium and the virtual addresses are previously determined. The instruction is not required to specify which medium it will use, does not require its user to know what backing medium it will access, does not require main storage (MS) to be its backing medium, and allows different types of physical addressing to be used by different media. The instruction can lock any page for use in a multi-processor (MP). No physical direction of data movement is provided within the non-privileged machine instruction, which only designates virtual direction of movement. The separation of virtual direction from physical direction is done by avoiding instruction control over selection of electronic media. The non-privileged instruction can nevertheless express a preference for obtaining a copy of the destination page in an electronic medium in which the content of the page can be processed by further instructions. Also, the instruction can cause invocation of a privileged control program to avoid the need for a following condition code test instruction. A privileged instruction is also provided to wait for the completion of the unprivileged instruction and to invalidate a non-MS medium page whether it is unlocked or locked, either correctly or incorrectly.

    Storage isolation with subspace-group facility
    5.
    发明授权
    Storage isolation with subspace-group facility 失效
    具有子空间组设备的存储隔离

    公开(公告)号:US5361356A

    公开(公告)日:1994-11-01

    申请号:US847521

    申请日:1992-03-06

    摘要: A Branch in Subspace Group (BSG) instruction is executed in problem state (for example by an application program) for providing a fast instruction branch between address spaces within a restricted group of address spaces called a subspace group. The subspace group contains two types of address spaces: a base space and any number of subspaces. The subspace group is set up in a control table associated with each dispatchable unit (DU). This DU control table contains: an identifier of a base space, an identifier of an access list that contains identifiers of all subspaces in the subspace group, an indicator of whether CPU control was last given to a subspace or to the base space, and an identifier of a last entered subspace in the group. The BSG instruction has an operand defining a general register containing the target virtual address and an associated access register containing an access-list-entry token (ALET) defining the target address space. The ALET indexes to a target subspace identifier in the access list, and then the associated virtual address locates the target instruction in the identified target address space. BSG instruction execution controls restrict the BSG branching only to an instruction in the subspace group.

    摘要翻译: 子空间组(BSG)中的分支在问题状态(例如由应用程序)执行,用于在被称为子空间组的受限制的一组地址空间内的地址空间之间提供快速指令分支。 子空间组包含两种类型的地址空间:基本空间和任何数量的子空间。 子空间组设置在与每个可调度单元(DU)相关联的控制表中。 该DU控制表包含:基本空间的标识符,包含子空间组中所有子空间的标识符的访问列表的标识符,CPU控制是否被最后给予子空间或基本空间的指示符,以及 组中最后输入的子空间的标识符。 BSG指令具有定义包含目标虚拟地址的通用寄存器的操作数和包含定义目标地址空间的访问列表入口令牌(ALET)的关联访问寄存器。 ALET索引到访问列表中的目标子空间标识符,然后相关联的虚拟地址将目标指令定位在所识别的目标地址空间中。 BSG指令执行控制将BSG分支限制到子空间组中的指令。

    System for addressing a very large memory with real or virtual addresses
using address mode registers
    7.
    发明授权
    System for addressing a very large memory with real or virtual addresses using address mode registers 失效
    使用地址模式寄存器寻址具有实际或虚拟地址的非常大的存储器的系统

    公开(公告)号:US5423013A

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

    申请号:US754810

    申请日:1991-09-04

    摘要: Allows instructions and data to be located in any one or more of plural sections of a large-size real memory of a data processing system. Any memory section is located by concatenating a conventional small real/absolute address with an address extender used with conventional small-size memory. A Central Processor Extended Address Mode (CPEAM) register content indicates the location of extenders in an AR(s), ASTE(s), STE(s) or PTE(s) for use by a central processor or I/O operations. An Input-Output Extended Address Mode (IOEAM) register content indicates the location of the extenders in ORB(s), CCW(s) or IDAW(s) for use by I/O operations. A compatible mode sets the content to zero for either or both of the CPEAM and IOEAM if either or both is not to be used.

    摘要翻译: 允许指令和数据位于数据处理系统的大尺寸实际存储器的多个部分中的任何一个或多个中。 任何存储器部分通过将传统的小实际/绝对地址与传统的小尺寸存储器使用的地址扩展器连接来定位。 中央处理器扩展地址模式(CPEAM)寄存器内容指示AR(s),ASTE,STE(s)或PTE的扩展器的位置,供中央处理器或I / O操作使用。 输入输出扩展地址模式(IOEAM)寄存器内容指示扩展器在ORB(s),CCW(s)或IDAW中的位置,供I / O操作使用。 如果不使用任何一个或两个,则兼容模式将CPEAM和IOEAM中的一个或两个设置为零。

    Dynamic program analyzer facility
    8.
    发明授权
    Dynamic program analyzer facility 失效
    动态程序分析仪设备

    公开(公告)号:US5454086A

    公开(公告)日:1995-09-26

    申请号:US928937

    申请日:1992-08-11

    CPC分类号: G06F11/3636 G06F9/4425

    摘要: Provides a dynamic execution link between an analyzer program and each hook instruction in a program. Special types of hook instructions are provided for use in a hooked program. The link causes the analyzer program to execute as part of a continuous uninterrupted execution for each hook instruction. The link uses hardware and/or internal code to access a hook control area which provides linkage information needed to invoke the execution of the analyzer program upon completion of the hook instruction and to continue the execution of the hooked program following the completion of the analyzer program. The linkage information includes the entry location into the analyzer program, and also locates the first hook work area (HWA) of a sequence of HWAs, from which an HWA is assigned to each current hook instruction. The assigned HWA stores a return point location in the hooked program at an instruction following the current hook instruction. One or more hooked programs may concurrently use the same analyzer program. As soon as execution by the analyzer program ends for a hook instruction, its assigned HWA is released for use by another hook instruction.

    摘要翻译: 在分析程序与程序中的每个挂钩指令之间提供动态执行链接。 提供特殊类型的挂钩指令用于挂钩程序。 该链接使分析程序作为每个挂钩指令的连续不间断执行的一部分执行。 该链接使用硬件和/或内部代码访问挂钩控制区域,其提供在完成钩指令时调用分析器程序的执行所需的链接信息,并且在分析器程序完成之后继续执行挂钩程序 。 链接信息包括进入分析器程序的入口位置,并且还定位HWAs序列的第一挂钩工作区域(HWA),HWA被分配给每个当前挂钩指令。 所分配的HWA在当前挂钩指令之后的指令处在挂钩程序中存储返回点位置。 一个或多个挂钩程序可以同时使用相同的分析程序。 一旦分析程序的执行结束为​​一个挂接指令,其分配的HWA被释放供另一个钩子指令使用。

    Method and apparatus for fully restoring a program context following an
interrupt

    公开(公告)号:US5987495A

    公开(公告)日:1999-11-16

    申请号:US966374

    申请日:1997-11-07

    IPC分类号: G06F9/46

    CPC分类号: G06F9/463

    摘要: A method and apparatus for fully restoring the context of a user program, including program status word (PSW) and CPU register contents, following an asynchronous interrupt. Upon the occurrence of an asynchronous interrupt event, control is transferred from the normally executing part of the user program to an interrupt handler of the operating system kernel. The kernel interrupt handler saves the contents of the CPU registers and PSW as they existed at the time of the interrupt in a save area associated with the user program before transferring control to a signal catcher routine of the user program. When it has finished handling the interrupt, the signal catcher routine restores the previous state of program execution as it existed before the interrupt by storing the address of the save area in a selected register (which may be a general register/access register pair), restoring the contents of the registers other than the selected register containing the address of the save area, and then restoring the contents of the PSW and selected register by using a new Resume Program (RP) instruction. The RP instruction contains an operand field specifying through the selected register the base address of the save area together with offset fields specifying the offsets of the saved contents of the PSW and selected register relative to the beginning of the save area. Upon decoding an RP instruction, the CPU executing the instruction adds the displacement to the base address contained in the specified register to form the beginning address of the save area, to which it adds the specified offsets to access the saved PSW and selected register contents. The current PSW and selected register contents are then restored with the saved contents to fully restore the previous program context and return control to the instruction being executed at the point of interrupt. To ensure system integrity, only those fields of the PSW are restored that could have otherwise been restored by a program operating in problem state.

    Mechanism for accessing multiple virtual address spaces

    公开(公告)号:US4521846A

    公开(公告)日:1985-06-04

    申请号:US236387

    申请日:1981-02-20

    CPC分类号: G06F12/0292

    摘要: The disclosure provides a general purpose register (GR) mask which associates predesignated address spaces with respective GRs assigned to contain a base value for calculating logical addresses within the address spaces. An address space mask register has a plurality of digit positions which receive the respective digit values comprising a particular GR mask. A respective digit position is selected by a base GR address signal provided by a storage address request from a CPU instruction decoder. The particular value of the selected digit in the mask register controls the selection among a plurality of STO registers, which designate a plurality of simultaneously available address spaces. The selected base GR is used in a System/370 B, D or X, B, D type of logical storage address representation. A base GR explicitly contains an intra-address-space base value. The GR mask assigns an implicit inter-address-space designation to the base GR in a simple manner which is handled by conventional address translation hardware. The available address spaces are respectively designated in STO registers by segment table addresses (called STOs). Any number of STO registers (and available address spaces) may be provided up to the radix of each digit in the GR mask. The executing program exists in the address space designated in one of the STO registers. A plurality of storage protect key registers are respectively associated with the STO registers to control the accessing authorized to the executing program within each available address space. The key value may be independently authorized and provided for each available address space. A cross-memory implementation results which enables a compatible extension of the IBM System/370 architecture by permitting the unrestricted use of all S/370 instructions including storage-to-storage (SS) instructions that can access data simultaneously in plural address spaces in non-privileged state.