Call gate expansion for 64 bit addressing
AssigneeAdvanced Micro Devices, Inc.
InventorKevin J. McGrath
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorKevin J. McGrath
Estimating the term…
A processor supports a first processing mode in which the address size is greater than 32 bits. The address size may be nominally indicated as 64 bits, although various embodiments of the processor may implement any address size which exceeds 32 bits, up to and including 64 bits, in the first processing mode. The first processing mode may be established by placing an enable indication in a control register into an enabled state and by setting a first operating mode indication and a second operating mode indication in a segment descriptor to predefined states. Other combinations of the first operating mode indication and the second operating mode indication may be used to provide compatibility modes for 32 bit and 16 bit processing compatible with the x86 processor architecture (with the enable indication remaining in the enabled state). To call code operating in the first processing mode from the 32 bit or 16 bit code, a call gate descriptor is defined which occupies two entries in a segment descriptor table. By occupying two entries, each of which may otherwise store a segment descriptor, the call gate descriptor may include enough space to store an address in excess of 32 bits. Thus, a calling code segment may reference a call gate descriptor, which may reference the target code segment and may provide an address within the address space of the target code segment, even if the address exceeds the address size in the calling code segment.
A processor comprising:
A method comprising:
A computer system comprising:
A processor comprising circuitry configured to read a segment descriptor from a segment descriptor table responsive to a segment selector, wherein the segment descriptor includes a type field identifying a type of the segment descriptor, and wherein, responsive to the type of the segment descriptor, the circuitry is configured to read the segment descriptor from either:
Dependencies are inferred from the claim text.