Tutorial :how to map memory as USWC under windows/linux?


I need to map most of the computer memory as uswc to take advantage of non-caching movntdqa. Is there any easy way to do this under windows or linux?


Under Linux, this is easy - although you'll have to be careful that you don't map kernel memory to W/C - that could get ugly. Assuming you know how to reserve a physical range of memory from userspace, you can then use "/proc/mtrr" to change the memory type.

One example page describing the interface is here

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »