← Back to Patent Explorer
EP0297339A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

Supervisory method for a computer operating system

Assignee: BMC Software Inc
•
Filing: 1988-06-13
•
Granted: —
•
Expires: 2008-06-13
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The present invention relates to a Transport Mechanism system and method, implemented in software, that permits the coordinated supervision, by an arbitrary number of SUPERVISOR PROGRAMS, of the execution of indir­ect-addressed interrupt-handling routines in an operating system. The Transport Mechanism intercepts each call to a supervised interrupt handler, creates a MEMORY MODEL of the then-existing environment, and hands control in sequence to the SUPERVISOR PROGRAMS. Each SUPERVISOR PROGRAM can examine the MEMORY MODEL as well as modify it, and can call a Transport Mechanism service routine which results in turn in the calling of the normal IH routine, but now in the context of the environment specified by the MEMORY MODEL. Such execution is followed by return of control to the calling SUPERVISOR PROGRAM. After all called SUPERVISOR PROGRAMS have completed their execution and returned control to the Transport Mechanism, the Transport Mechanism conforms the actual environment to that indicated by the MEMORY MODEL. If no SUPERVISOR PROGRAM has called for execution of the called interrupt, the Transport Mechanism does so. The Transport Mechanism then returns control to the program which origi­nally initiated the interrupt event.

Inventors

  • 👤 David B. Loader

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-11-02 04:21
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/48; G06F9/4806; G06F9/4812; G06F9/4843

Claims Analysis

