Back to results
US 12,511,238 B2Granted
Method and device for rapidly searching cache
AssigneeShanghai Zhaoxin Semiconductor Co., Ltd.
InventorsQunyi Yang, Tingli Cui, Xinglin Gui
Life of this patent
Estimating the term…
Abstract
A method and a device for rapidly searching a cache are provided. The method for rapidly searching a cache includes: translating a source identifier (SID) to a domain identifier (DID) according to an extended flag from the software by searching a context cache, wherein the extended flag indicates that a current context entry stored in the context cache is a normal context entry or an extended context entry.
Claims15
A method for rapidly searching a cache, comprising:
- translating a source identifier (SID) to a domain identifier (DID) according to an extended flag from the software by searching an extended field of each entry in a context cache,
- wherein the extended flag indicates that a current context entry stored in the context cache is a normal context entry or an extended context entry;
- wherein the extended field which is a first value indicates that the current context entry is the extended context entry, and the extended field which is a second value indicates that the current context entry is the normal context entry;
- wherein the method further comprises:
- translating a virtual address to a physical address according to the DID by searching a page-structure cache;
- and
- determining that a current page-structure entry stored in the page-structure cache is one of a first-level page-structure entry, a second-level page-structure entry and a nested page-structure entry according to a mapping type field in the page-structure cache, wherein the mapping type field comprises two bits.
4 more elements
A device for rapidly searching a cache, comprising:
- one or more processors;
- and
- one or more computer storage media for storing one or more computer-readable instructions, wherein the device executes the following tasks:
- translating a source identifier (SID) to a domain identifier (DID) according to an extended flag from the software by searching an extended field of each entry in a context cache,
- wherein the extended flag indicates that a current context entry stored in the context cache is a normal context entry or an extended context entry;
- wherein the extended field which is a first value indicates that the current context entry is the extended context entry, and the extended field which is a second value indicates that the current context entry is the normal context entry;
- wherein the device further executes the following tasks:
- translating a virtual address to a physical address according to the DID by searching a page-structure cache;
- and
- determining that a current page-structure entry stored in the page-structure cache is one of a first-level page-structure entry, a second-level page-structure entry and a nested page-structure entry according to a mapping type field in the page-structure cache, wherein the mapping type field comprises two bits.
7 more elements
Dependencies are inferred from the claim text.