Patents
US 8,091,090 B2#12309883 Most CitedExpiredUnited States (USPTO)Utility

Method for providing scratch registers for use by a virtual-machine monitor

9Forward Citations (#12309883 Global)
0.6/yrCitation Velocity (#12449112 Global)
1.32Citation PageRank (#27903317 Global)
4Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

In one embodiment of the present invention, a virtual-machine monitor detects entry and exit from guest-operating system code, storing the values of a set of high-order floating point registers in memory on entry, and restoring the values of the set of high-order floating point registers on exit. The virtual-machine monitor can then use the set of high-order floating point registers as scratch registers for emulation of guest-operating-system instructions. In alternative embodiments, a virtual-machine monitor obtains scratch registers for any code that the virtual-machine monitor can detect entry into and exit from, and for which a set of infrequently used registers can be identified, by storing the current contents of the set of registers upon detected entry into the code and restoring the original contents of the set of registers upon exit from the code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 9.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for obtaining scratch registers for use by a virtual-machine monitor for virtualization tasks, the method comprising: identifying a set of registers infrequently used in code to be virtualized; detecting entry to the code to be virtualized; storing contents of the set of infrequently used registers in memory accessible only to the virtual-machine monitor; detecting exit from the code to be virtualized at run time; and restoring the contents of the infrequently used registers from memory; wherein the virtual-machine monitor detects entry to the code to be virtualized by one or more of:

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Ashutosh, Saving and Restoring Implementation Contexts with co-Designed Virtual Machines, 2001.