Method for converting a system call
First Claim
1. A method for converting a system call for an origin operating system into a system call for a destination operating system, comprising the steps of:
- providing at least one reference structure which comprises at least one reference value with aid of which at least one referenced element of the reference structure can be accessed;
calling an emulation routine;
with the emulation routine, converting said reference structure by converting at least said reference value; and
with the emulation routine, performing the system call for the destination operating system, at least the reference value of the system call for the origin operating system being saved for use in further subsequent origin system calls to be converted for the destination operating system.
2 Assignments
0 Petitions
Accused Products
Abstract
In a method for converting a system call for an origin operating system into a system call for a destination operating system, an emulation routine is called. The emulation routine converts a reference structure comprising a reference value and at least one referenced element by converting at least the reference value, and it performs the system call for the destination operating system This method makes it possible to run application programs on a destination system without specific adaptation or retranslation, and even when the original operating system has not been ported to the destination system.
-
Citations
12 Claims
-
1. A method for converting a system call for an origin operating system into a system call for a destination operating system, comprising the steps of:
-
providing at least one reference structure which comprises at least one reference value with aid of which at least one referenced element of the reference structure can be accessed;
calling an emulation routine;
with the emulation routine, converting said reference structure by converting at least said reference value; and
with the emulation routine, performing the system call for the destination operating system, at least the reference value of the system call for the origin operating system being saved for use in further subsequent origin system calls to be converted for the destination operating system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
the at least one referenced element is converted in the step of converting the reference structure. -
4. The method as claimed in claim 1 wherein
for converting the reference value, the emulation routine accesses a conversion table in which a respective reference value in the system call for the origin operating system and a reference value in the system call for the destination operating system are assigned to one another. -
5. The method as claimed in claim 4 wherein it is checked whether a reference value that has been obtained as a result of a system call for the destination operating system is contained in the conversion table, and that if not, a new reference value that has been formed in accordance with conventions of the origin operating system is assigned to this reference value in the conversion table.
-
6. The method as claimed in claim 1 wherein the referenced element is a function, and which in the conversion of the emulation routine generates a new reference value that references an adapter function.
-
7. The method as claimed in claim 6 wherein the adapter function is formed in the conversion dependent on the function referenced by the original reference value.
-
8. The method as claimed in claim 6 wherein the adapter function comprises a universal adapter function designed to access a call table in order to determine the function that is referenced by the original reference value.
-
9. The method as claimed in claim 1 wherein the referenced element is a first system file in accordance with conventions of either the origin operating system or the destination operating system, and that the reference value is converted into a second system file which is synchronized with the first system file but is structured in accordance with conventions of the respective other operating system.
-
10. The method as claimed in claim 1 wherein the referenced element is an element of at least one of a product data type and a concatenated data structure, and that, in the conversion process, the referenced element is copied and converted by at least one of field by field and element by element.
-
11. The method as claimed in claim 1 the referenced element has a significance that can be interpreted by the emulation routine, and that this significance is preserved in the conversion of the referenced element.
-
12. The method as claimed in claim 11 wherein the referenced element is an element of at least one of a date type, of a time type, of a context type, of a character string type, and of a product type having at least one of these types as a component.
-
Specification