How to map memory as USWC under windows / linux?

I need to map most of the computer memory as uswc in order to use the non-caching movntdqa. Is there an easy way to do this under windows or linux?

+1


a source to share


1 answer


On Linux, this is easy - although you have to be careful not to map kernel memory to W / C - it could get ugly. Assuming you know how to reserve a physical range of memory from user space, you can use "/ proc / mtrr" to change the memory type.



One example page describing the interface is here

+1


a source







All Articles