# US 2008/0301398 A1 · Linear to physical address translation with support for page attributes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0301398 A1
- Document ID: US20080301398A1
- Status: Published application
- Kind: A1
- Application number: 11/757,103
- Filed: 2007-06-01
- Published: 2008-12-04
- Earliest claimed: 2007-06-01
- Assignees: Intel Corporation
- Inventors: Ohad Falik; Ben-Zion Friedman; Jack Doweck; Eliezer Weissmann; James B. Crossland
- Web page: https://patentgrep.com/patent/US20080301398A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 9/3004: {to perform operations on memory}
- G06F 9/342: {Extension of operand address space}
- G06F 12/10: Address translation
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 2212/1016: Performance improvement
- G06F 2212/507: using speculative control
- G06F 2212/65: Details of virtual memory and virtual address translation
- G06F 2212/657: Virtual address space management
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F 2212/684: TLB miss handling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the invention are generally directed to systems, methods, and apparatuses for linear to physical address translation with support for page attributes. In some embodiments, a system receives an instruction to translate a memory pointer to a physical memory address for a memory location. The system may return the physical memory address and one or more page attributes. Other embodiments are described and claimed.

## Claims

### Claim 1

A machine-implemented method comprising:
receiving an instruction to translate a virtual memory pointer to a physical memory address for a memory location;
translating the virtual memory pointer to the physical memory address based on page table information; and
returning the physical memory address and one or more page attributes.

### Claim 2 (depends on 1)

The method of claim 1, wherein translating the virtual memory pointer to the physical memory address based on page table information comprises:
reading a translation look-aside buffer (TLB) entry to obtain the physical memory address and the one or more page attributes.

### Claim 3 (depends on 1)

The method of claim 1, wherein translating the virtual memory pointer to the physical memory address based on page table information comprises:
if the TLB does not contain the physical memory address, then reading at least one page table entry to obtain the physical memory address and the one or more page attributes.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more attributes include at least one of:
a present bit,
a read/write bit,
a user/supervisor bit,
an access bit,
a dirty bit,
a global flag,
an execute disable bit,
a page size indicator, and
a translation page fault.

### Claim 5 (depends on 1)

The method of claim 1 wherein returning the physical memory address and the one or more page attributes comprises:
storing the physical memory address and the one or more page attributes in a dedicated register; and
accessing the dedicated register using, at least in part, microcode.

### Claim 6 (depends on 1)

The method of claim 1, wherein returning the physical memory address and the one or more page attributes comprises:
returning the physical memory address and the one or more page attributes via a read return bus.

### Claim 7 (depends on 1)

The method of claim 1, wherein receiving the instruction to translate the virtual memory pointer to a physical memory address for a memory location includes receiving the instruction from a virtual machine manager; and
further wherein returning the physical memory address and the one or more page attributes includes returning a host physical memory address.

### Claim 8 (depends on 1)

The method of claim 1, wherein receiving the instruction to translate the virtual memory pointer to a physical memory address for a memory location includes receiving the instruction from a guest operating system; and
further wherein returning the physical memory address and the one or more page attributes includes returning a guest physical memory address.

### Claim 9 (depends on 1)

The method of claim 1, wherein receiving the instruction to translate the virtual memory pointer to a physical memory address for a memory location comprises:
receiving an asynchronous instruction to translate the virtual memory pointer to a physical memory address, the instruction including an operand to define a context for the instruction.

### Claim 10 (depends on 1)

The method of claim 1, wherein translating the virtual memory pointer to the physical memory address based on page table information comprises:
determining whether a page corresponding to the virtual memory pointer is in memory without based on page table information.

### Claim 11

A system comprising:
a memory device; and
a processor and logic executable thereon to
receive an instruction to translate a virtual memory pointer to a physical memory address for a memory location;
translate the virtual memory pointer to the physical memory address based on page table information; and
return the physical memory address and one or more page attributes.

### Claim 12 (depends on 11)

The system of claim 11, wherein the logic to translate the virtual memory pointer to the physical memory address based on page table information comprises:
logic to read a translation look-aside buffer (TLB) entry to obtain the physical memory address and the one or more page attributes.

### Claim 13 (depends on 11)

The system of claim 11, wherein the logic to translate the virtual memory pointer to the physical memory address based on page table information comprises:
logic to read a page table entry to obtain the physical memory address and the one or more page attributes, if the TLB does not contain the physical memory address.

### Claim 14 (depends on 11)

The system of claim 11, wherein the one or more attributes include at least one of:
a present bit,
a read/write bit,
a user/supervisor bit,
an access bit,
a dirty bit,
a global flag,
an execute disable bit,
a page size indicator, and
a translation page fault.

### Claim 15 (depends on 11)

The system of claim 11, wherein the logic to receive the instruction to translate the virtual memory pointer to a physical memory address for a memory location includes logic to receive the instruction from a virtual machine manager; and
further wherein the logic to return the physical memory address and the one or more page attributes includes logic to return a host physical memory address.

### Claim 16

An article of manufacture comprising:
an electronically accessible medium providing instructions that, when executed by an apparatus, cause the apparatus to
receive an instruction to translate a virtual memory pointer to a physical memory address for a memory location;
translate the virtual memory pointer to the physical memory address based on page table information; and
return the physical memory address and one or more page attributes.

### Claim 17 (depends on 16)

The article of manufacture of claim 16, wherein the instructions that, when executed by the apparatus, cause the apparatus to translate the virtual memory pointer to the physical memory address based on page table information cause the apparatus to:
read a translation look-aside buffer (TLB) entry to obtain the physical memory address and the one or more page attributes.

### Claim 18 (depends on 16)

The article of manufacture of claim 16, wherein the instructions that, when executed by the apparatus, cause the apparatus to translate the virtual memory pointer to the physical memory address based on page table information cause the apparatus to:
read a page table entry to obtain the physical memory address and the one or more page attributes, if the TLB does not contain the physical memory address.

### Claim 19 (depends on 16)

The article of manufacture of claim 16, wherein the one or more attributes include at least one of:
a present bit,
a read/write bit,
a user/supervisor bit,
an access bit,
a dirty bit,
a global flag,
an execute disable bit,
a page size indicator, and
a translation page fault.

### Claim 20 (depends on 16)

The article of manufacture of claim 16, wherein the instructions that, when executed by the apparatus, cause the apparatus to receive the instruction to translate the virtual memory pointer to a physical memory address for a memory location cause the apparatus to receive the instruction from a virtual machine manager;
and further wherein the instructions that, when executed by the apparatus, cause the apparatus to return the physical memory address and the one or more page attributes cause the apparatus to return a host physical memory address.
