Incorporation of services written in one operating system environment into another operating system environment
First Claim
1. Data processing apparatus comprising:
- a processor having a supervisor state and an operating system and including a first set of service routines comprising one or more service routines, said operating system controlling the operation of said data processing apparatus;
detection means for detecting whether a service routine requested by an executing program belongs to said first set of service routines or to a second set of service routines, said first set of service routines being part of a first operating system and said second set of service routines being part of a second operating system;
a memory for storing the service routines of said first and second sets at respective locations and for storing a first hash table accessible by said supervisor state for pointing to the memory locations of each of said first set of service routines and a second hash table accessible by said supervisor state for pointing to the memory locations of each of said second set of service routines; and
table indicating means responsive to said detection means for indicating which of said hash tables is accessible in said supervisor state, said table indicating means indicating said first hash table if the requested service routine belongs to said first set of service routines and indicating said second hash table if the requested service routine belongs to said second set of service routines.
1 Assignment
0 Petitions
Accused Products
Abstract
Data processing apparatus comprises a processor and memory. The processor has a supervisor state including a first set of supervisor service routines for controlling the operation of the data processing apparatus. The memory has a first hash table accessible by the supervisor state for pointing to the first set of supervisor service routines and a second hash table also accessible by the supervisor state for pointing to a second set of supervisor service routines. The data processing apparatus provides table indicating means for indicating whether the first hash table or the second hash table is accessible by the supervisor state. The table indicating means is provided as an index into the first hash table. When this index is accessed, further code is executed which allows access to the second hash table. The operation of the data processing apparatus is controlled by a routine comprising the steps of testing to determine which hash table is to be used for calling the routine, using the determined hash table to find the address in the memory at which the code representing the called routine is resident, and executing the routine in the processor. In one embodiment of the invention, the first step comprises testing the operating system environment in the processor. The invention finds particular use in providing in a first operating system environment, such as MVS/ESA™, services written for a second operating system environment, such as VSE/ESA™.
31 Citations
10 Claims
-
1. Data processing apparatus comprising:
-
a processor having a supervisor state and an operating system and including a first set of service routines comprising one or more service routines, said operating system controlling the operation of said data processing apparatus; detection means for detecting whether a service routine requested by an executing program belongs to said first set of service routines or to a second set of service routines, said first set of service routines being part of a first operating system and said second set of service routines being part of a second operating system; a memory for storing the service routines of said first and second sets at respective locations and for storing a first hash table accessible by said supervisor state for pointing to the memory locations of each of said first set of service routines and a second hash table accessible by said supervisor state for pointing to the memory locations of each of said second set of service routines; and table indicating means responsive to said detection means for indicating which of said hash tables is accessible in said supervisor state, said table indicating means indicating said first hash table if the requested service routine belongs to said first set of service routines and indicating said second hash table if the requested service routine belongs to said second set of service routines. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for calling a requested service routine requested by an executing program, said requested service routine belonging to a first set of service routines or a second set of service routines for controlling the operation of a data processing system comprising a processor and a memory, said first set of service routines belonging to said first operating system and said second set of service routines belonging to said second operating system, wherein said data processing system stores in said memory a first and a second hash table to locate in said memory service routines of said first and said second set of service routines, said method comprising the steps of:
-
testing whether said first or said second operating system is controlling said executing program to determine whether said requested service routine is to be located using said first or second hash table; using the indicated hash table to locate the requested service routine in said memory; and executing said requested service routine in said processor. - View Dependent Claims (7, 8, 9, 10)
-
Specification