Physical region page address converter and physical region page list access method
AssigneeASMedia Technology Inc.
InventorWen-Cheng Chen
Life of this patent
Estimating the term…
Abstract
A method for accessing a physical region page (PRP) list includes obtaining a PRP address of a PRP list, in which the PRP address has M bits; performing operation to the first N bits of the PRP address and the N+1 th to Mth bits of the PRP address respectively to obtain a page base address if the PRP address is within a page boundary; and performing operation to the first N bits of the PRP address and the N+1 th to Mth bits of the PRP address respectively to obtain next PRP address pointer if the PRP address reaches the page boundary. N is an integer, and M is an integer larger than N.
Claims10
A method for accessing a physical region page list, comprising:
- obtaining a physical region page address of a physical region page list, wherein the physical region page address comprises M bits;
- performing operation to first N bits of the physical region page address and N+1 th to Mth bits of the physical region page address respectively, to obtain a page base address if the physical region page address is within a page boundary;
- and
- performing operation to the first N bits of the physical region page address and the N+1 th to the Mth bits of the physical region page address respectively to obtain next physical region page address pointer if the physical region page address reaches the page boundary, wherein N is an integer, and M is an integer larger than N.
A physical region page address converter, comprising:
- a first operating circuit configured to divide first N bits of a physical region page address by a predetermine value, and multiply by a page size parameter to calculate a first value;
- a second operating circuit configured to multiply N+1 th to Mth bits of the physical region page address by the page size parameter to calculate a second value;
- an adder circuit configured to add the first value and the second value to calculate a third value;
- a subtractor circuit configured to subtract the third value by an offset value to calculate a fourth value;
- and
- a multiplexer configured to receive the third value and the fourth value, and selectively output the third value as next physical region page address pointer, or output the fourth value as a page base address to a memory controller based on whether the physical region page address reaches a page boundary.
Dependencies are inferred from the claim text.