Emulating operating system calls in an alternate instruction set using a modified code segment descriptor
Abstract
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 s
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 208.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for emulating calls from a user program to an operating system, said method comprising: executing a plurality of user instructions from said user program, said user instructions belonging to a first instruction set; decoding a call instruction in said user program, said call instruction calling a service routine in an operating system, wherein said call instruction in said user program is a far jump instruction; loading a pointer to a code segment, said code segment containing said service routine in said operating system, said pointer having an instruction set indicating means fo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 208 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- A 5.6 MIPS Call Handling Processor for Switching Systems by Hayashi et al., IEEE JSSC Aug. 1989.
- A 5.6-MIPS Call-Handling Processor for Switching Systems by Hayashi et al., IEEE JSSC Aug. 1989.
- Combining both micro code and Hardwired control in RISC by Bandyophyay and Zheng, Sep. 1987 Computer Architecture News pp. 11 15.
- Combining both micro-code and Hardwired control in RISC by Bandyophyay and Zheng, Sep. 1987 Computer Architecture News pp. 11-15.
- Combining RISC and CISC in PC systems By Garth, Nov. 1991 IEEE publication ( ) pp. 10/1 to 10/5.