Method and apparatus for translating guest physical addresses in a virtual machine environment
First Claim
Patent Images
1. A method comprising:
- dividing a physical address space into a plurality of segments;
computing an interim first address from a physical address from the physical address space;
computing an interim base value from a base value associated with the physical address;
comparing the interim first address and the interim base value to determine whether the physical address can be validly translated to obtain a translated address; and
if the physical address can be validly translated, combining the physical address with an offset value to obtain the translated address.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus are used to efficiently translate memory addresses. The translation scheme yields a translated address, a memory type for the translated address, and a fault bit for the translation.
148 Citations
20 Claims
-
1. A method comprising:
-
dividing a physical address space into a plurality of segments;
computing an interim first address from a physical address from the physical address space;
computing an interim base value from a base value associated with the physical address;
comparing the interim first address and the interim base value to determine whether the physical address can be validly translated to obtain a translated address; and
if the physical address can be validly translated, combining the physical address with an offset value to obtain the translated address. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus comprising:
-
a memory having a first address space divided into a plurality of segments;
comparison logic circuitry coupled to the memory to create an interim first address from a first address from one of the plurality of segments, to create an interim base value, and to compare the interim first address and the interim base value to determine whether the first address belongs to a segment that can be validly translated to obtain a second address; and
combination logic circuitry coupled to the comparison logic circuitry and to the memory, the combination logic circuitry to combine the first address with an offset value to obtain the second address if the comparison logic circuitry indicates that the first address can be validly translated. - View Dependent Claims (14, 15, 16)
-
-
17. A system comprising:
-
a processor;
memory coupled to the processor, the memory having a first address space divided into a plurality of segments;
comparison logic circuitry coupled to the memory to create an interim first address from a first address from one of the plurality of segments, to create an interim base value, and to compare the interim first address and the interim base value to determine whether the first address belongs to a segment that can be validly translated to obtain a second address; and
combination logic circuitry coupled to the comparison logic circuitry and to the memory, the combination logic circuitry to combine the first address with an offset value to obtain the second address if the comparison logic circuitry indicates that the first address can be validly translated. - View Dependent Claims (18, 19, 20)
-
Specification