Systems and methods for running a legacy 32-bit x86 virtual machine on a 64-bit x86 processor
Abstract
The present invention provides a virtualized computing systems and methods for transitioning in real time between LONG SUPER-MODE and LEGACY SUPER-MODE in the x86-64 architecture. In doing so, a virtual machine, which relies on the traditional 32-bit modes, i.e., REAL MODE and PROTECTED MODE (V86 SUB-MODE, RING-0 SUB-MODE, and RING-3 SUB-MODE), is able to run alongside other applications on x86-64 computer hardware (i.e., 64-bit). The method of performing a temporary processor mode context switch includes the steps of the virtual machine monitor's setting up a “virtual=real” page, placing the transition code for performing the processor mode context switch on this page, jumping to this page, disabling the memory management unit (MMU) of the x86-64 computer hardware, modifying the mode control register to set either the LONG SUPER-MODE bit or LEGACY SUPER-MODE bit, loading a new page table, and reactivating the MMU of the x86-64 computer hardware.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 30.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for performing a temporary processor mode context switch between a first mode and a second mode in a multi-mode architecture computer system (the “computer system”), said method comprising: establishing a “virtual=real” page (the “switch page”) where a virtual address used for said page is also a real memory address for said page; copying a set of transition code for performing a processor mode context switch to the switch page; jumping to the switch page for continued execution; disabling a memory management unit (MMU) of the computer system; modifying a mode control register to set
- Claim 2Depends on #1
The method of claim 1 wherein at least one step of said method is performed by a virtual machine monitor.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