Total Claims: 16
Claim 1
Independent Claim 215 words
A method for the supervision by one or more processing programs of the normal programmed response of a computer to the occurrence of a type of inter­rupt event, said normal programmed response to such an interrupt event including the steps of (i) retrieving from an entry in addressable storage the address of a normal interrupt-handling (IH) routine (the normal IH-address) corresponding to the type of occuring interrupt event, and (ii) executing the normal IH routine stored in addressable storage at said normal IH-address, said method comprising the steps of: A. making a copy of the normal IH-address in addressable storage; B. storing a supervisor IH routine in addressable storage; C. overwriting said normal IH-address entry with the address of said supervisor IH routine; D. in response to any calling of said supervisor IH routine, sequentially calling one or more selected supervisor programs; E. the programming in each said supervisor program including a decision branch whether to invoke the normal IH routine in response to the interrupt event occurrence, the outcome of said decision branch depending in part on whether any other supervisor program has already invoked the normal IH routine; and F. upon the completion of the sequential invocation of selected supervisor programs, invoking the normal IH routine if no supervisor program has done so.
Claim 2
Independent Claim 215 words
A method for the supervision by one or more processing programs of the normal programmed response of a computer to the occurrence of a type of inter­rupt event, said normal programmed response to such an interrupt event including the steps of (i) retrieving from an entry in addressable storage the address of a normal interrupt-handling (IH) routine (the normal IH-address) corresponding to the type of occuring interrupt event, and (ii) executing the normal IH routine stored in addressable storage at said normal IH-address, said method comprising the steps of: A. making a copy of the normal IH-address in addressable storage; B. storing a supervisor IH routine in addressable storage; C. overwriting said normal IH-address entry with the address of said supervisor IH routine; D. in response to any calling of said supervisor IH routine, sequentially calling one or more selected supervisor programs; E. the programming in each said supervisor program including a decision branch whether to invoke the normal IH routine in response to the interrupt event occurrence, the outcome of said decision branch depending in part on whether any other supervisor program has already invoked the normal IH routine; and F. upon the completion of the sequential invocation of selected supervisor programs, invoking the normal IH routine if no supervisor program has done so.
Claim 3
Independent Claim 321 words
A system for the distributed supervision and selective modification of the normal programmed response of a computer to the occurrence of a type of interrupt event, said normal programmed response to such an interrupt event including the execution of a normal interrupt-­handling (IH) routine that corresponds to the type of interrupt event occurrence, said normal IH routine being stored at a location in addressable storage pointed to by a primary normal-IH pointer, said primary normal-IH pointer itself being stored in a formatted area of addressable storage, said computer having one or more registers, said system comprising: A. a substitute IH routine; B. a substitute-installing routine including instructions for 1) creating a backup normal IH pointer in a formatted area of addressable storage which points to the address of said normal IH routine, and 2) subsequently overwriting said primary normal IH pointer with a pointer to the ad­dress of said substitute IH routine; C. a dispatcher routine called in response to any calling of said substitute IH routine, said dispatcher routine including instructions for calling one or more supervisor programs, wherein the instructions of each said supervisor program include 1) a decision branch whether said normal IH routine should be called by said particular supervisor program in response to the interrupt event occurrence, the outcome of said decision branch depending in part on whether any other supervisor program has already made such a call, 2) instructions for calling the normal IH routine if so indicated by the outcome of said decision branch, and 3) instructions for returning program control to the program which called the supervisor program; and D. a backup normal-IH caller routine that is called subsequent to the completion of said calling of said supervisor programs, said backup normal-IH caller routine including instructions for calling said normal IH routine if none of said called supervisor programs called the normal IH routine in response to the occurrence of the interrupt event.
Claim 4
Independent Claim 321 words
A system for the distributed supervision and selective modification of the normal programmed response of a computer to the occurrence of a type of interrupt event, said normal programmed response to such an interrupt event including the execution of a normal interrupt-­handling (IH) routine that corresponds to the type of interrupt event occurrence, said normal IH routine being stored at a location in addressable storage pointed to by a primary normal-IH pointer, said primary normal-IH pointer itself being stored in a formatted area of addressable storage, said computer having one or more registers, said system comprising: A. a substitute IH routine; B. a substitute-installing routine including instructions for 1) creating a backup normal IH pointer in a formatted area of addressable storage which points to the address of said normal IH routine, and 2) subsequently overwriting said primary normal IH pointer with a pointer to the ad­dress of said substitute IH routine; C. a dispatcher routine called in response to any calling of said substitute IH routine, said dispatcher routine including instructions for calling one or more supervisor programs, wherein the instructions of each said supervisor program include 1) a decision branch whether said normal IH routine should be called by said particular supervisor program in response to the interrupt event occurrence, the outcome of said decision branch depending in part on whether any other supervisor program has already made such a call, 2) instructions for calling the normal IH routine if so indicated by the outcome of said decision branch, and 3) instructions for returning program control to the program which called the supervisor program; and D. a backup normal-IH caller routine that is called subsequent to the completion of said calling of said supervisor programs, said backup normal-IH caller routine including instructions for calling said normal IH routine if none of said called supervisor programs called the normal IH routine in response to the occurrence of the interrupt event.
Claim 5
Dependent Claim 44 words
The system of claim 2 wherein said substitute-­installing routine further includes instructions to overwrite said primary normal IH pointer for any given type of interrupt event only if one or more of said supervisor programs includes instructions for processing that type of interrupt event.
Claim 6
Dependent Claim 46 words
The system of claim 2 wherein said dispatcher routine includes instructions to call any particular one of said supervisor programs in response to the occurrence of a particular type of interrupt event only if said supervisor program includes instructions for processing that type of interrupt event.
Claim 7
Dependent Claim 36 words
The system of claim 2 further comprising a cleanup routine including instructions for setting said registers to the state that would have existed after execution of the normal IH routine in the absence of the system.
Claim 8
Dependent Claim 58 words
The system of claim 2 wherein said computer operates under the IBM MVS operating system, said dispatcher routine further including instructions for writing formatted register-state information to an extended supervisor table (SXSS), said SXSS being formatted as an extension to an information area formatted in accordance with the specification for the MVS operating system's subsystem option block (SSOB).
Claim 9
Dependent Claim 27 words
The system of claim 6 wherein said SXSS includes an indicator settable by each said supervisor program and indicating whether the normal IH routine has been called.
Claim 10
Independent Claim 133 words
A method for the distributed supervision and selective modification of the normal programmed response of a computer to the occurrence of a type of interrupt event, said normal programmed response to such an interrupt event including the execution of a normal interrupt-­handling (IH) routine that corresponds to the type of interrupt event occurrence, said method comprising the steps of: A. intercepting each call to said normal IH routine; B. calling in turn each of one or more supervisor programs, each of said supervisor programs including a decision branch whether to re-call said normal IH routine, the outcome of said decision branch depending in part on whether any other supervisor program has already re-called said normal IH routine; and C. if none of said supervisor programs re-calls said IH routine, re-calling said IH routine.
Claim 11
Independent Claim 133 words
A method for the distributed supervision and selective modification of the normal programmed response of a computer to the occurrence of a type of interrupt event, said normal programmed response to such an interrupt event including the execution of a normal interrupt-­handling (IH) routine that corresponds to the type of interrupt event occurrence, said method comprising the steps of: A. intercepting each call to said normal IH routine; B. calling in turn each of one or more supervisor programs, each of said supervisor programs including a decision branch whether to re-call said normal IH routine, the outcome of said decision branch depending in part on whether any other supervisor program has already re-called said normal IH routine; and C. if none of said supervisor programs re-calls said IH routine, re-calling said IH routine.
Claim 12
Independent Claim 181 words
A method for distributed supervision of the execution of a normal interrupt handling routine called by a calling program within a computer system operating environment, comprising the steps of: A. intercepting each call to said normal interrupt handling routine; B. upon each such call, creating a memory model in addressable storage of the then-existing state of the environment; C. passing a pointer to said memory model as an argument in a call to a supervisor program; D. upon any call by said supervisor program for execution of said normal interrupt handling routine, updating the environment to reflect the then-existing state of the memory model; E. calling the normal interrupt handling routine; F. updating the memory model to reflect the then-­existing state of the environment; G. returning control to the calling supervisor program; H. receiving control back from the calling supervisor program; I. if no said supervisor program has called for execution of said normal interrupt handling routine, calling for said execution; J. conforming said environment to said existing state of the memory model; and K. returning control to said calling program.
Claim 13
Independent Claim 181 words
A method for distributed supervision of the execution of a normal interrupt handling routine called by a calling program within a computer system operating environment, comprising the steps of: A. intercepting each call to said normal interrupt handling routine; B. upon each such call, creating a memory model in addressable storage of the then-existing state of the environment; C. passing a pointer to said memory model as an argument in a call to a supervisor program; D. upon any call by said supervisor program for execution of said normal interrupt handling routine, updating the environment to reflect the then-existing state of the memory model; E. calling the normal interrupt handling routine; F. updating the memory model to reflect the then-­existing state of the environment; G. returning control to the calling supervisor program; H. receiving control back from the calling supervisor program; I. if no said supervisor program has called for execution of said normal interrupt handling routine, calling for said execution; J. conforming said environment to said existing state of the memory model; and K. returning control to said calling program.
Claim 14
Dependent Claim 35 words
The method of claim 9, further comprising the step of creating a backup memory model subsequent to the creation of said memory model and prior to the passing of said argument to said supervisory program.
Claim 15
Dependent Claim 32 words
The method of claim 9, further comprising the performance of steps C through H inclusive for a plurality of said supervisor programs prior to the performance of steps I through K inclusive.
Claim 16
Dependent Claim 18 words
The method of claim 11, wherein each said supervisor program is called in accordance with a priority scheme.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag