Optimizing segment access in binary translation
a segment access and binary translation technology, applied in the field of binary translation, can solve the problems of ol code that runs significantly slower than the unmodified il code, and guests may also be restricted from accessing specific peripheral devices,
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046]In applications that access segmented memory it has been observed that: a) verifying the access to a segment's memory is relatively complicated, and b) it is much more frequent to access a segment's memory than it is to assign a segment selector to a segment register.
[0047]When a selector is assigned to a segment register, the corresponding descriptor is cached for later access.
[0048]For example (using x86 syntax):
[0049]mov%fs,%ax;setsegmentregister%fstotheselectorfoundin%ax;andcachethecorrespondingdescriptorfromthe;descriptortableinmemory
[0050]The caching of the descriptor happens once per execution of the “mov % fs, % ax” instruction. Subsequently, and possibly repeatedly, the register % fs can be used to access memory. At the time of the memory access, however, it does not matter what selector value is in % fs and it does not matter whether the descriptor is even present in memory anymore. As will be described below, the info...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


