# HG changeset patch # User Oleksandr Gavenko # Date 1277239130 -10800 # Node ID 073784e56581452784a6855a39a64782bbf67e2d # Parent e1de7d9d98122382da4ef3557bcb3090c51ed9eb Memory protection on Windows. diff -r e1de7d9d9812 -r 073784e56581 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