Claims
- 1. A processor comprising:a region register defining a physical address region and including an attributes field defining at least one memory attribute of the physical address region; a translation lookaside buffer (TLB) comprising a plurality of entries, each of the plurality of entries storing a linear address tag and a corresponding physical address defining a page of memory to which linear addresses matching the linear address tag translate, each of the plurality of entries also configured to store an indication of the at least one memory attribute from the region register if the physical address is within the physical address region; and a translation control unit coupled to the region register and the TLB, wherein the translation control unit is configured, in response to a miss in the TLB for a first linear address, to: (a) locate a translation corresponding to the first linear address within a plurality of page tables in a main memory, the translation defining a first physical address corresponding to the first linear address, (b) compare the first physical address with the physical address region defined by the region register, (c) store the first physical address in a first entry of the plurality of entries of the TLB, and (d) store the indication of the at least one memory attribute from the region register in the first entry if the first physical address is within the physical address region; wherein the at least one memory attribute is independent of the translation.
- 2. The processor as recited in claim 1 wherein, in response to a second linear address which hits in a second entry of the plurality of entries in the TLB, the TLB is configured to provide the indication of the at least one memory attribute from the second entry.
- 3. The processor as recited in claim 1 wherein the physical address region includes at least two pages.
- 4. The processor as recited in claim 1 wherein the at least one memory attribute includes a cacheability attribute defining a cacheability of the physical address region.
- 5. The processor as recited in claim 4 wherein each of the plurality of entries is further configured to store a second cacheability attribute from translations in the plurality of page tables.
- 6. The processor as recited in claim 1 wherein the at least one memory attribute includes a write gathering attribute defining whether or not write gathering is supported within the physical address region.
- 7. The processor as recited in claim 1 wherein the at least one memory attribute includes a write through attribute defining whether or not the physical address region is write through.
- 8. The processor as recited in claim 7 wherein each of the plurality of entries is further configured to store a second write through attribute from translations in the plurality of page tables.
- 9. The processor as recited in claim 1 wherein the at least one memory attribute includes a cacheability attribute, a write gathering attribute, and a write through attribute.
- 10. A method comprising:locating a translation corresponding to a first linear address within a plurality of page tables in a main memory, the translation defining a first physical address corresponding to the first linear address; comparing the first physical address with a physical address region defined by a region register which further includes an attributes field defining at least one memory attribute of the physical address region; storing the first physical address in a first entry of a plurality of entries of a translation lookaside buffer (TLB); and storing an indication of the at least one memory attribute from the region register in the first entry if the first physical address is within the physical address region; wherein the at least one memory attribute is independent of the translation.
- 11. The method as recited in claim 10 further comprising:detecting a hit in a second entry of the plurality of entries in the TLB; and providing the indication of the at least one memory attribute from the second entry in the TLB responsive to the detecting.
- 12. The method as recited in claim 10 wherein the physical address region includes at least two pages.
- 13. The method as recited in claim 10 wherein the at least one memory attribute includes a cacheability attribute defining a cacheability of the physical address region.
- 14. The method as recited in claim 13 further comprising storing a second cacheability attribute from the translation in the first entry in addition to the cacheability attribute.
- 15. The method as recited in claim 10 wherein the at least one memory attribute includes a write gathering attribute defining whether or not write gathering is supported within the physical address region.
- 16. The method as recited in claim 10 wherein the at least one memory attribute includes a write through attribute defining whether or not the physical address region is write through.
- 17. The method as recited in claim 10 further comprising storing a second write through attribute from the translation in the first entry in addition to the write through attribute.
- 18. The method as recited in claim 10 wherein the at least one memory attribute includes a cacheability attribute, a write gathering attribute, and a write through attribute.
Parent Case Info
This application is a continuation of Ser. No. 08/820,965 filed Mar. 19, 1997, now U.S. Pat. No. 6,189,074.
US Referenced Citations (12)
Foreign Referenced Citations (1)
Number |
Date |
Country |
2210479 A |
Jul 1989 |
GB |
Non-Patent Literature Citations (2)
Entry |
Hennessy, John L., & David A. Patterson, Computer Architecture: A Quantitative Approach, Morgan Kaufmann Publishers, Inc., San Mateo, CA, 1990. |
Pentium Pro Family Developer's Manual vol. 3: Operating System Writer's Manual, Intel, 1996. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
08/820965 |
Mar 1997 |
US |
Child |
09/723553 |
|
US |