Re: High Performance Graphics Driver for most devices
Posted: Fri Aug 19, 2022 11:12 am
Yes.devc1 wrote:One Last Question, is the Page Attribute Table (PAT) available on all x64 Processors ?
The Place to Start for Operating System Developers
http://f.osdev.org/
Yes.devc1 wrote:One Last Question, is the Page Attribute Table (PAT) available on all x64 Processors ?
You know, the merest amount of research would have told you to just look into the bloody documentation, that contains such helpful sentences as:devc1 wrote:One Last Question, is the Page Attribute Table (PAT) available on all x64 Processors ?
Since those developments are far older than the development of 64-bit mode, the answer to your question is yes.Intel SDM wrote:The PAT was introduced to the IA-32 architecture on the Pentium III processor. It is also available on the Pentium 4 and Intel Xeon processors.
But it was introduced on the Pentium II...nullplan wrote:Intel SDM wrote:The PAT was introduced to the IA-32 architecture on the Pentium III processor.
Unfortunately, those instructions may not have the same effect:Demindiro wrote:Instead of using PAT you may want to use non-temporal instructions instead, which has the same effect.
Firmware may set up the MTRRs so that the framebuffer is UC. You'll need to change the MTRRs or override the MTRRs with the PAT to make non-temporal instructions work correctly, so you might as well set it to WC and make all instructions non-temporal.Intel SDM wrote:The memory type of the region being written to can override the non-temporal hint, if the memory address specified for the non-temporal store is in an uncacheable (UC) or write protected (WP) memory region.
From what I understand it is not possible to override the MTRR if it set to UC.Octocontrabass wrote:Firmware may set up the MTRRs so that the framebuffer is UC. You'll need to change the MTRRs or override the MTRRs with the PAT to make non-temporal instructions work correctly, so you might as well set it to WC and make all instructions non-temporal.
Look at table 11-7 instead of table 11-6.Demindiro wrote:From what I understand it is not possible to override the MTRR if it set to UC.