Memory type range register
Memory type range registers (MTRRs) are a set of processor supplementary capability control registers that provide system software with control of how accesses to memory ranges by the CPU are cached.[src] It uses a set of programmable model-specific registers (MSRs) which are special registers provided by most modern CPUs.[src] Possible access modes to memory ranges can be uncached, write-through, write-combining, write-protect, and write-back.[src] In write-back mode, writes are written to the CPU's cache and the cache is marked dirty, so that its contents are written to memory later.[src] Write-combining allows bus write transfers to be combined into a larger transfer before bursting them over the bus to allow more efficient writes to system resources like graphics card memory.[src] This often increases the speed of image write operations by several times, at the cost of losing the simple sequential read/write semantics of normal memory.[src] Additional bits which are provided on some computer architectures, such as AMD64, allow the shadowing of ROM contents in memory (shadow ROM), and the configuration of memory-mapped I/O.[src]
Memory type range registers (MTRRs) are a set of processor supplementary capability control registers that provide system software with control of how accesses to memory ranges by the CPU are cached.[src] It uses a set of programmable model-specific registers (MSRs) which are special registers provided by most modern CPUs.[src] Possible access modes to memory ranges can be uncached, write-through, write-combining, write-protect, and write-back.[src] In write-back mode, writes are written to the CPU's cache and the cache is marked dirty, so that its contents are written to memory later.[src] Write-combining allows bus write transfers to be combined into a larger transfer before bursting them over the bus to allow more efficient writes to system resources like graphics card memory.[src] This often increases the speed of image write operations by several times, at the cost of losing the simple sequential read/write semantics of normal memory.[src] Additional bits which are provided on some computer architectures, such as AMD64, allow the shadowing of ROM contents in memory (shadow ROM), and the configuration of memory-mapped I/O.[src] == MTRRs in x86-PC processors == In early x86 architecture systems, especially where the cache was provided by separate chips outside of the CPU package, this function was controlled by the chipset and configured through BIOS settings.[src] When the CPU cache was moved inside the CPU, the CPUs implemented fixed-range MTRRs which cover the first megabyte of memory to be compatible to what PC-BIOSes provided at that time.[src] These are used to control the cache policy needed for VGA accesses and all other memory-accesses done while the system is in real mode.[src] Above 1 MB, CPUs provide a number of variable-range MTRRs, which can be freely placed and even overlap.[src] These variable-range MTRRs can be used to set the caching policy of graphics memory and other memory ranges used by PCI devices.[src] The MTRR count varies: The Intel P6 family of processors (Pentium Pro, Pentium II) and later have MTRRs which may be used to control access to memory ranges.[src] The Cyrix 6x86, 6x86MX and MII processors have Address Range Registers (ARRs) which provide similar functionality to MTRRs.[src] The Centaur C6 WinChip has 8 MCRs, allowing write-combining.[src] The VIA Cyrix III and VIA C3 CPUs offer 8 Intel-style MTRRs.[src] The AMD Athlon family provide 8 Intel-style MTRRs.[src] The AMD K6-2 (stepping 8 and above) and K6-III processors have two MTRRs.[src] The memory interface of AMD K8 CPUs supports "Extended fixed-range MTRR Type-Field Encodings" which allows one to specify whether accesses to certain address ranges are executed by accessing RAM through the Direct Connect Architecture or by executing memory-mapped I/O.[src] This allows, for example, shadow RAM to be implemented by copying ROM contents into RAM.[src]
27 sentences · 27 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Memory type range register." encyclopegia.org, 2026, https://encyclopegia.org/wiki/memory-type-range-register. Accessed 26 November 2026.
Chicago
"Memory type range register." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/memory-type-range-register.
APA
encyclopegia.org. (2026). Memory type range register. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/memory-type-range-register
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON