US20150178228A1 - Information processing apparatus - Google Patents
Information processing apparatus Download PDFInfo
- Publication number
- US20150178228A1 US20150178228A1 US14/642,888 US201514642888A US2015178228A1 US 20150178228 A1 US20150178228 A1 US 20150178228A1 US 201514642888 A US201514642888 A US 201514642888A US 2015178228 A1 US2015178228 A1 US 2015178228A1
- Authority
- US
- United States
- Prior art keywords
- psw
- new
- cpu
- memory
- status word
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/3004—Arrangements for executing specific machine instructions to perform operations on memory
- G06F9/30043—LOAD or STORE instructions; Clear instruction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30094—Condition code generation, e.g. Carry, Zero flag
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/3017—Runtime instruction translation, e.g. macros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/32—Address formation of the next instruction, e.g. by incrementing the instruction counter
- G06F9/322—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address
- G06F9/327—Address formation of the next instruction, e.g. by incrementing the instruction counter for non-sequential address for interrupts
Definitions
- the embodiments discussed herein are directed to an information processing apparatus and an interrupt control program.
- an information processing apparatus such as a server, emulates a CPU (Central Processing Unit) that has architecture different from that of a physical CPU installed in the information processing apparatus.
- the information processing apparatus also emulates, in addition to the CPU, an OS (Operating System) that is different from an OS installed in the information processing apparatus.
- OS Operating System
- a server equipped with an open source OS such as LINUX (registered trademark) reproduces a general-purpose OS, which is installed in mainframe, within the own server and runs application or the like for the general-purpose OS.
- LINUX registered trademark
- Such an information processing apparatus not only executes instruction emulation for reproducing an instruction for a different architecture but also executes an interrupt process when any exception occurs.
- an interrupt process for example, Japanese Laid-open Patent Publication No. 58-117059 discloses a technology, in which a status monitoring function, which has been reset every time an interrupt process occurs, is reset only when the reset is needed.
- Japanese Laid-open Patent Publication No. 62-043737 discloses a technology, in which a PSW (Program Status Word) corresponding to an interrupt process is fixedly stored in a buffer memory that is different form a general buffer memory so that time taken to load the PSW at the time of the interrupt process can be shortened.
- PSW Program Status Word
- PSA Program Save Area
- a PSW Program Save Area
- a PSA is an area of a memory for storing information, such as a PSW corresponding to an interrupt process. Even if the PSA is locked in order to prevent overwriting, when information in the PSA needs to be updated, the lock is released, so that a PSW may be overwritten at the time of the update.
- a CPU may overwrite a PSA that is reserved by another CPU.
- a PSW stored in the PSA is rewritten; therefore, a conventional information processing apparatus executes a determination process for determining whether or not a PSW corresponding to an interrupt process contains an error every time an interrupt process occurs. Because the determination process is executed every time an interrupt process occurs, there is a problem in that time taken to execute the interrupt process increases.
- a PSW contains an error is determined by checking values in a plurality of fields in the PSW of 64 bits. For example, when emulating an OS in a 31-bit address mode, an information processing apparatus determines whether bits 24 to 31 are 1 or not. The information processing apparatus also checks a value of each of bit 0 , bits 2 and 3 , a bit 12 , a bit 16 , and a bit 17 . When all of the bits have normal values, the information processing apparatus executes an interrupt process.
- the information processing apparatus executes the above determination process every time an interrupt process occurs, when interrupt processes occur frequently, the determination process on the PSW becomes a bottleneck. Therefore, overhead in the interrupt process increases and time taken before a start of the interrupt process increases, resulting in increasing time taken to the interrupt process as a whole.
- an information processing apparatus includes a memory that stores therein a program status word containing an address of data that is to be read when an interrupt process is executed; and a processor determines whether or not the program status word stored in the memory is available, controls the memory to stores a determination result in the memory in association with the program status word, acquires the program status word and the determination result from the memory when the interrupt process occurs, and reads data on the basis of the address contained in the acquired program status word when the acquired determination result indicates that the program status word is available.
- FIG. 1 is a block diagram of a configuration of an information processing apparatus according to a first embodiment
- FIG. 2 is a block diagram of a configuration of an information processing apparatus according to a second embodiment
- FIG. 3 illustrates an example of information stored in a PSA area
- FIG. 4 illustrates an example of determination of available flags stored in a new-PSW storage area
- FIG. 5 illustrates an example of determination of check results stored in the new-PSW storage area
- FIG. 6 is a diagram explaining an example of a relationship between a format check of a new PSW and an interrupt process
- FIG. 7 is a flowchart of the flow of the format check of a new PSW
- FIG. 8 is another flowchart of the flow of the format check of a new PSW
- FIG. 9 is a flowchart of the flow of the interrupt process
- FIG. 10 illustrates an example in which the format check of a new PSW is executed by using a plurality of CPUs
- FIG. 11 illustrates an example in which the format check of a new PSW is executed for a plurality of instruction executing CPUs.
- FIG. 12 illustrates an example of a computer system that executes an interrupt control program.
- FIG. 1 is a block diagram of a configuration of an information processing apparatus according to a first embodiment.
- an information processing apparatus 1 is an apparatus, such as a server, that includes a memory 2 , a CPU (Central Processing Unit) 3 , and a CPU 4 , which are connected to one another via a bus.
- the memory 2 is, for example, a memory for storing a program status word corresponding to an interrupt process and storing a determination result indicating whether or not the program status word contains an error, in an associated manner.
- the program status word is also referred to as a PSW (Program Status Word).
- the program status word corresponding to an interrupt process contains an instruction address (IA) indicating a storage destination of data, in which an execution content (an instruction) of the interrupt process is defined, and contains data that is determined in advance in accordance with a data format of the PSW.
- the CPU reads an instruction address from a program status word corresponding to an interrupt process in response to occurrence of an interrupt and reads an instruction for the interrupt process on the basis of the read instruction address.
- the CPU 3 is an arithmetic processing device that does not execute various processes, such as a normal arithmetic process and an interrupt process, and includes a determining unit 3 a and a result storing unit 3 b .
- the determining unit 3 a determines whether or not a program status word corresponding to an interrupt process contains an error, that is, whether or not the program status word can be used as a header of an instruction address.
- the determination of the program status word is performed by determining whether data, which is determined in advance in accordance with a data format and which is contained in the program status word, matches a data format.
- the result storing unit 3 b stores the program status word that is determined by the determining unit 3 a and a determination result in the memory 2 in an associated manner.
- the CPU 4 is an arithmetic processing device that executes various processes, such as a normal arithmetic process and an interrupt process, and includes a result acquiring unit 4 a and a process executing unit 4 b .
- the CPU 4 executes a process for emulating a CPU or an OS (Operating System) having architecture that is different from that of a CPU or an OS installed on the information processing apparatus 1 .
- the result acquiring unit 4 a acquires, when an interrupt process occurs, a determination result of a program status word corresponding to the interrupt process from the memory 2 .
- the process executing unit 4 b acquires the program status word associated with the determination result from the memory 2 and executes the interrupt process by using an instruction address of the acquired program status word.
- the information processing apparatus 1 causes the CPU 3 , which does not execute various processes, such as an interrupt process, to check a PSW before occurrence of an interrupt.
- various processes such as an interrupt process
- the information processing apparatus 1 starts the interrupt process without checking the PSW. Therefore, it is possible to shorten a process time of the interrupt process.
- the CPU 4 may include the determining unit 3 a and the result storing unit 3 b in addition to the result acquiring unit 4 a and the process executing unit 4 b . By executing the determination process between various processes, such as a normal arithmetic process and an interrupt process, the CPU 4 can execute the interrupt process without performing a format check of a PSW.
- a PSW Program Status Word
- new PSW a PSW that is maintained in a register by the CPU at the time of occurrence of the interrupt process
- FIG. 2 is a block diagram of the configuration of the information processing apparatus according to the second embodiment.
- an information processing apparatus 10 includes a communication control I/F 11 , an input-output I/F 12 , an storage device 13 , a main memory 14 , an instruction executing CPU 15 , and a checking CPU 16 , which are connected to one another via a bus.
- the communication control I/F 11 is an interface, such as a network card, that controls communication with other devices.
- the communication control I/F 11 receives various requests from the other devices and transmits results of processes or the like to the other devices.
- the input-output I/F 12 is, for example, an input device, such as a keyboard or a mouse, and an output device, such as a display or a speaker.
- the input-output I/F 12 receives a transaction execution instruction from an administrator or the like and displays a result of execution.
- the storage device 13 is a storage device, such as a hard disk drive, for storing various types of data to be used by the instruction executing CPU 15 for executing instructions.
- the main memory 14 is a main memory or the like for storing various types of data or programs to be used by the instruction executing CPU 15 for executing instructions.
- the main memory 14 includes an emulation area 14 a , a new-PSW storage area 14 c , and a configuration-information storage area 14 d.
- the emulation area 14 a is an area representing a memory space for an OS or the like to be emulated by the instruction executing CPU 15 .
- the emulation area 14 a includes a PSA (Program Save Area) area 14 b .
- PSA Program Save Area
- the emulation area 14 a represents a memory space for the general-purpose OS.
- the PSA area 14 b is an area that is reserved in advance within the emulation area 14 a and that stores therein a new PSW, which is loaded at the time of occurrence of an interrupt, and an old PSW, which is maintained by the instruction executing CPU 15 at the time of occurrence of the interrupt.
- the PSA area 14 b also stores therein interrupt related information, such as contents of a register at the time of occurrence of an interrupt, or an interrupt code.
- FIG. 3 illustrates an example of information stored in the PSA area.
- the PSA area illustrated in FIG. 3 is reserved and stored in a low address area from 0 bytes to 512 bytes in the emulation area 14 a .
- the values illustrated in FIG. 3 are just examples, and the present invention is not limited to these examples.
- the types of interrupts illustrated in FIG. 3 are just examples, and the present invention is not limited to these examples.
- a new PSW that is to be loaded by the instruction executing CPU 15 when a restart interrupt occurs is stored in “0 bytes to 7 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of a restart interrupt is stored in “8 bytes to 15 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of an external interrupt is stored in “24 bytes to 31 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of an SVC (supervisor call) interrupt is stored in “32 bytes to 39 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of a program interrupt is stored in “40 bytes to 47 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of machine check is stored in “48 bytes to 55 bytes”.
- An old PSW that is maintained in a register or the like by the instruction executing CPU 15 at the time of occurrence of an input-output interrupt is stored in “56 bytes to 63 bytes”.
- a new PSW that is to be loaded by the instruction executing CPU 15 when an external interrupt occurs is stored in “88 bytes to 95 bytes”.
- a new PSW that is to be loaded by the instruction executing CPU 15 when an SVC interrupt occurs is stored in “96 bytes to 103 bytes”.
- a new PSW that is to be loaded by the instruction executing CPU 15 when a program interrupt occurs is stored in “104 bytes to 111 bytes”.
- a new PSW that is to be loaded by the instruction executing CPU 15 when machine check occurs is stored in “112 bytes to 119 bytes”.
- a new PSW that is to be loaded by the instruction executing CPU 15 when an input-output interrupt occurs is stored in “120 bytes to 127 bytes”.
- Interrupt related information, control information used by the information processing apparatus 10 at the time of execution of various processes, and the like are stored in “128 bytes to 512 bytes”.
- the new-PSW storage area 14 c is an area for sharing information, which is used when an interrupt occurs, between the instruction executing CPU 15 and the checking CPU 16 .
- the new-PSW storage area 14 c stores therein “a new PSW, an available flag, and a check result” in association with each “interrupt type”.
- the “interrupt type” indicates a type of an interrupt, such as an external interrupt, an input-output interrupt, or a program interrupt.
- the “new PSW” is, for example, a 64-bit PSW to be loaded when an interrupt occurs, and is written in a format according to specifications of an emulation operating mechanism or the like included in the information processing apparatus 10 .
- the “available flag” is a 2-bit flag used for determining whether or not a new PSW is available.
- a “bit 0 of the available flag” is a flag indicating whether or not a new PSW in the PSA area 14 b is rewritten. When the new PSW is rewritten, “1” is stored in this flag, and when the new PSW is not rewritten, “0” is stored in this flag.
- a “bit 1 of the available flag” is a flag indicating whether or not the checking CPU 16 has completed a format check of a new PSW. When the format check is completed, “1” is stored in this flag, and when the format check is not completed, “0” is stored in this flag.
- FIG. 4 illustrates an example of determination of available flags stored in the new-PSW storage area. As illustrated in FIG. 4 , when “bit 0 , bit 1 ” is “0, 0”, it is indicated that a new PSW which has not been updated and a format of which has not been checked is stored, so that the instruction executing CPU 15 determines that the new PSW is unavailable.
- bit 0 , bit 1 When “bit 0 , bit 1 ” is “1, 0”, it is indicated that a new PSW which has been updated but a format of which has not been checked is stored, so that the instruction executing CPU 15 determines that the new PSW is unavailable.
- bit 0 , bit 1 When “bit 0 , bit 1 ” is “0, 1”, it is indicated that a new PSW of which format has been checked is stored, so that the instruction executing CPU 15 determines that the new PSW is available.
- bit 0 , bit 1 ” When “bit 0 , bit 1 ” is “1, 1”, it is indicated that a new PSW of which format has been checked but which has been updated after the format check is stored, so that the instruction executing CPU 15 determines that the new PSW is unavailable. While an example in which 2-bit information is used is explained above, the present invention is not limited to this example.
- the “check result” is 2-bit information indicating a result of determination that is performed by the checking CPU 16 to determine whether or not a PSW contains an error, for example, a result of the format check of a new PSW.
- FIG. 5 illustrates an example of determination of check results stored in the new-PSW storage area. As illustrated in FIG. 5 , a value of “00” indicates that a format of a new PSW is correct and a value of “01” indicates that a format of a new PSW is incorrect. A value of “10” indicates that an instruction address (IA) of a new PSW is an odd number and a value of “11” is not used in the present embodiment. While an example in which 2-bit information is used is explained above, the present invention is not limited to this example.
- the configuration-information storage area 14 d stores therein system configuration information, such as the number of instruction executing CPUs or the number of extra CPUs, that is used for determining how to allocate the checking CPU 16 or the instruction executing CPU 15 .
- the “number of instruction executing CPUs” is the number of CPUs that execute an instruction or that are executing an instruction
- the “number of extra CPUs” is the number of CPUs that do not execute an instruction or that are not executing an instruction.
- the information stored as above may be stored by an administrator or the like, or may be stored by the information processing apparatus 10 in accordance with a load status of each CPU or an instruction processing status of each CPU.
- the instruction executing CPU 15 is a CPU that executes an interrupt process except for the format check of a new PSW and that executes an instruction emulation process.
- the instruction executing CPU 15 includes an instruction-emulation executing unit 15 a , an interrupt executing unit 15 b , and a new-PSW updating unit 15 c .
- the instruction executing CPU 15 executes a normal arithmetic process or the like in addition to a process for emulating an OS or a CPU that has architecture different from architecture of an OS or a CPU included in the information processing apparatus 10 .
- the instruction-emulation executing unit 15 a emulates an OS or a CPU and executes an instruction from the emulated OS or the emulated CPU. For example, the instruction-emulation executing unit 15 a executes an instruction from the emulated OS or the emulated CPU by using the emulation area 14 a represented in the main memory 14 , thereby executing an instruction emulation process.
- the interrupt executing unit 15 b acquires a determination result of a new PSW corresponding to the interrupt process from the new-PSW storage area 14 c .
- the interrupt executing unit 15 b acquires, from the new-PSW storage area 14 c , the new PSW that is associated with the determination result and executes the interrupt process by using an instruction address of the acquired new PSW.
- the interrupt executing unit 15 b stores an old PSW, which is maintained in a register or the like at the time of occurrence of the external interrupt, in the PSA area 14 b . Subsequently, the interrupt executing unit 15 b acquires, from the new-PSW storage area 14 c , an “available flag” associated with a new PSW of the external interrupt. When the acquired “available flag” is “0, 0”, “1, 0”, or “1, 1”, the interrupt executing unit 15 b determines that the new PSW is unavailable, and monitors the “available flag” until the “available flag” becomes “0, 1” or executes exception handling.
- the interrupt executing unit 15 b determines that the new PSW is available and acquires a “check result” associated with the new PSW from the new-PSW storage area 14 c .
- the interrupt executing unit 15 b clears the available flag after the exception handling is completed. Or the available flag is cleared by the exception handling after the exception handling is completed.
- the interrupt executing unit 15 b determines that a format of the new PSW is correct and acquires the new PSW from the new-PSW storage area 14 c . Subsequently, the interrupt executing unit 15 b ends the external interrupt process by using an instruction address of the acquired new PSW.
- the interrupt executing unit 15 b determines that the format of the new PSW is incorrect and ends the process or executes exception handling.
- the interrupt executing unit 15 b determines that the instruction address of the new PSW is an odd number and ends the process or executes exception handling.
- the interrupt executing unit 15 b When the executed interrupt process is completed, the interrupt executing unit 15 b notifies the instruction-emulation executing unit 15 a of completion of the interrupt process.
- the instruction-emulation executing unit 15 a that has received the notice loads the old PSW that has been stored in the PSA area 14 b upon occurrence of the interrupt, and resumes a process that has been interrupted due to the occurrence of the interrupt by using an instruction address of the old PSW.
- the new-PSW updating unit 15 c updates a new PSW stored in the PSA area 14 b .
- the new-PSW updating unit 15 c updates a corresponding new PSW.
- the new-PSW updating unit 15 c changes a value of the “bit 0 ” of the “available flag”, which is stored in the new-PSW storage area 14 c in association with the updated new PSW, to “1”. That is, the new-PSW updating unit 15 c synchronizes the update of the new PSW with the update of the “available flag”.
- the new-PSW updating unit 15 c executes a trap for detecting update of a new PSW, and when detecting the update of the new PSW, sends a notice to a kernel.
- the kernel that has received the notice excludes an access to the corresponding new PSW.
- the new-PSW updating unit 15 c updates a value of the “bit 0 ” of the “available flag” corresponding to the new PSW to “1”. In this manner, the new-PSW updating unit 15 c can synchronize the update of the new PSW with the update of the “available flag”. Furthermore, it is possible to prevent the new PSW from being loaded during a time period from the update of the new PSW to the update of the “available flag”.
- the checking CPU 16 is a CPU that determines whether a format of a new PSW has an error or not.
- the checking CPU 16 includes a check processing unit 16 a and a check-result storing unit 16 b .
- the checking CPU 16 is a CPU that does not execute various processes, such as a normal arithmetic process and an interrupt process. The type of an interrupt for which a format check is to be executed can be arbitrarily specified.
- the check processing unit 16 a executes a format check for determining whether or not a new PSW corresponding to an interrupt process has an error, at a predetermined time interval. For example, when a new PSW is newly stored in the PSA area 14 b through operation of an OS or the like or when it is detected that the “bit 0 ” of the “available flag” in the new-PSW storage area is changed to “1”, the check processing unit 16 a loads a corresponding new PSW from the PSA area 14 b and executes a format check.
- a method of the format check executed by the check processing unit 16 a is specified by an address mode of a CPU or the like or a bit width. Because the information processing apparatus 10 can arbitrarily use a CPU and an address mode, any check methods that correspond to the address mode can be used.
- the check processing unit 16 a checks whether all of values of bits 24 to 32 are 0 and whether a value of a bit 0 is 0, among a new PSW of 64 bits. Furthermore, the check processing unit 16 a checks whether values of bits 2 and 3 are 0, whether a value of a bit 12 is 1, whether a value of a bit 16 is 0, whether a value of a bit 17 is 1, and whether an instruction address of the new PSW is not an odd number. Then, the check processing unit 16 a outputs a check result to the check-result storing unit 16 b.
- the check-result storing unit 16 b stores the new PSW, for which whether there is an error or not has been determined by the check processing unit 16 a , and a determination result in the new-PSW storage area 14 c in an associated manner. For example, assuming that the check-result storing unit 16 b receives, from the check processing unit 16 a , a notice indicating that “a format of the new PSW is correct” as a check result of the new PSW for an input-output interrupt, the check-result storing unit 16 b stores “the new PSW for the input-output interrupt” and the check result of “00” in the new-PSW storage area 14 c in an associated manner, and stores “1” in the bit 1 of the “available flag”.
- the check-result storing unit 16 b receives, from the check processing unit 16 a , a notice indicating that “an instruction address of the new PSW is an odd number” as a check result of the new PSW for an external interrupt, the check-result storing unit 16 b stores “the new PSW for the external interrupt” and the check result of “10” in the new-PSW storage area 14 c in an associated manner, and stores “1” in the bit 1 of the “available flag”.
- the check-result storing unit 16 b receives, from the check processing unit 16 a , a notice indicating that “a format of the new PSW is incorrect” as a check result of the new PSW for a program interrupt, the check-result storing unit 16 b stores “the new PSW for the program interrupt” and the check result of “01” in the new-PSW storage area 14 c in an associated manner, and stores “1” in the bit 1 of the “available flag”.
- FIG. 6 is a diagram explaining an example of a relationship between the format check of a new PSW and the interrupt process.
- the PSA area 14 b stores therein a new PSW corresponding to a program interrupt and a new PSW corresponding to an input-output interrupt.
- the checking CPU 16 periodically or continuously monitors the “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW corresponding to the input-output interrupt (hereinafter, this PSW is described as a new PSW (input output)).
- this PSW is described as a new PSW (input output)
- the checking CPU 16 loads the new PSW (input output) from the PSA area 14 b .
- the checking CPU 16 executes a format check on the loaded new PSW (input output).
- the checking CPU 16 stores the new PSW (input output) and a check result in the new-PSW storage area 14 c and updates the available flag.
- the checking CPU 16 which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (input output).
- the checking CPU 16 loads the new PSW (input output) from the PSA area 14 b again.
- the checking CPU 16 executes the above format check, stores a result of the format check and the new PSW (input output) in the new-PSW storage area 14 c , and updates the available flag.
- the checking CPU 16 periodically or continuously monitors the “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW corresponding to a program interrupt (hereinafter, this PSW is described as a new PSW (program)).
- this PSW is described as a new PSW (program)
- the checking CPU 16 loads the new PSW (program) from the PSA area 14 b .
- the checking CPU 16 executes a format check on the loaded new PSW (program).
- the checking CPU 16 stores the new PSW (program) and a check result in the new-PSW storage area 14 c and updates the available flag.
- the checking CPU 16 which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (program).
- the checking CPU 16 loads the new PSW (program) from the PSA area 14 b again.
- the checking CPU 16 executes the above format check, stores a result of the format check and the new PSW (program) in the new-PSW storage area 14 c , and updates the available flag.
- the instruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in the PSA area 14 b as an old PSW. Subsequently, the instruction executing CPU 15 acquires an available flag and a check result, which are stored in the new-PSW storage area 14 c in association with the new PSW (input output). When determining that the new PSW (input output) is available, the instruction executing CPU 15 loads the new PSW (input output) from the new-PSW storage area 14 c and executes the input-output interrupt by using an instruction address of the new PSW (input output).
- the instruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in the PSA area 14 b as an old PSW. Subsequently, the instruction executing CPU 15 acquires an available flag and a check result that are stored in the new-PSW storage area 14 c in association with the new PSW (program). When determining that the new PSW (program) is available, the instruction executing CPU 15 loads the new PSW (program) from the new-PSW storage area 14 c and executes the program interrupt by using an instruction address of the new PSW (program).
- the instruction executing CPU 15 When rewriting a new PSW (input output) stored in the PSA area 14 b , the instruction executing CPU 15 updates the available flag, which is stored in the new-PSW storage area 14 c in association with the new PSW (input output), at the same time of the rewriting. As a result, the checking CPU 16 can detect update of the new PSW (input output) and execute the format check again.
- the instruction executing CPU 15 updates the available flag, which is stored in the new-PSW storage area 14 c in association with the new PSW (program), at the same time of the rewriting.
- the checking CPU 16 can detect update of the new PSW (program) and execute the format check again.
- the instruction executing CPU 15 may include the check processing unit 16 a and the check-result storing unit 16 b in addition to the instruction-emulation executing unit 15 a , the interrupt executing unit 15 b , and the new-PSW updating unit 15 c .
- the CPU 4 can execute the interrupt process without performing a format check of a new PSW.
- FIGS. 7 and 8 are flowcharts of the flow of the format check of a new PSW.
- FIG. 9 is a flowchart of the flow of the interrupt process.
- the checking CPU 16 checks an “available flag” for each type of an interrupt stored in the new-PSW storage area 14 c (S 101 ) and determines whether or not a new PSW is available (S 102 ).
- the checking CPU 16 acquires a corresponding new PSW from the PSA area 14 b (S 104 ), checks an address mode used in the information processing apparatus 10 (S 105 ), and determines whether the address mode is a 31-bit mode or not (S 106 ).
- the checking CPU 16 determines whether or not any of the bits 24 to 32 of the new PSW is 1 (S 107 and S 108 ). When any of the bits 24 to 32 of the new PSW is 1 (YES at S 108 ), the checking CPU 16 executes a process at S 125 . That is, the checking CPU 16 stores “01” in a check result of a new PSW to be subjected to a format check. When all of the bits 24 to 32 of the new PSW is 0 (NO at S 108 ), the checking CPU 16 checks a bit 0 (S 109 ).
- the checking CPU 16 determines whether or not any of the bits 24 to 39 of the new PSW is 1 (S 110 and S 111 ). When any of the bits 24 to 39 of the new PSW is 1 (YES at S 111 ), the checking CPU 16 executes the process at S 125 . When all of the bits 24 to 39 are 0 (NO at S 111 ), the checking CPU 16 checks a bit 0 of the new PSW (S 109 ).
- the checking CPU 16 executes the process at S 125 .
- the checking CPU 16 checks bits 2 and 3 of the new PSW (S 113 ).
- the checking CPU 16 executes the process at S 125 .
- the checking CPU 16 checks a bit 12 of the new PSW (S 115 ). Because the instruction executing CPU 15 operates in an extended control mode, 1 is set to the bit 12 of the new PSW.
- the checking CPU 16 executes the process at S 125 .
- the checking CPU 16 checks a bit 16 of the new PSW (S 117 ).
- the checking CPU 16 executes the process at S 125 .
- the checking CPU 16 checks a bit 17 of the new PSW (S 119 ).
- the checking CPU 16 executes the process at S 125 .
- the checking CPU 16 checks an instruction address of the new PSW (S 121 ).
- the checking CPU 16 stores “10” in a check result (S 123 ).
- the checking CPU 16 stores “00” in the check result (S 124 ).
- the checking CPU 16 stores “01” in the check result (S 125 ).
- the checking CPU 16 stores the new PSW, for which the format check has been completed, and the check result in a predetermined area of the new-PSW storage area 14 c in an association manner (S 126 ), and changes a bit 1 of the available flag to 1 (S 127 ). At this time, a bit 0 of the available flag is 0 until the new PSW is rewritten. Thereafter, the process returns to S 101 and the above processes are repeated.
- the instruction executing CPU 15 stores interrupt related information in a predetermined area of the PSA area 14 b (S 202 ).
- the instruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in a predetermined area of the PSA area 14 b as an old PSW (S 203 ).
- the instruction executing CPU 15 acquires, from the new-PSW storage area 14 c , an available flag of a new PSW corresponding to the interrupt that has occurred (S 204 ) and determines whether or not the new PSW is available (S 205 ).
- the instruction executing CPU 15 acquires a check result of the new PSW from the new-PSW storage area 14 c (S 206 ).
- the instruction executing CPU 15 executes the interrupt process by using an instruction address of the new PSW (S 208 ).
- the instruction executing CPU 15 determines that exception handling has occurred and repeats the process at S 201 .
- the instruction executing CPU 15 repeats the process at S 204 .
- the checking CPU 16 determines whether or not a new PSW corresponding to an interrupt process contains an error.
- the checking CPU 16 stores the new PSW, for which whether an error is contained or not has been determined, and a determination result in the new-PSW storage area 14 c in an associated manner.
- the instruction executing CPU 15 acquires a determination result of a new PSW corresponding to the interrupt process from the new-PSW storage area 14 c .
- the instruction executing CPU 15 executes the interrupt process by using an instruction address of the new PSW associated with the determination result.
- the checking CPU 16 executes a format check of a new PSW and stores the result of the format check in advance of an interrupt process. Consequently, the instruction executing CPU 15 , which executes an interrupt process, need not check the new PSW when executing the interrupt process. Therefore, even when an interrupt process occurs a number of times, it is possible to reduce overhead of the interrupt process. As a result, it is possible to reduce process time of the interrupt process.
- a format check is executed when a new PSW is rewritten, so that it is possible to synchronize update of the new PSW with the check result. Therefore, it is possible to prevent inconsistency, in which, for example, an old check result for which a format check has not been executed is maintained even after the new PSW is updated.
- the present invention is not limited to this example. For example, it is possible to use two checking CPUs and one instruction executing CPU or it is possible to use one checking CPU and two instruction executing CPUs.
- a third embodiment an example will be explained in which a plurality of checking CPUs and a plurality of instruction executing CPUs are used.
- FIG. 10 illustrates an example in which a format check of a new PSW is executed by using a plurality of CPUs.
- an information processing apparatus includes an instruction executing CPU, a checking CPU 30 , a checking CPU 40 , and a main memory.
- the main memory is the same as the main memory 14 explained in the second embodiment and the instruction executing CPU is the same as the instruction executing CPU 15 explained in the second embodiment; therefore, detailed explanation will not be repeated.
- the checking CPU 30 is a CPU that executes a format check of a new PSW (input output) corresponding to an input-output interrupt. For example, the checking CPU 30 periodically or continuously monitors an “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW (input output). When detecting that the new PSW (input output) is rewritten or when determining that the new PSW has not been checked, the checking CPU 30 loads the new PSW (input output) from the PSA area 14 b . Subsequently, the checking CPU 30 executes a format check of the loaded new PSW (input output). Then, the checking CPU 30 stores the new PSW (input output) and a check result in the new-PSW storage area 14 c and updates the available flag.
- an “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW (input output).
- the checking CPU 30 loads the new PSW (input output) from the PS
- the checking CPU 30 which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (input output).
- the checking CPU 30 loads the new PSW (input output) from the PSA area 14 b .
- the checking CPU 30 executes the above format check, stores the result of the format check and the new PSW (input output) in the new-PSW storage area 14 c , and updates the available flag.
- the checking CPU 40 is a CPU that executes a format check of a new PSW (program) corresponding to a program interrupt. For example, the checking CPU 40 periodically or continuously monitors an “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW (program). When detecting that the new PSW (program) is rewritten or when determining that the new PSW has not been checked, the checking CPU 40 loads the new PSW (program) from the PSA area 14 b . Subsequently, the checking CPU 40 executes a format check of the loaded new PSW (program). Then, the checking CPU 40 stores the new PSW (program) and a check result in the new-PSW storage area 14 c and updates the available flag.
- the checking CPU 40 which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (program).
- the checking CPU 40 loads the new PSW (program) from the PSA area 14 b .
- the checking CPU 40 executes the above format check, stores the result of the format check and the new PSW (program) in the new-PSW storage area 14 c , and updates the available flag.
- FIG. 11 illustrates an example in which a format check of a new PSW is executed for a plurality of instruction executing CPUs.
- an information processing apparatus includes a memory (A), a memory (B), an instruction executing CPU 50 , an instruction executing CPU 60 , and a checking CPU 45 .
- the memory (A) is a storage unit representing a memory space for architecture to be emulated by the instruction executing CPU 50 , and includes a PSA area and a new-PSW storage area.
- the PSA area stores therein a new PSW corresponding to a type of an interrupt.
- the new-PSW storage area stores therein a new PSW, an available flag, and a check result for each type of an interrupt, in an associated manner.
- the memory (B) is a storage unit representing a memory space for architecture to be emulated by the instruction executing CPU 60 , and includes a PSA area and a new-PSW storage area.
- the PSA area stores therein a new PSW corresponding to a type of an interrupt.
- the new-PSW storage area stores therein a new PSW, an available flag, and a check result for each type of an interrupt, in an associated manner.
- the instruction executing CPU 50 is a CPU that executes an interrupt process except for a format check of a new PSW and executes an instruction emulation process.
- the instruction executing CPU 50 has the same functions as those of the instruction executing CPU 15 explained in the second embodiment.
- the instruction executing CPU 50 refers to the storage area (A) that stores therein information related to architecture to be emulated, and executes an interrupt process or the like by using various types of information on the new PSW stored in the memory (A).
- the instruction executing CPU 50 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in the memory (A) as an old PSW. Thereafter, the instruction executing CPU 50 acquires an available flag and a check result, which are stored in the memory (A) in association with the new PSW (input output). When determining that the new PSW (input output) is available, the instruction executing CPU 50 loads the new PSW (input output) from the memory (A) and executes the input-output interrupt by using an instruction address of the new PSW (input output).
- the instruction executing CPU 60 is a CPU that executes an interrupt process except for a format check of a new PSW and executes an instruction emulation process.
- the instruction executing CPU 60 has the same functions as those of the instruction executing CPU 15 explained in the second embodiment.
- the instruction executing CPU 60 refers to the memory (B) that stores therein information related to architecture to be emulated, and executes an interrupt process or the like by using various types of information on the new PSW stored in the memory (B).
- the checking CPU 45 is a CPU that executes a format check of a new PSW (program) corresponding to a program interrupt.
- the checking CPU 45 executes a format check of the new PSW stored in each of the memory (A) and the memory (B) and stores a check result or the like in the memory (A) and the memory (B).
- the checking CPU 45 periodically or continuously monitors an “available flag” that is stored in the memory (A) in association with a new PSW (program).
- an “available flag” that is stored in the memory (A) in association with a new PSW (program).
- the checking CPU 45 loads the new PSW (program) from the memory (A).
- the checking CPU 45 executes a format check of the loaded new PSW (program).
- the checking CPU 45 stores the new PSW (program) and a check result in the memory (A) and updates the available flag.
- the checking CPU 45 which has stored the check result, periodically or continuously monitors the available flag that is associated with the new PSW (program).
- the checking CPU 45 loads the new PSW (program) from the memory (A) again.
- the checking CPU 45 executes the above format check, stores a result of the format check and the new PSW (program) in the memory (A), and updates the available flag.
- the checking CPU 45 periodically or continuously monitors an “available flag” that is stored in the memory (B) in association with a new PSW (program).
- an “available flag” that is stored in the memory (B) in association with a new PSW (program).
- the checking CPU 45 loads the new PSW (program) from the memory (B).
- the checking CPU 45 executes a format check of the loaded new PSW (program).
- the checking CPU 45 stores the new PSW (program) and a check result in the memory (B) and updates the available flag.
- the checking CPU 45 which has stored the check result, periodically or continuously monitors the available flag that is associated with the new PSW (program).
- the checking CPU 45 loads the new PSW (program) from the memory (B) again.
- the checking CPU 45 executes the above format check, stores a result of the format check and the new PSW (program) in the memory (B), and updates the available flag.
- the third embodiment when a plurality of extra CPUs, in other words, a plurality of CPUs that is not executing a process, is present, it is possible to cause each of the CPUs to execute a format check of a new PSW of a different type of an interrupt. Therefore, it is possible to reduce loads on the checking CPU. Furthermore, it is possible to prevent delay in the format check of a new PSW, enabling to increase a process speed. Moreover, even when a plurality of architectures is in operation, it is possible to separately execute a format check of a new PSW by generating memory spaces corresponding to the respective architectures.
- the information processing apparatus explained in the first to the third embodiments can determine how to allocate a checking CPU in accordance with information stored in the configuration-information storage area 14 d . For example, when “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is smaller than “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW for one instruction executing CPU is executed by using one or more extra CPUs. At this time, the number of types of interrupts for which the format check is performed by each checking CPU is made uniform.
- the information processing apparatus When “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is equal to “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW corresponding to one instruction executing CPU is executed by using one extra CPU. When “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is greater than “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW corresponding to one or more instruction executing CPUs is executed by using one extra CPU.
- the configuration-information storage area 14 d may be monitored by using a configuration in which rewrite of a specific area is detected and notified or may be monitored by allocating a process of monitoring a configuration-information storage area to another CPU.
- the present invention is not limited to this example.
- a multi-core that includes a plurality of processor cores in one processor package.
- a core that executes a process is caused to function as an instruction executing CPU and a core that is not executing the process is caused to function as a checking CPU described above so that the same processes as those of the first to the third embodiments can be executed.
- the present invention is not limited to this example.
- any information processing apparatuses that do not emulate architecture and that include a plurality of CPUs or a multi-core can execute the same processes as those of the first to the third embodiments.
- each device illustrated in the drawings are only for conceptually illustrating the functions thereof and are not necessarily physically configured as illustrated in the drawings.
- the specific forms of separate or integrated devices for example, the check processing unit 16 a and the check-result storing unit 16 b , are not limited to those illustrated in the drawings.
- All or part of the device can be configured by functionally or physically separating or integrating any of the units depending on various loads or use conditions.
- all or any part of the process functions performed by each device can be implemented by a CPU and by programs analyzed and executed by the CPU or implemented as hardware by wired logic.
- FIG. 12 illustrates an example of a computer system that executes an interrupt control program.
- a computer system 100 includes a RAM 101 , an HDD 102 , a ROM 103 , a CPU 104 , and a CPU 105 .
- a program that implements the same functions as those of the above embodiments is stored in advance in the ROM 103 .
- an instruction-emulation execution program 103 a an interrupt execution program 103 b , and a new-PSW update program 103 c are stored in the ROM 103 .
- a check processing program 103 d and a check-result storing program 103 e are stored in the ROM 103 .
- the CPU 104 and the CPU 105 read and execute the programs 103 a to 103 e , so that processes are loaded as illustrated in FIG. 12 . That is, the programs 103 a to 103 e become an instruction-emulation execution process 104 a , an interrupt execution process 104 b , a new-PSW update process 104 c , a check processing process 105 a , and a check-result storing process 105 b , respectively.
- the instruction-emulation execution process 104 a corresponds to the instruction-emulation executing unit 15 a illustrated in FIG. 2
- the interrupt execution process 104 b corresponds to the interrupt executing unit 15 b
- the new-PSW update process 104 c corresponds to the new-PSW updating unit 15 c illustrated in FIG. 2
- the check processing process 105 a corresponds to the check processing unit 16 a
- the check-result storing process 105 b corresponds to the check-result storing unit 16 b illustrated in FIG. 2 .
- a PSA-area table 101 a , a new-PSW-storage-area table 101 b , and a configuration-information-storage-area table 101 c are provided in the RAM 101 .
- the PSA-area table 101 a corresponds to the PSA area 14 b illustrated in FIG. 2
- the new-PSW-storage-area table 101 b corresponds to the new-PSW storage area 14 c
- the configuration-information-storage-area table 101 c corresponds to the configuration-information storage area 14 d.
- the programs 103 a to 103 e described above are not necessarily stored in the ROM 103 .
- the programs 103 a to 103 e may be stored in a “portable physical medium”, such as a flexible disk (FD), a CD-ROM, an MO disk, a DVD disk, a magnet-optical disk, or an IC card, that are inserted into the computer system 100 ; a “fixed physical medium”, such as a hard disk drive (HDD) that is provided inside or outside the computer system 100 ; or “another computer system (or a server)” that is connected to the computer system 100 via a public line, the Internet, LAN, WAN, or the like, so that the computer system 100 can read out and execute the programs from these media.
- a “portable physical medium” such as a flexible disk (FD), a CD-ROM, an MO disk, a DVD disk, a magnet-optical disk, or an IC card
- a “fixed physical medium” such as a hard disk drive (HDD) that
- the programs in the other embodiments are recorded in a computer-readable manner in a recording medium, such as the above “portable physical medium”, the “fixed physical medium”, or the “computer medium”.
- the computer system 100 reads and executes the programs from the recording medium to thereby implement the same functions as those of the above embodiments.
- the programs in the other embodiments are not necessarily executed by the computer system 100 . For example, even when other computer systems or servers execute the programs or even when these systems or the servers execute the programs in cooperation with each other, the present invention can be applied.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Debugging And Monitoring (AREA)
- Executing Machine-Instructions (AREA)
Abstract
A memory stores therein a program status word containing an address of data that is to be read when an interrupt process is executed a processor determines whether or not the program status word stored in the memory is available, controls the memory to stores a determination result in the memory in association with the program status word, acquires the program status word and the determination result from the memory when the interrupt process occurs, and reads data on the basis of the address contained in the acquired program status word when the acquired determination result indicates that the program status word is available.
Description
- This application a divisional of application Ser. No. 13/196,965, filed Aug. 3, 2011, which is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2010-179561, filed on Aug. 10, 2010, the entire contents of which are incorporated herein by reference.
- The embodiments discussed herein are directed to an information processing apparatus and an interrupt control program.
- Conventionally, an information processing apparatus, such as a server, emulates a CPU (Central Processing Unit) that has architecture different from that of a physical CPU installed in the information processing apparatus. The information processing apparatus also emulates, in addition to the CPU, an OS (Operating System) that is different from an OS installed in the information processing apparatus.
- For example, a server equipped with an open source OS, such as LINUX (registered trademark), reproduces a general-purpose OS, which is installed in mainframe, within the own server and runs application or the like for the general-purpose OS.
- Such an information processing apparatus not only executes instruction emulation for reproducing an instruction for a different architecture but also executes an interrupt process when any exception occurs. Regarding the interrupt process, for example, Japanese Laid-open Patent Publication No. 58-117059 discloses a technology, in which a status monitoring function, which has been reset every time an interrupt process occurs, is reset only when the reset is needed. Furthermore, Japanese Laid-open Patent Publication No. 62-043737 discloses a technology, in which a PSW (Program Status Word) corresponding to an interrupt process is fixedly stored in a buffer memory that is different form a general buffer memory so that time taken to load the PSW at the time of the interrupt process can be shortened.
- When a CPU executes an instruction, information may be overwritten in a PSA (Program Save Area) that is an area of a memory for storing information, such as a PSW corresponding to an interrupt process. Even if the PSA is locked in order to prevent overwriting, when information in the PSA needs to be updated, the lock is released, so that a PSW may be overwritten at the time of the update. In particular, when a memory is shared by a plurality of CPUs, a CPU may overwrite a PSA that is reserved by another CPU.
- In this case, a PSW stored in the PSA is rewritten; therefore, a conventional information processing apparatus executes a determination process for determining whether or not a PSW corresponding to an interrupt process contains an error every time an interrupt process occurs. Because the determination process is executed every time an interrupt process occurs, there is a problem in that time taken to execute the interrupt process increases.
- In the determination process, whether or not a PSW contains an error is determined by checking values in a plurality of fields in the PSW of 64 bits. For example, when emulating an OS in a 31-bit address mode, an information processing apparatus determines whether
bits 24 to 31 are 1 or not. The information processing apparatus also checks a value of each ofbit 0,bits bit 12, abit 16, and abit 17. When all of the bits have normal values, the information processing apparatus executes an interrupt process. - Because the information processing apparatus executes the above determination process every time an interrupt process occurs, when interrupt processes occur frequently, the determination process on the PSW becomes a bottleneck. Therefore, overhead in the interrupt process increases and time taken before a start of the interrupt process increases, resulting in increasing time taken to the interrupt process as a whole.
- According to an aspect of an embodiment of the invention, an information processing apparatus includes a memory that stores therein a program status word containing an address of data that is to be read when an interrupt process is executed; and a processor determines whether or not the program status word stored in the memory is available, controls the memory to stores a determination result in the memory in association with the program status word, acquires the program status word and the determination result from the memory when the interrupt process occurs, and reads data on the basis of the address contained in the acquired program status word when the acquired determination result indicates that the program status word is available.
- The object and advantages of the embodiment will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
- It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the embodiment, as claimed.
-
FIG. 1 is a block diagram of a configuration of an information processing apparatus according to a first embodiment; -
FIG. 2 is a block diagram of a configuration of an information processing apparatus according to a second embodiment; -
FIG. 3 illustrates an example of information stored in a PSA area; -
FIG. 4 illustrates an example of determination of available flags stored in a new-PSW storage area; -
FIG. 5 illustrates an example of determination of check results stored in the new-PSW storage area; -
FIG. 6 is a diagram explaining an example of a relationship between a format check of a new PSW and an interrupt process; -
FIG. 7 is a flowchart of the flow of the format check of a new PSW; -
FIG. 8 is another flowchart of the flow of the format check of a new PSW; -
FIG. 9 is a flowchart of the flow of the interrupt process; -
FIG. 10 illustrates an example in which the format check of a new PSW is executed by using a plurality of CPUs; -
FIG. 11 illustrates an example in which the format check of a new PSW is executed for a plurality of instruction executing CPUs; and -
FIG. 12 illustrates an example of a computer system that executes an interrupt control program. - Preferred embodiments of the present invention will be explained with reference to accompanying drawings. The present invention is not limited by the embodiments.
-
FIG. 1 is a block diagram of a configuration of an information processing apparatus according to a first embodiment. As illustrated inFIG. 1 , aninformation processing apparatus 1 is an apparatus, such as a server, that includes amemory 2, a CPU (Central Processing Unit) 3, and aCPU 4, which are connected to one another via a bus. Thememory 2 is, for example, a memory for storing a program status word corresponding to an interrupt process and storing a determination result indicating whether or not the program status word contains an error, in an associated manner. - The program status word is also referred to as a PSW (Program Status Word). The program status word corresponding to an interrupt process contains an instruction address (IA) indicating a storage destination of data, in which an execution content (an instruction) of the interrupt process is defined, and contains data that is determined in advance in accordance with a data format of the PSW. The CPU reads an instruction address from a program status word corresponding to an interrupt process in response to occurrence of an interrupt and reads an instruction for the interrupt process on the basis of the read instruction address.
- The
CPU 3 is an arithmetic processing device that does not execute various processes, such as a normal arithmetic process and an interrupt process, and includes a determining unit 3 a and aresult storing unit 3 b. The determining unit 3 a determines whether or not a program status word corresponding to an interrupt process contains an error, that is, whether or not the program status word can be used as a header of an instruction address. The determination of the program status word is performed by determining whether data, which is determined in advance in accordance with a data format and which is contained in the program status word, matches a data format. Theresult storing unit 3 b stores the program status word that is determined by the determining unit 3 a and a determination result in thememory 2 in an associated manner. - The
CPU 4 is an arithmetic processing device that executes various processes, such as a normal arithmetic process and an interrupt process, and includes aresult acquiring unit 4 a and aprocess executing unit 4 b. For example, theCPU 4 executes a process for emulating a CPU or an OS (Operating System) having architecture that is different from that of a CPU or an OS installed on theinformation processing apparatus 1. Theresult acquiring unit 4 a acquires, when an interrupt process occurs, a determination result of a program status word corresponding to the interrupt process from thememory 2. When the determination result acquired by theresult acquiring unit 4 a is normal, theprocess executing unit 4 b acquires the program status word associated with the determination result from thememory 2 and executes the interrupt process by using an instruction address of the acquired program status word. - As described above, the
information processing apparatus 1 causes theCPU 3, which does not execute various processes, such as an interrupt process, to check a PSW before occurrence of an interrupt. When theCPU 4 executes an interrupt process, theinformation processing apparatus 1 starts the interrupt process without checking the PSW. Therefore, it is possible to shorten a process time of the interrupt process. TheCPU 4 may include the determining unit 3 a and theresult storing unit 3 b in addition to theresult acquiring unit 4 a and theprocess executing unit 4 b. By executing the determination process between various processes, such as a normal arithmetic process and an interrupt process, theCPU 4 can execute the interrupt process without performing a format check of a PSW. - An information processing apparatus according to a second embodiment will be explained below. In the second embodiment, the configuration of the information processing apparatus, the flow of processes, and advantages of the second embodiment will be explained in this order. In the second embodiment, a PSW (Program Status Word) corresponding to an interrupt process is described as a “new PSW” and a PSW that is maintained in a register by the CPU at the time of occurrence of the interrupt process is described as an “old PSW”.
- Configuration of the Information Processing Apparatus
-
FIG. 2 is a block diagram of the configuration of the information processing apparatus according to the second embodiment. As illustrated inFIG. 2 , aninformation processing apparatus 10 includes a communication control I/F 11, an input-output I/F 12, anstorage device 13, amain memory 14, aninstruction executing CPU 15, and a checkingCPU 16, which are connected to one another via a bus. - The communication control I/
F 11 is an interface, such as a network card, that controls communication with other devices. The communication control I/F 11 receives various requests from the other devices and transmits results of processes or the like to the other devices. - The input-output I/
F 12 is, for example, an input device, such as a keyboard or a mouse, and an output device, such as a display or a speaker. For example, the input-output I/F 12 receives a transaction execution instruction from an administrator or the like and displays a result of execution. Thestorage device 13 is a storage device, such as a hard disk drive, for storing various types of data to be used by theinstruction executing CPU 15 for executing instructions. - The
main memory 14 is a main memory or the like for storing various types of data or programs to be used by theinstruction executing CPU 15 for executing instructions. Themain memory 14 includes anemulation area 14 a, a new-PSW storage area 14 c, and a configuration-information storage area 14 d. - The
emulation area 14 a is an area representing a memory space for an OS or the like to be emulated by theinstruction executing CPU 15. Theemulation area 14 a includes a PSA (Program Save Area)area 14 b. For example, when theinformation processing apparatus 10 emulates a general-purpose OS used for mainframe while running LINUX (registered trademark), theemulation area 14 a represents a memory space for the general-purpose OS. - The
PSA area 14 b is an area that is reserved in advance within theemulation area 14 a and that stores therein a new PSW, which is loaded at the time of occurrence of an interrupt, and an old PSW, which is maintained by theinstruction executing CPU 15 at the time of occurrence of the interrupt. ThePSA area 14 b also stores therein interrupt related information, such as contents of a register at the time of occurrence of an interrupt, or an interrupt code. -
FIG. 3 illustrates an example of information stored in the PSA area. The PSA area illustrated inFIG. 3 is reserved and stored in a low address area from 0 bytes to 512 bytes in theemulation area 14 a. The values illustrated inFIG. 3 are just examples, and the present invention is not limited to these examples. Furthermore, the types of interrupts illustrated inFIG. 3 are just examples, and the present invention is not limited to these examples. - As illustrated in
FIG. 3 , a new PSW that is to be loaded by theinstruction executing CPU 15 when a restart interrupt occurs is stored in “0 bytes to 7 bytes”. An old PSW that is maintained in a register or the like by theinstruction executing CPU 15 at the time of occurrence of a restart interrupt is stored in “8 bytes to 15 bytes”. An old PSW that is maintained in a register or the like by theinstruction executing CPU 15 at the time of occurrence of an external interrupt is stored in “24 bytes to 31 bytes”. An old PSW that is maintained in a register or the like by theinstruction executing CPU 15 at the time of occurrence of an SVC (supervisor call) interrupt is stored in “32 bytes to 39 bytes”. - An old PSW that is maintained in a register or the like by the
instruction executing CPU 15 at the time of occurrence of a program interrupt is stored in “40 bytes to 47 bytes”. An old PSW that is maintained in a register or the like by theinstruction executing CPU 15 at the time of occurrence of machine check is stored in “48 bytes to 55 bytes”. An old PSW that is maintained in a register or the like by theinstruction executing CPU 15 at the time of occurrence of an input-output interrupt is stored in “56 bytes to 63 bytes”. - A new PSW that is to be loaded by the
instruction executing CPU 15 when an external interrupt occurs is stored in “88 bytes to 95 bytes”. A new PSW that is to be loaded by theinstruction executing CPU 15 when an SVC interrupt occurs is stored in “96 bytes to 103 bytes”. A new PSW that is to be loaded by theinstruction executing CPU 15 when a program interrupt occurs is stored in “104 bytes to 111 bytes”. A new PSW that is to be loaded by theinstruction executing CPU 15 when machine check occurs is stored in “112 bytes to 119 bytes”. A new PSW that is to be loaded by theinstruction executing CPU 15 when an input-output interrupt occurs is stored in “120 bytes to 127 bytes”. Interrupt related information, control information used by theinformation processing apparatus 10 at the time of execution of various processes, and the like are stored in “128 bytes to 512 bytes”. - The new-
PSW storage area 14 c is an area for sharing information, which is used when an interrupt occurs, between theinstruction executing CPU 15 and the checkingCPU 16. The new-PSW storage area 14 c stores therein “a new PSW, an available flag, and a check result” in association with each “interrupt type”. - The “interrupt type” indicates a type of an interrupt, such as an external interrupt, an input-output interrupt, or a program interrupt. The “new PSW” is, for example, a 64-bit PSW to be loaded when an interrupt occurs, and is written in a format according to specifications of an emulation operating mechanism or the like included in the
information processing apparatus 10. The “available flag” is a 2-bit flag used for determining whether or not a new PSW is available. A “bit 0 of the available flag” is a flag indicating whether or not a new PSW in thePSA area 14 b is rewritten. When the new PSW is rewritten, “1” is stored in this flag, and when the new PSW is not rewritten, “0” is stored in this flag. A “bit 1 of the available flag” is a flag indicating whether or not the checkingCPU 16 has completed a format check of a new PSW. When the format check is completed, “1” is stored in this flag, and when the format check is not completed, “0” is stored in this flag. - An example of determination of the available flag will be described below. The
instruction executing CPU 15 determines whether or not a new PSW is available on the basis of values illustrated inFIG. 4 .FIG. 4 illustrates an example of determination of available flags stored in the new-PSW storage area. As illustrated inFIG. 4 , when “bit 0,bit 1” is “0, 0”, it is indicated that a new PSW which has not been updated and a format of which has not been checked is stored, so that theinstruction executing CPU 15 determines that the new PSW is unavailable. When “bit 0,bit 1” is “1, 0”, it is indicated that a new PSW which has been updated but a format of which has not been checked is stored, so that theinstruction executing CPU 15 determines that the new PSW is unavailable. When “bit 0,bit 1” is “0, 1”, it is indicated that a new PSW of which format has been checked is stored, so that theinstruction executing CPU 15 determines that the new PSW is available. When “bit 0,bit 1” is “1, 1”, it is indicated that a new PSW of which format has been checked but which has been updated after the format check is stored, so that theinstruction executing CPU 15 determines that the new PSW is unavailable. While an example in which 2-bit information is used is explained above, the present invention is not limited to this example. - The “check result” is 2-bit information indicating a result of determination that is performed by the checking
CPU 16 to determine whether or not a PSW contains an error, for example, a result of the format check of a new PSW.FIG. 5 illustrates an example of determination of check results stored in the new-PSW storage area. As illustrated inFIG. 5 , a value of “00” indicates that a format of a new PSW is correct and a value of “01” indicates that a format of a new PSW is incorrect. A value of “10” indicates that an instruction address (IA) of a new PSW is an odd number and a value of “11” is not used in the present embodiment. While an example in which 2-bit information is used is explained above, the present invention is not limited to this example. - Referring back to
FIG. 2 , the configuration-information storage area 14 d stores therein system configuration information, such as the number of instruction executing CPUs or the number of extra CPUs, that is used for determining how to allocate the checkingCPU 16 or theinstruction executing CPU 15. The “number of instruction executing CPUs” is the number of CPUs that execute an instruction or that are executing an instruction, and the “number of extra CPUs” is the number of CPUs that do not execute an instruction or that are not executing an instruction. The information stored as above may be stored by an administrator or the like, or may be stored by theinformation processing apparatus 10 in accordance with a load status of each CPU or an instruction processing status of each CPU. - The
instruction executing CPU 15 is a CPU that executes an interrupt process except for the format check of a new PSW and that executes an instruction emulation process. Theinstruction executing CPU 15 includes an instruction-emulation executing unit 15 a, an interrupt executing unit 15 b, and a new-PSW updating unit 15 c. Theinstruction executing CPU 15 executes a normal arithmetic process or the like in addition to a process for emulating an OS or a CPU that has architecture different from architecture of an OS or a CPU included in theinformation processing apparatus 10. - The instruction-emulation executing unit 15 a emulates an OS or a CPU and executes an instruction from the emulated OS or the emulated CPU. For example, the instruction-emulation executing unit 15 a executes an instruction from the emulated OS or the emulated CPU by using the
emulation area 14 a represented in themain memory 14, thereby executing an instruction emulation process. - When an interrupt process occurs, the interrupt executing unit 15 b acquires a determination result of a new PSW corresponding to the interrupt process from the new-
PSW storage area 14 c. When the acquired determination result is normal, the interrupt executing unit 15 b acquires, from the new-PSW storage area 14 c, the new PSW that is associated with the determination result and executes the interrupt process by using an instruction address of the acquired new PSW. - For example, when an external interrupt occurs, the interrupt executing unit 15 b stores an old PSW, which is maintained in a register or the like at the time of occurrence of the external interrupt, in the
PSA area 14 b. Subsequently, the interrupt executing unit 15 b acquires, from the new-PSW storage area 14 c, an “available flag” associated with a new PSW of the external interrupt. When the acquired “available flag” is “0, 0”, “1, 0”, or “1, 1”, the interrupt executing unit 15 b determines that the new PSW is unavailable, and monitors the “available flag” until the “available flag” becomes “0, 1” or executes exception handling. When the “available flag” is “0, 1”, the interrupt executing unit 15 b determines that the new PSW is available and acquires a “check result” associated with the new PSW from the new-PSW storage area 14 c. The interrupt executing unit 15 b clears the available flag after the exception handling is completed. Or the available flag is cleared by the exception handling after the exception handling is completed. - When the acquired “check result” is “00”, the interrupt executing unit 15 b determines that a format of the new PSW is correct and acquires the new PSW from the new-
PSW storage area 14 c. Subsequently, the interrupt executing unit 15 b ends the external interrupt process by using an instruction address of the acquired new PSW. On the other hand, when the acquired “check result” is “01”, the interrupt executing unit 15 b determines that the format of the new PSW is incorrect and ends the process or executes exception handling. Similarly, when the acquired “check result” is “10”, the interrupt executing unit 15 b determines that the instruction address of the new PSW is an odd number and ends the process or executes exception handling. - When the executed interrupt process is completed, the interrupt executing unit 15 b notifies the instruction-emulation executing unit 15 a of completion of the interrupt process. The instruction-emulation executing unit 15 a that has received the notice loads the old PSW that has been stored in the
PSA area 14 b upon occurrence of the interrupt, and resumes a process that has been interrupted due to the occurrence of the interrupt by using an instruction address of the old PSW. - Referring back to
FIG. 2 , the new-PSW updating unit 15 c updates a new PSW stored in thePSA area 14 b. When receiving an update instruction from an OS or an interrupt program, the new-PSW updating unit 15 c updates a corresponding new PSW. Accordingly, the new-PSW updating unit 15 c changes a value of the “bit 0” of the “available flag”, which is stored in the new-PSW storage area 14 c in association with the updated new PSW, to “1”. That is, the new-PSW updating unit 15 c synchronizes the update of the new PSW with the update of the “available flag”. - As an example of a synchronization method, the new-
PSW updating unit 15 c executes a trap for detecting update of a new PSW, and when detecting the update of the new PSW, sends a notice to a kernel. The kernel that has received the notice excludes an access to the corresponding new PSW. The new-PSW updating unit 15 c updates a value of the “bit 0” of the “available flag” corresponding to the new PSW to “1”. In this manner, the new-PSW updating unit 15 c can synchronize the update of the new PSW with the update of the “available flag”. Furthermore, it is possible to prevent the new PSW from being loaded during a time period from the update of the new PSW to the update of the “available flag”. - The checking
CPU 16 is a CPU that determines whether a format of a new PSW has an error or not. The checkingCPU 16 includes acheck processing unit 16 a and a check-result storing unit 16 b. The checkingCPU 16 is a CPU that does not execute various processes, such as a normal arithmetic process and an interrupt process. The type of an interrupt for which a format check is to be executed can be arbitrarily specified. - The
check processing unit 16 a executes a format check for determining whether or not a new PSW corresponding to an interrupt process has an error, at a predetermined time interval. For example, when a new PSW is newly stored in thePSA area 14 b through operation of an OS or the like or when it is detected that the “bit 0” of the “available flag” in the new-PSW storage area is changed to “1”, thecheck processing unit 16 a loads a corresponding new PSW from thePSA area 14 b and executes a format check. - A method of the format check executed by the
check processing unit 16 a is specified by an address mode of a CPU or the like or a bit width. Because theinformation processing apparatus 10 can arbitrarily use a CPU and an address mode, any check methods that correspond to the address mode can be used. - For example, when the address mode has 31 bits, the
check processing unit 16 a checks whether all of values ofbits 24 to 32 are 0 and whether a value of abit 0 is 0, among a new PSW of 64 bits. Furthermore, thecheck processing unit 16 a checks whether values ofbits bit 12 is 1, whether a value of abit 16 is 0, whether a value of abit 17 is 1, and whether an instruction address of the new PSW is not an odd number. Then, thecheck processing unit 16 a outputs a check result to the check-result storing unit 16 b. - The check-result storing unit 16 b stores the new PSW, for which whether there is an error or not has been determined by the
check processing unit 16 a, and a determination result in the new-PSW storage area 14 c in an associated manner. For example, assuming that the check-result storing unit 16 b receives, from thecheck processing unit 16 a, a notice indicating that “a format of the new PSW is correct” as a check result of the new PSW for an input-output interrupt, the check-result storing unit 16 b stores “the new PSW for the input-output interrupt” and the check result of “00” in the new-PSW storage area 14 c in an associated manner, and stores “1” in thebit 1 of the “available flag”. - Furthermore, assuming that the check-result storing unit 16 b receives, from the
check processing unit 16 a, a notice indicating that “an instruction address of the new PSW is an odd number” as a check result of the new PSW for an external interrupt, the check-result storing unit 16 b stores “the new PSW for the external interrupt” and the check result of “10” in the new-PSW storage area 14 c in an associated manner, and stores “1” in thebit 1 of the “available flag”. - Similarly, assuming that the check-result storing unit 16 b receives, from the
check processing unit 16 a, a notice indicating that “a format of the new PSW is incorrect” as a check result of the new PSW for a program interrupt, the check-result storing unit 16 b stores “the new PSW for the program interrupt” and the check result of “01” in the new-PSW storage area 14 c in an associated manner, and stores “1” in thebit 1 of the “available flag”. - Relationship between a format check of a new PSW and an interrupt process
- A relationship between a format check of a new PSW and an interrupt process will be described below.
FIG. 6 is a diagram explaining an example of a relationship between the format check of a new PSW and the interrupt process. As illustrated inFIG. 6 , thePSA area 14 b stores therein a new PSW corresponding to a program interrupt and a new PSW corresponding to an input-output interrupt. - In this state, the checking
CPU 16 periodically or continuously monitors the “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW corresponding to the input-output interrupt (hereinafter, this PSW is described as a new PSW (input output)). When detecting that the new PSW (input output) is rewritten or when determining that the new PSW has not been checked, the checkingCPU 16 loads the new PSW (input output) from thePSA area 14 b. Subsequently, the checkingCPU 16 executes a format check on the loaded new PSW (input output). The checkingCPU 16 stores the new PSW (input output) and a check result in the new-PSW storage area 14 c and updates the available flag. - Thereafter, the checking
CPU 16, which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (input output). When detecting, from the available flag, that the new PSW (input output) is updated, the checkingCPU 16 loads the new PSW (input output) from thePSA area 14 b again. Subsequently, the checkingCPU 16 executes the above format check, stores a result of the format check and the new PSW (input output) in the new-PSW storage area 14 c, and updates the available flag. - Similarly, the checking
CPU 16 periodically or continuously monitors the “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW corresponding to a program interrupt (hereinafter, this PSW is described as a new PSW (program)). When detecting that the new PSW is rewritten or when determining that the new PSW has not been checked, the checkingCPU 16 loads the new PSW (program) from thePSA area 14 b. Subsequently, the checkingCPU 16 executes a format check on the loaded new PSW (program). The checkingCPU 16 stores the new PSW (program) and a check result in the new-PSW storage area 14 c and updates the available flag. - Thereafter, the checking
CPU 16, which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (program). When detecting, from the available flag, that the new PSW (program) is updated, the checkingCPU 16 loads the new PSW (program) from thePSA area 14 b again. Subsequently, the checkingCPU 16 executes the above format check, stores a result of the format check and the new PSW (program) in the new-PSW storage area 14 c, and updates the available flag. - On the other hand, when an input-output interrupt occurs, the
instruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in thePSA area 14 b as an old PSW. Subsequently, theinstruction executing CPU 15 acquires an available flag and a check result, which are stored in the new-PSW storage area 14 c in association with the new PSW (input output). When determining that the new PSW (input output) is available, theinstruction executing CPU 15 loads the new PSW (input output) from the new-PSW storage area 14 c and executes the input-output interrupt by using an instruction address of the new PSW (input output). - Similarly, when a program interrupt occurs, the
instruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in thePSA area 14 b as an old PSW. Subsequently, theinstruction executing CPU 15 acquires an available flag and a check result that are stored in the new-PSW storage area 14 c in association with the new PSW (program). When determining that the new PSW (program) is available, theinstruction executing CPU 15 loads the new PSW (program) from the new-PSW storage area 14 c and executes the program interrupt by using an instruction address of the new PSW (program). - When rewriting a new PSW (input output) stored in the
PSA area 14 b, theinstruction executing CPU 15 updates the available flag, which is stored in the new-PSW storage area 14 c in association with the new PSW (input output), at the same time of the rewriting. As a result, the checkingCPU 16 can detect update of the new PSW (input output) and execute the format check again. - Similarly, when rewriting a new PSW (program) stored in the
PSA area 14 b, theinstruction executing CPU 15 updates the available flag, which is stored in the new-PSW storage area 14 c in association with the new PSW (program), at the same time of the rewriting. As a result, the checkingCPU 16 can detect update of the new PSW (program) and execute the format check again. - The
instruction executing CPU 15 may include thecheck processing unit 16 a and the check-result storing unit 16 b in addition to the instruction-emulation executing unit 15 a, the interrupt executing unit 15 b, and the new-PSW updating unit 15 c. By executing the determination process between various processes, such as a normal arithmetic process and an interrupt process, theCPU 4 can execute the interrupt process without performing a format check of a new PSW. - Flow of Processes
- The flow of processes performed by the
information processing apparatus 10 will be explained below with reference toFIGS. 7 to 9 .FIGS. 7 and 8 are flowcharts of the flow of the format check of a new PSW.FIG. 9 is a flowchart of the flow of the interrupt process. - Flow of the Format Check of New PSW
- As illustrated in
FIG. 7 , the checkingCPU 16 checks an “available flag” for each type of an interrupt stored in the new-PSW storage area 14 c (S101) and determines whether or not a new PSW is available (S102). - When “
bit 0,bit 1” of the “available flag” is “0, 1”, the checkingCPU 16 determines that the new PSW is available (YES at S102) and ends the process. On the other hand, when “bit 0,bit 1” of the “available flag” is other than “0, 1”, the checkingCPU 16 determines that the new PSW is unavailable (NO at S102) and updates “bit 0,bit 1” of the “available flag” to “0, 0” (S103). - The checking
CPU 16 acquires a corresponding new PSW from thePSA area 14 b (S104), checks an address mode used in the information processing apparatus 10 (S105), and determines whether the address mode is a 31-bit mode or not (S106). - When the address mode is the 31-bit mode (YES at S106), the checking
CPU 16 determines whether or not any of thebits 24 to 32 of the new PSW is 1 (S107 and S108). When any of thebits 24 to 32 of the new PSW is 1 (YES at S108), the checkingCPU 16 executes a process at S125. That is, the checkingCPU 16 stores “01” in a check result of a new PSW to be subjected to a format check. When all of thebits 24 to 32 of the new PSW is 0 (NO at S108), the checkingCPU 16 checks a bit 0 (S109). - On the other hand, when the address mode is not the 31-bit mode, that is, when the address mode is a 24-bit mode (NO at S106), the checking
CPU 16 determines whether or not any of thebits 24 to 39 of the new PSW is 1 (S110 and S111). When any of thebits 24 to 39 of the new PSW is 1 (YES at S111), the checkingCPU 16 executes the process at S125. When all of thebits 24 to 39 are 0 (NO at S111), the checkingCPU 16 checks abit 0 of the new PSW (S109). - Thereafter, when determining that the
bit 0 of the new PSW is 1 (YES at S112), the checkingCPU 16 executes the process at S125. On the other hand, as illustrated inFIG. 7 , when determining that thebit 0 of the new PSW is 0 (NO at S112), the checkingCPU 16checks bits - When any of the
bits CPU 16 executes the process at S125. On the other hand, when both of thebits CPU 16 checks abit 12 of the new PSW (S115). Because theinstruction executing CPU 15 operates in an extended control mode, 1 is set to thebit 12 of the new PSW. - Subsequently, when the
bit 12 of the new PSW is 0 (YES at S116), the checkingCPU 16 executes the process at S125. On the other hand, when thebit 12 of the new PSW is 1 (NO at S116), the checkingCPU 16 checks abit 16 of the new PSW (S117). - When the
bit 16 of the new PSW is 1 (YES at S118), the checkingCPU 16 executes the process at S125. On the other hand, when thebit 16 of the new PSW is 0 (NO at S118), the checkingCPU 16 checks abit 17 of the new PSW (S119). - When the
bit 17 of the new PSW is 1 (YES at S120), the checkingCPU 16 executes the process at S125. On the other hand, when thebit 17 of the new PSW is 0 (NO at S120), the checkingCPU 16 checks an instruction address of the new PSW (S121). - When the instruction address of the new PSW is an odd number (YES at S122), the checking
CPU 16 stores “10” in a check result (S123). On the other hand, when the instruction address of the new PSW is an even number (NO at S122), the checkingCPU 16 stores “00” in the check result (S124). - When determining YES at S108, S112, S114, S116, S118, and S120, that is, when it is determined that the new PSW causes early specification exception, the checking
CPU 16 stores “01” in the check result (S125). - Thereafter, the checking
CPU 16 stores the new PSW, for which the format check has been completed, and the check result in a predetermined area of the new-PSW storage area 14 c in an association manner (S126), and changes abit 1 of the available flag to 1 (S127). At this time, abit 0 of the available flag is 0 until the new PSW is rewritten. Thereafter, the process returns to S101 and the above processes are repeated. - Flow of the Interrupt Process
- As illustrated in
FIG. 9 , when an interrupt process occurs (YES at S201), theinstruction executing CPU 15 stores interrupt related information in a predetermined area of thePSA area 14 b (S202). Theinstruction executing CPU 15 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in a predetermined area of thePSA area 14 b as an old PSW (S203). - Thereafter, the
instruction executing CPU 15 acquires, from the new-PSW storage area 14 c, an available flag of a new PSW corresponding to the interrupt that has occurred (S204) and determines whether or not the new PSW is available (S205). - When determining that the new PSW is available (YES at S205), the
instruction executing CPU 15 acquires a check result of the new PSW from the new-PSW storage area 14 c (S206). - When the check result of the new PSW is normal (YES at S207), the
instruction executing CPU 15 executes the interrupt process by using an instruction address of the new PSW (S208). - On the other hand, when the check result of the new PSW is not normal (NO at S207), the
instruction executing CPU 15 determines that exception handling has occurred and repeats the process at S201. When determining that the new PSW is unavailable (NO at S205), theinstruction executing CPU 15 repeats the process at S204. - According to the second embodiment, the checking
CPU 16 determines whether or not a new PSW corresponding to an interrupt process contains an error. The checkingCPU 16 stores the new PSW, for which whether an error is contained or not has been determined, and a determination result in the new-PSW storage area 14 c in an associated manner. When an interrupt process occurs, theinstruction executing CPU 15 acquires a determination result of a new PSW corresponding to the interrupt process from the new-PSW storage area 14 c. When the acquired determination result is normal, theinstruction executing CPU 15 executes the interrupt process by using an instruction address of the new PSW associated with the determination result. - That is, the checking
CPU 16 executes a format check of a new PSW and stores the result of the format check in advance of an interrupt process. Consequently, theinstruction executing CPU 15, which executes an interrupt process, need not check the new PSW when executing the interrupt process. Therefore, even when an interrupt process occurs a number of times, it is possible to reduce overhead of the interrupt process. As a result, it is possible to reduce process time of the interrupt process. - Furthermore, a format check is executed when a new PSW is rewritten, so that it is possible to synchronize update of the new PSW with the check result. Therefore, it is possible to prevent inconsistency, in which, for example, an old check result for which a format check has not been executed is maintained even after the new PSW is updated.
- In the second embodiment, an example is explained in which one checking CPU and one instruction executing CPU are used. However, the present invention is not limited to this example. For example, it is possible to use two checking CPUs and one instruction executing CPU or it is possible to use one checking CPU and two instruction executing CPUs. In a third embodiment, an example will be explained in which a plurality of checking CPUs and a plurality of instruction executing CPUs are used.
- When a plurality of checking CPUs and one instruction executing CPU are used
-
FIG. 10 illustrates an example in which a format check of a new PSW is executed by using a plurality of CPUs. As illustrated inFIG. 10 , an information processing apparatus includes an instruction executing CPU, a checkingCPU 30, a checkingCPU 40, and a main memory. - The main memory is the same as the
main memory 14 explained in the second embodiment and the instruction executing CPU is the same as theinstruction executing CPU 15 explained in the second embodiment; therefore, detailed explanation will not be repeated. - The checking
CPU 30 is a CPU that executes a format check of a new PSW (input output) corresponding to an input-output interrupt. For example, the checkingCPU 30 periodically or continuously monitors an “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW (input output). When detecting that the new PSW (input output) is rewritten or when determining that the new PSW has not been checked, the checkingCPU 30 loads the new PSW (input output) from thePSA area 14 b. Subsequently, the checkingCPU 30 executes a format check of the loaded new PSW (input output). Then, the checkingCPU 30 stores the new PSW (input output) and a check result in the new-PSW storage area 14 c and updates the available flag. - Thereafter, the checking
CPU 30, which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (input output). When detecting, from the available flag, that the new PSW (input output) is updated, the checkingCPU 30 loads the new PSW (input output) from thePSA area 14 b. Subsequently, the checkingCPU 30 executes the above format check, stores the result of the format check and the new PSW (input output) in the new-PSW storage area 14 c , and updates the available flag. - The checking
CPU 40 is a CPU that executes a format check of a new PSW (program) corresponding to a program interrupt. For example, the checkingCPU 40 periodically or continuously monitors an “available flag” that is stored in the new-PSW storage area 14 c in association with a new PSW (program). When detecting that the new PSW (program) is rewritten or when determining that the new PSW has not been checked, the checkingCPU 40 loads the new PSW (program) from thePSA area 14 b. Subsequently, the checkingCPU 40 executes a format check of the loaded new PSW (program). Then, the checkingCPU 40 stores the new PSW (program) and a check result in the new-PSW storage area 14 c and updates the available flag. - Thereafter, the checking
CPU 40, which has stored the check result, periodically or continuously monitors the available flag associated with the new PSW (program). When detecting, from the available flag, that the new PSW (program) is updated, the checkingCPU 40 loads the new PSW (program) from thePSA area 14 b. Subsequently, the checkingCPU 40 executes the above format check, stores the result of the format check and the new PSW (program) in the new-PSW storage area 14 c, and updates the available flag. - When one checking CPU and a plurality of instruction executing CPUs are used
-
FIG. 11 illustrates an example in which a format check of a new PSW is executed for a plurality of instruction executing CPUs. As illustrated inFIG. 11 , an information processing apparatus includes a memory (A), a memory (B), aninstruction executing CPU 50, aninstruction executing CPU 60, and a checkingCPU 45. - The memory (A) is a storage unit representing a memory space for architecture to be emulated by the
instruction executing CPU 50, and includes a PSA area and a new-PSW storage area. The PSA area stores therein a new PSW corresponding to a type of an interrupt. The new-PSW storage area stores therein a new PSW, an available flag, and a check result for each type of an interrupt, in an associated manner. - The memory (B) is a storage unit representing a memory space for architecture to be emulated by the
instruction executing CPU 60, and includes a PSA area and a new-PSW storage area. The PSA area stores therein a new PSW corresponding to a type of an interrupt. The new-PSW storage area stores therein a new PSW, an available flag, and a check result for each type of an interrupt, in an associated manner. - The
instruction executing CPU 50 is a CPU that executes an interrupt process except for a format check of a new PSW and executes an instruction emulation process. Theinstruction executing CPU 50 has the same functions as those of theinstruction executing CPU 15 explained in the second embodiment. Theinstruction executing CPU 50 refers to the storage area (A) that stores therein information related to architecture to be emulated, and executes an interrupt process or the like by using various types of information on the new PSW stored in the memory (A). - For example, when an input-output interrupt occurs, the
instruction executing CPU 50 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in the memory (A) as an old PSW. Thereafter, theinstruction executing CPU 50 acquires an available flag and a check result, which are stored in the memory (A) in association with the new PSW (input output). When determining that the new PSW (input output) is available, theinstruction executing CPU 50 loads the new PSW (input output) from the memory (A) and executes the input-output interrupt by using an instruction address of the new PSW (input output). - The
instruction executing CPU 60 is a CPU that executes an interrupt process except for a format check of a new PSW and executes an instruction emulation process. Theinstruction executing CPU 60 has the same functions as those of theinstruction executing CPU 15 explained in the second embodiment. Theinstruction executing CPU 60 refers to the memory (B) that stores therein information related to architecture to be emulated, and executes an interrupt process or the like by using various types of information on the new PSW stored in the memory (B). - For example, when an input-output interrupt occurs, the
instruction executing CPU 60 stores a PSW, which is maintained in a register or the like at the time of occurrence of the interrupt, in the memory (B) as an old PSW. Thereafter, theinstruction executing CPU 60 acquires an available flag and a check result, which are stored in the memory (B) in association with the new PSW (input output). When determining that the new PSW (input output) is available, theinstruction executing CPU 60 loads the new PSW (input output) from the memory (B) and executes the input-output interrupt by using an instruction address of the new PSW (input output). - The checking
CPU 45 is a CPU that executes a format check of a new PSW (program) corresponding to a program interrupt. The checkingCPU 45 executes a format check of the new PSW stored in each of the memory (A) and the memory (B) and stores a check result or the like in the memory (A) and the memory (B). - For example, the checking
CPU 45 periodically or continuously monitors an “available flag” that is stored in the memory (A) in association with a new PSW (program). When detecting that the new PSW (program) is rewritten or when determining that the new PSW has not been checked, the checkingCPU 45 loads the new PSW (program) from the memory (A). Subsequently, the checkingCPU 45 executes a format check of the loaded new PSW (program). The checkingCPU 45 stores the new PSW (program) and a check result in the memory (A) and updates the available flag. - Thereafter, the checking
CPU 45, which has stored the check result, periodically or continuously monitors the available flag that is associated with the new PSW (program). When detecting, from the available flag, that the new PSW (program) is updated, the checkingCPU 45 loads the new PSW (program) from the memory (A) again. Subsequently, the checkingCPU 45 executes the above format check, stores a result of the format check and the new PSW (program) in the memory (A), and updates the available flag. - Similarly, the checking
CPU 45 periodically or continuously monitors an “available flag” that is stored in the memory (B) in association with a new PSW (program). When detecting that the new PSW (program) is rewritten or when determining that the new PSW has not been checked, the checkingCPU 45 loads the new PSW (program) from the memory (B). Subsequently, the checkingCPU 45 executes a format check of the loaded new PSW (program). The checkingCPU 45 stores the new PSW (program) and a check result in the memory (B) and updates the available flag. - Thereafter, the checking
CPU 45, which has stored the check result, periodically or continuously monitors the available flag that is associated with the new PSW (program). When detecting, from the available flag, that the new PSW (program) is updated, the checkingCPU 45 loads the new PSW (program) from the memory (B) again. Subsequently, the checkingCPU 45 executes the above format check, stores a result of the format check and the new PSW (program) in the memory (B), and updates the available flag. - According to the third embodiment, when a plurality of extra CPUs, in other words, a plurality of CPUs that is not executing a process, is present, it is possible to cause each of the CPUs to execute a format check of a new PSW of a different type of an interrupt. Therefore, it is possible to reduce loads on the checking CPU. Furthermore, it is possible to prevent delay in the format check of a new PSW, enabling to increase a process speed. Moreover, even when a plurality of architectures is in operation, it is possible to separately execute a format check of a new PSW by generating memory spaces corresponding to the respective architectures.
- While the embodiments of the present invention have been described above, the present invention may be embodied in various forms other than the embodiments described above. Different embodiments will be explained below.
- Method of Allocating a Checking CPU
- The information processing apparatus explained in the first to the third embodiments can determine how to allocate a checking CPU in accordance with information stored in the configuration-information storage area 14 d. For example, when “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is smaller than “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW for one instruction executing CPU is executed by using one or more extra CPUs. At this time, the number of types of interrupts for which the format check is performed by each checking CPU is made uniform.
- When “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is equal to “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW corresponding to one instruction executing CPU is executed by using one extra CPU. When “the number of instruction executing CPUs” stored in the configuration-information storage area 14 d is greater than “the number of extra CPUs”, the information processing apparatus performs allocation so that a format check of a new PSW corresponding to one or more instruction executing CPUs is executed by using one extra CPU. The configuration-information storage area 14 d may be monitored by using a configuration in which rewrite of a specific area is detected and notified or may be monitored by allocating a process of monitoring a configuration-information storage area to another CPU.
- Logical CPU
- While an example of an information processing apparatus that includes a plurality of CPUs is explained in the first to the third embodiments, the present invention is not limited to this example. For example, it is possible to use a multi-core that includes a plurality of processor cores in one processor package. In this case, a core that executes a process is caused to function as an instruction executing CPU and a core that is not executing the process is caused to function as a checking CPU described above so that the same processes as those of the first to the third embodiments can be executed.
- Application to an Apparatus that does not Perform Emulation
- While an information processing apparatus that emulates architecture that is not physically mounted is explained in the first to the third embodiment, the present invention is not limited to this example. For example, any information processing apparatuses that do not emulate architecture and that include a plurality of CPUs or a multi-core can execute the same processes as those of the first to the third embodiments.
- Check Method
- While an example is explained in the first to the third embodiments, in which a format check of a new PSW is executed by using a 31-bit mode or a 24-bit mode as an address mode, the present invention is not limited to this example. For example, it is possible to use arbitrary check methods that are specified in accordance with an address mode of a CPU or the like or a bit width.
- System Configuration
- Among the processes described in the present embodiments, all or a part of the processes explained to be automatically performed can be manually performed, or all or a part of the processes explained to be manually performed can be automatically performed with any known methods. Also, process procedures, control procedures, concrete titles, and information including, for example, various types of data and parameters illustrated in
FIGS. 3 to 5 , can be arbitrarily changed unless otherwise specified. - The components of each device illustrated in the drawings are only for conceptually illustrating the functions thereof and are not necessarily physically configured as illustrated in the drawings. In other words, the specific forms of separate or integrated devices, for example, the
check processing unit 16 a and the check-result storing unit 16 b, are not limited to those illustrated in the drawings. All or part of the device can be configured by functionally or physically separating or integrating any of the units depending on various loads or use conditions. Furthermore, all or any part of the process functions performed by each device can be implemented by a CPU and by programs analyzed and executed by the CPU or implemented as hardware by wired logic. - Program
- The various processes described in the above embodiments may be realized by causing a computer system, such as a personal computer or a workstation, to execute a computer program that is prepared in advance. An example of a computer system that executes a computer program having the same functions as those of the above embodiments will be explained below.
-
FIG. 12 illustrates an example of a computer system that executes an interrupt control program. As illustrated inFIG. 12 , acomputer system 100 includes aRAM 101, anHDD 102, aROM 103, aCPU 104, and aCPU 105. A program that implements the same functions as those of the above embodiments is stored in advance in theROM 103. As illustrated inFIG. 12 , an instruction-emulation execution program 103 a, an interruptexecution program 103 b, and a new-PSW update program 103 c are stored in theROM 103. Also, acheck processing program 103 d and a check-result storing program 103 e are stored in theROM 103. - The
CPU 104 and theCPU 105 read and execute theprograms 103 a to 103 e, so that processes are loaded as illustrated inFIG. 12 . That is, theprograms 103 a to 103 e become an instruction-emulation execution process 104 a, an interruptexecution process 104 b, a new-PSW update process 104 c, acheck processing process 105 a, and a check-result storing process 105 b, respectively. - The instruction-
emulation execution process 104 a corresponds to the instruction-emulation executing unit 15 a illustrated inFIG. 2 , and the interruptexecution process 104 b corresponds to the interrupt executing unit 15 b. Furthermore, the new-PSW update process 104 c corresponds to the new-PSW updating unit 15 c illustrated inFIG. 2 and thecheck processing process 105 a corresponds to thecheck processing unit 16 a. Moreover, the check-result storing process 105 b corresponds to the check-result storing unit 16 b illustrated inFIG. 2 . - A PSA-area table 101 a, a new-PSW-storage-area table 101 b, and a configuration-information-storage-area table 101 c are provided in the
RAM 101. The PSA-area table 101 a corresponds to thePSA area 14 b illustrated inFIG. 2 , the new-PSW-storage-area table 101 b corresponds to the new-PSW storage area 14 c, and the configuration-information-storage-area table 101 c corresponds to the configuration-information storage area 14 d. - The
programs 103 a to 103 e described above are not necessarily stored in theROM 103. For example, theprograms 103 a to 103 e may be stored in a “portable physical medium”, such as a flexible disk (FD), a CD-ROM, an MO disk, a DVD disk, a magnet-optical disk, or an IC card, that are inserted into thecomputer system 100; a “fixed physical medium”, such as a hard disk drive (HDD) that is provided inside or outside thecomputer system 100; or “another computer system (or a server)” that is connected to thecomputer system 100 via a public line, the Internet, LAN, WAN, or the like, so that thecomputer system 100 can read out and execute the programs from these media. - That is, the programs in the other embodiments are recorded in a computer-readable manner in a recording medium, such as the above “portable physical medium”, the “fixed physical medium”, or the “computer medium”. The
computer system 100 reads and executes the programs from the recording medium to thereby implement the same functions as those of the above embodiments. The programs in the other embodiments are not necessarily executed by thecomputer system 100. For example, even when other computer systems or servers execute the programs or even when these systems or the servers execute the programs in cooperation with each other, the present invention can be applied. - According to one aspect of the information processing apparatus and the interrupt control program, it is possible to shorten process time of an interrupt process.
- All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Claims (6)
1. An information processing apparatus comprising:
a memory configured to store therein a program status word containing an address of data that is to be read when an interrupt process is executed;
a first processor configured to determine whether or not the program status word stored in the memory is available, and to control the memory to store a determination result in association with the program status word; and
a second processor configured to acquire the program status word and the determination result from the memory when the interrupt process occurs, and to read data on the basis of the address contained in the acquired program status word when the acquired determination result indicates that the program status word is available.
2. The information processing apparatus according to claim 1 , wherein
when the program status word is rewritten, the second processor controls the memory to store update information, which indicates that the program status word is rewritten, in the memory in association with the rewritten program status word, and
when detecting, based on the update information stored in the memory, that the program status word is rewritten, the first processor determines whether or not the program status word is available.
3. The information processing apparatus according to claim 1 , wherein
the second processor emulates architecture different from the information processing apparatus and executes various processes of the architecture, and
the first processor does not execute the various processes of the architecture.
4. The information processing apparatus according to claim 3 , wherein
the memory stores therein the program status word in a reproduced area that is a reproduction of a memory space of the architecture,
the first processor determines whether the program status word stored in the reproduced area of the memory is available,
the memory stores the program status word and a determination result in a predetermined area of the memory in an associated manner,
the second processor acquires the program status word and the determination result from the predetermined area of the memory when the interrupt process occurs, and
the second processor acquires, from the predetermined area of the memory, the program status word and reads data by using an address contained in the acquired program status word when the determination result indicates that the program status word is available.
5. The information processing apparatus according to claim 1 , further comprising:
a plurality of processors, wherein
that the memory stores therein the number of processors that execute various processes in the information processing apparatus and the number of processors that do not execute the various processes in the information processing apparatus, in an associated manner; and
that the specifies whether a processor of the plurality of processors not executing the various processes is to be allocated as the first processor or the second processor, on the basis of the number of the processors that execute the various processes and the number of the processors that do not execute the various processes, with reference to the memory.
6. The information processing apparatus according to claim 5 , wherein
when there is a plurality of types of interrupt processes, the plurality of processors, which do not execute the various processes and which are specified in the memory, are assigned to interrupt processes that are to be determination objects for which whether or not the program status word has an error is determined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/642,888 US9069742B1 (en) | 2010-08-10 | 2015-03-10 | Information processing apparatus |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010179561A JP5565187B2 (en) | 2010-08-10 | 2010-08-10 | Information processing apparatus and interrupt control program |
JP2010-179561 | 2010-08-10 | ||
US13/196,965 US9009422B2 (en) | 2010-08-10 | 2011-08-03 | Information processing apparatus and interrupt control method |
US14/642,888 US9069742B1 (en) | 2010-08-10 | 2015-03-10 | Information processing apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/196,965 Division US9009422B2 (en) | 2010-08-10 | 2011-08-03 | Information processing apparatus and interrupt control method |
Publications (2)
Publication Number | Publication Date |
---|---|
US20150178228A1 true US20150178228A1 (en) | 2015-06-25 |
US9069742B1 US9069742B1 (en) | 2015-06-30 |
Family
ID=45565626
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/196,965 Expired - Fee Related US9009422B2 (en) | 2010-08-10 | 2011-08-03 | Information processing apparatus and interrupt control method |
US14/642,888 Expired - Fee Related US9069742B1 (en) | 2010-08-10 | 2015-03-10 | Information processing apparatus |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/196,965 Expired - Fee Related US9009422B2 (en) | 2010-08-10 | 2011-08-03 | Information processing apparatus and interrupt control method |
Country Status (2)
Country | Link |
---|---|
US (2) | US9009422B2 (en) |
JP (1) | JP5565187B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8954619B1 (en) | 2013-08-07 | 2015-02-10 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Memory module communication control |
US9261098B2 (en) | 2013-08-13 | 2016-02-16 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Fan speed and memory regulator control based on memory margin |
JP7529223B2 (en) | 2017-04-28 | 2024-08-06 | エルゼットラブズ ゲーエムベーハー | Containerized deployment of microservices based on monolithic legacy applications |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5577231A (en) * | 1994-12-06 | 1996-11-19 | International Business Machines Corporation | Storage access authorization controls in a computer system using dynamic translation of large addresses |
US20020128812A1 (en) * | 2001-03-12 | 2002-09-12 | International Business Machines Corporation | Time-multiplexing data between asynchronous clock domains within cycle simulation and emulation environments |
US7383412B1 (en) * | 2005-02-28 | 2008-06-03 | Nvidia Corporation | On-demand memory synchronization for peripheral systems with multiple parallel processors |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58117059A (en) | 1981-12-31 | 1983-07-12 | Fujitsu Ltd | Status monitor |
JPS58215779A (en) | 1982-06-07 | 1983-12-15 | Nec Corp | Data processor |
JPS6243737A (en) | 1985-08-21 | 1987-02-25 | Hitachi Ltd | Interruption control system |
JPH02244345A (en) * | 1989-03-17 | 1990-09-28 | Fujitsu Ltd | Information processor |
JPH02244334A (en) * | 1989-03-17 | 1990-09-28 | Fujitsu Ltd | Information processor |
JPH02245937A (en) * | 1989-03-20 | 1990-10-01 | Fujitsu Ltd | Information processor |
JPH03105529A (en) * | 1989-09-20 | 1991-05-02 | Fujitsu Ltd | Psw type error control circuit |
JPH0833825B2 (en) * | 1990-01-31 | 1996-03-29 | 富士通株式会社 | Microprocessor |
JP3292864B2 (en) | 1995-02-07 | 2002-06-17 | 株式会社日立製作所 | Data processing device |
JP2007528046A (en) * | 2003-06-17 | 2007-10-04 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Microcontroller and addressing method |
US7117326B2 (en) * | 2003-06-26 | 2006-10-03 | Intel Corporation | Tracking modifications to a memory |
US20090182984A1 (en) * | 2008-01-11 | 2009-07-16 | International Business Machines Corporation | Execute Relative Long Facility and Instructions Therefore |
-
2010
- 2010-08-10 JP JP2010179561A patent/JP5565187B2/en not_active Expired - Fee Related
-
2011
- 2011-08-03 US US13/196,965 patent/US9009422B2/en not_active Expired - Fee Related
-
2015
- 2015-03-10 US US14/642,888 patent/US9069742B1/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5577231A (en) * | 1994-12-06 | 1996-11-19 | International Business Machines Corporation | Storage access authorization controls in a computer system using dynamic translation of large addresses |
US20020128812A1 (en) * | 2001-03-12 | 2002-09-12 | International Business Machines Corporation | Time-multiplexing data between asynchronous clock domains within cycle simulation and emulation environments |
US7383412B1 (en) * | 2005-02-28 | 2008-06-03 | Nvidia Corporation | On-demand memory synchronization for peripheral systems with multiple parallel processors |
Also Published As
Publication number | Publication date |
---|---|
US9009422B2 (en) | 2015-04-14 |
US20120042137A1 (en) | 2012-02-16 |
US9069742B1 (en) | 2015-06-30 |
JP2012038197A (en) | 2012-02-23 |
JP5565187B2 (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7007425B2 (en) | Memory allocation technology for partially offloaded virtualization managers | |
EP3479223B1 (en) | Secure booting of virtualization managers | |
US10379967B2 (en) | Live rollback for a computing environment | |
JP6845264B2 (en) | Reducing performance variability with an opportunistic hypervisor | |
JP5214105B2 (en) | Virtual machine monitoring | |
US7774636B2 (en) | Method and system for kernel panic recovery | |
US7725894B2 (en) | Enhanced un-privileged computer instruction to store a facility list | |
US7689809B2 (en) | Transparent return to parallel mode by rampoline instruction subsequent to interrupt processing to accommodate slave processor not supported by operating system | |
US8533390B2 (en) | Circular buffer in a redundant virtualization environment | |
US8281318B2 (en) | Systems and methods for inter process communication based on queues | |
US20100125554A1 (en) | Memory Recovery Across Reboots of an Emulated Operating System | |
US9354949B2 (en) | Runtime emulating static thread local storage of portable executable software code | |
KR20110124734A (en) | Failsafe mechanism for dynamic instrumentation of software using callbacks | |
US20090276205A1 (en) | Stablizing operation of an emulated system | |
US7539986B2 (en) | Method for guest operating system integrity validation | |
JP2008529114A (en) | Method for optimizing logging and playback of multitasking applications in a single processor or multiprocessor computer system | |
JP2008529114A5 (en) | ||
US9069742B1 (en) | Information processing apparatus | |
US5003468A (en) | Guest machine execution control system for virutal machine system | |
US7890740B2 (en) | Processor comprising a first and a second mode of operation and method of operating the same | |
WO2012137239A1 (en) | Computer system | |
US8200918B2 (en) | Tracking ownership of memory in a data processing system through use of a memory monitor | |
US8732721B2 (en) | Method for reducing trap overhead when executing a guest in a virtual machine | |
US20120266150A1 (en) | Method and framework for invisible code rewriting | |
US20090241111A1 (en) | Recording medium having instruction log acquiring program recorded therein and virtual computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20190630 |