Cache operation with non-cache memory
First Claim
Patent Images
1. A method for writing data to non-cache memory in a system having cache memory comprising the following steps:
- initiating a write operation so that data can be written to a location in non-cache memory;
accessing a cache configuration register to obtain information for use in identifying the memory type of the non-cache memory location to which the write operation is directed;
determining that the non-cache memory location to which the write operation is directed does not comprise a fast read-write memory type;
identifying a line in system cache memory whose contents mirrors the content of the non-cache memory location to which the write operation is directed;
determining that the system has designated the line in system cache memory as being valid;
invalidating the line in system cache memory; and
writing data to the non-cache memory.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method are provided for using cache memory when reading data from system memory particularly when the primary memory could include memory types other than fast read-write memory. Also, a system and method are provided for using cache memory when writing data to system memory particularly when the primary memory could include memory types other than fast read-write memory.
-
Citations
36 Claims
-
1. A method for writing data to non-cache memory in a system having cache memory comprising the following steps:
-
initiating a write operation so that data can be written to a location in non-cache memory;
accessing a cache configuration register to obtain information for use in identifying the memory type of the non-cache memory location to which the write operation is directed;
determining that the non-cache memory location to which the write operation is directed does not comprise a fast read-write memory type;
identifying a line in system cache memory whose contents mirrors the content of the non-cache memory location to which the write operation is directed;
determining that the system has designated the line in system cache memory as being valid;
invalidating the line in system cache memory; and
writing data to the non-cache memory.
-
-
2. A method for writing data to non-cache memory in a system having cache memory comprising the following steps:
-
initiating a write operation so that data can be written to a location in non-cache memory;
obtaining information for use in identifying the memory type of the non-cache memory location to which the write operation is directed;
determining whether the non-cache memory location to which the write operation is directed comprises a fast read-write memory type;
identifying whether a line in system cache memory exists whose contents mirrors the content of the non-cache memory location to which the write operation is directed if the non-cache memory location to which the write operation is directed does not comprise a fast read-write memory type;
determining whether the system has designated the line in system cache memory as being valid if the line is identified;
invalidating the line in system cache memory if the line is identified and if the system had designated the line as being valid; and
writing data to the non-cache memory. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for reading data from non-cache memory in a system having cache memory comprising the following steps:
-
initiating a read operation;
obtaining memory type information for use in identifying the memory type of the non-cache memory location to which the read operation is directed determining whether the non-cache memory is a fast read-write memory type;
determining whether the cache is to be bypassed if the non-cache memory is not a fast read-write memory type;
determining whether the desired data is in the cache if the cache is not to be bypassed;
reading the desired data from the cache if it is determined that the desired data is in the cache; and
reading the desired data from the non-cache memory if it is determined that the desired data is not in the cache or if it is determined that the cache is to be bypassed. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. An electronic system comprising:
-
a cache memory subsystem;
a non-cache memory subsystem; and
a logic device that is operative to read data from the cache memory subsystem and from the non-cache memory subsystem, wherein the logic device is operative to determine if a memory location in the non-cache memory subsystem that contains desired data is fast read-write memory, is operative to determine if the cache memory subsystem is to be bypassed during a read operation if the memory location in the non-cache memory subsystem that contains the desired data is not a fast read-write memory, is operative to determine whether the desired data is in the cache memory subsystem if the cache memory subsystem is not to be bypassed, is operative to read the desired data from the cache memory subsystem if it is determined that the desired data is in the cache, and is operative to read the desired data from the primary non-cache memory subsystem if it is determined that the desired data is not in the cache memory subsystem or if it is determined that the cache memory subsystem is to be bypassed. - View Dependent Claims (28, 29, 30, 31)
-
-
32. An electronic system comprising:
-
a cache memory subsystem;
a non-cache memory subsystem; and
a logic device that is operative to write data to the cache memory subsystem and to the non-cache memory subsystem, wherein the logic device is operative to determine if the non-cache memory location to which the write operation is directed comprises fast read-write memory, to determine whether a line in the cache memory subsystem exists whose contents mirrors the content of the location in the non-cache memory subsystem to which the write operation is directed if the location in the non-cache memory subsystem to which the write operation is directed does not comprise fast read-write memory, to determine whether the system has designated the line in the cache memory subsystem as being valid if the line exists, and to invalidate the line in system cache memory if the line exists and if the system had designated the line as being valid. - View Dependent Claims (33, 34, 35, 36)
-
Specification