×

Dynamic binary translator with a system and method for updating and maintaining coherency of a translation cache

  • US 6,704,925 B1
  • Filed: 12/01/1998
  • Issued: 03/09/2004
  • Est. Priority Date: 09/10/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for virtualizing a computer using binary translation comprising the following steps:

  • converting by binary translation input instruction sequences into output instruction sequences that emulate the corresponding input instruction sequences, the input instruction sequences being stored in predetermined pages of a system memory;

    storing the output instruction sequences in a translation cache;

    maintaining coherency of the output instruction sequence with the input instruction sequence by selectively executing the following sub-steps;

    detecting conflicts in the memory pages in which a first set of the input instruction sequences is stored and executing the corresponding output instruction sequences only in the absence of detected conflicts; and

    by explicitly checking for code-invariance by checking for post-translation changes in a second set of input instruction sequences by comparing the copied input instruction sequences with a current version of the corresponding input instruction sequence, before executing the corresponding output instruction sequence.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×