Search found 2 matches

by Tthtlc
Mon Jul 23, 2007 6:11 pm
Forum: Development Help
Topic: How to set memory attributes in kernel?
Replies: 1
Views: 3323

Kernel memory attributes - further clarification

To further clarify my question, another way of asking it is: what is the internals of NtMapViewOfSection() - how does it modify the memory attributes at the page level? NtMapViewOfSection() is only applicable for userspace buffer right?
by Tthtlc
Mon Jul 23, 2007 3:08 am
Forum: Development Help
Topic: How to set memory attributes in kernel?
Replies: 1
Views: 3323

How to set memory attributes in kernel?

I would like to know of an equivalent to VirtualProtect() for kernelspace. Ie, given a virtual memory range returned from ExAllocatePool, or the current memory space occupied by the driver itself in memory, how do I set the memory read/write/execute attributes - the one ultimately ending up as modif...