Only enable PAE if the CPU we're running on has NX support. Without NX
authorkettenis <kettenis@openbsd.org>
Sun, 26 Apr 2015 09:48:29 +0000 (09:48 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 26 Apr 2015 09:48:29 +0000 (09:48 +0000)
commite5fbe20cc7eafe7f53f1a5e01c678a887c02494d
treee3d97d810bae70283b9c9f5856d6642ffc8824fc
parente438aa24b7395fbf96a504832420dc2f872e1620
Only enable PAE if the CPU we're running on has NX support.  Without NX
support we're only wasting memory on the larger PAE page tables without
any real benefit.  This allows some simplifications of the low-level
assembly code.

ok mlarkin@, deraadt@
sys/arch/i386/i386/locore.s
sys/arch/i386/i386/mptramp.s
sys/arch/i386/i386/pmapae.c