Memory protection on Windows.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 22 Jun 2010 23:38:50 +0300
changeset 428 073784e56581
parent 427 e1de7d9d9812
child 429 23003b488928
Memory protection on Windows.
windows.rst
--- a/windows.rst	Tue Jun 22 22:12:07 2010 +0300
+++ b/windows.rst	Tue Jun 22 23:38:50 2010 +0300
@@ -199,3 +199,37 @@
 
   http://msdn.microsoft.com/en-us/library/aa365247.aspx
                 Naming Files, Paths, and Namespaces
+
+* Memory.
+
+  http://msdn.microsoft.com/en-us/library/ff542275%28v=VS.85%29.aspx
+                Boot Parameters to Configure DEP and PAE
+
+** PAE.
+
+All 32-bit Windows XP support only 4 GiB RAM. To enable PAE (Physical Address
+Extension) edit 'c:\boot.ini', add option '/pae':
+
+  multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /pae
+
+  http://msdn.microsoft.com/en-us/library/ff557168%28v=VS.85%29.aspx
+                /pae option
+  http://www.microsoft.com/whdc/system/platform/server/pae/paedrv.mspx
+                PAE support
+
+** NX.
+
+NX (no execute) in Windows realised in Data Execution Prevention (DEP)
+technology.
+
+On 64-bit processes, DEP is enabled by default and cannot be disabled. For
+32-bit Windows DEP is supported in Windows Server 2003 with SP1, Windows XP
+with SP2, Windows Vista, and later versions of Windows.
+
+To enable NX on 32-bit Windows edit 'c:\boot.ini', add option
+'/noexecute=...':
+
+  multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson
+
+  http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx
+                /noexecute parameter