# US 10,956,340 B2 · Hardware-based pre-page walk virtual address transformation independent of page size utilizing bit shifting based on page size

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

- Number: US 10,956,340 B2
- Document ID: US10956340B2
- Status: Granted
- Kind: B2
- Application number: 16/283,293
- Filed: 2019-02-22
- Published: 2019-06-20
- Granted: 2021-03-23
- Earliest claimed: 2013-03-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Anthony J. Bybell; Bradly G. Frey; Michael Karl Gschwind
- Web page: https://patentgrep.com/patent/US10956340B2

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/652: Page size control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus includes a processor and a virtual address transformation unit coupled with the processor. The virtual address transformation unit includes a register. The virtual address transformation unit is configured to receive an indication of a virtual address and read, from the register, a current page size of a plurality of available page sizes. The virtual address transformation unit is also configured to determine a shift amount based, at least in part, on the current page size and perform a bit shift of the virtual address, wherein the virtual address is bit shifted by, at least, the determined shift amount.

## Claims

### Claim 1

An apparatus to transform page addresses in a computer system irrespective of page size, the apparatus comprising:
a virtual memory configuration register configured to detect a change to a page size indicator stored in the virtual memory configuration register and transmit the page size indicator to a page size specific amount register;
the page size specific amount register configured to receive the page size indicator;
base shift register to receive a base shift indicator indicating a minimum page size;
an adder to add the page size indicator to the minimum page size to form shift amount indicator indicating a number of bits to shift a virtual address;
a barrel shift register to receive the virtual address and shift the virtual address based on the shift amount indicator to form a transformed virtual address; and
an virtual address register to receive the transformed virtual address.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the virtual address register outputs a page identifier and a page offset based on the transformed virtual address.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the base shift register receives the base shift indicator as a result of a table look-up.

### Claim 4 (depends on 1)

The apparatus of claim 1, where the virtual address register outputs the transformed virtual address as input to a page table walk technique.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the shifted virtual address is used as a set of one or more page identifiers and a page offset.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein at least one of the page identifiers is padded.
