Emulating operating system calls in an alternate instruction set using a modified code segment descriptor
AssigneeExponential Technology, Inc.
InventorsDavid E. Richter, Jay C. Pattin, James S. Blomgren
Life of this patent
Estimating the term…
Loading patent…
AssigneeExponential Technology, Inc.
InventorsDavid E. Richter, Jay C. Pattin, James S. Blomgren
Estimating the term…
The CISC architecture is extended to provide for segments that can hold RISC code rather than just CISC code. These new RISC code segments have descriptors that are almost identical to the CISC segment descriptors, and therefore these RISC descriptors may reside in the CISC descriptor tables. The global descriptor table in particular may have CISC code segment descriptors for parts of the operating system that are written in x86 CISC code, while also having RISC code segment descriptors for other parts of the operating system that are written in RISC code. An undefined or reserved bit within the descriptor is used to indicate which instruction set the code in the segment is written in. An existing user program may be written in CISC code, but call a service routine in an operating system that is written in RISC code. Thus existing CISC programs may be executed on a processor that emulates a CISC operating system using RISC code. A processor capable of decoding both the CISC and RISC instruction sets is employed. The switch from CISC to RISC instruction decoding is triggered when control is transferred to a new segment, and the segment descriptor indicates that the code within the segment is written in the alternate instruction set.
A method for emulating calls from a user program to an operating system, said method comprising:
A method for emulating calls within a user program, said method comprising:
Dependencies are inferred from the claim text.