[project @ 2004-09-14 16:47:57 by panne]
authorpanne <unknown>
Tue, 14 Sep 2004 16:47:57 +0000 (16:47 +0000)
committerpanne <unknown>
Tue, 14 Sep 2004 16:47:57 +0000 (16:47 +0000)
commit4b17256112ecbee54dd4437f29c711bbfae239c7
tree17aba7ed791aa6a7d1fcee212e8178dc14bc434a
parent3bb535af4751025d75afa89d3f410554f4071a9f
[project @ 2004-09-14 16:47:57 by panne]
* Merged stgMalloc and execPage into a single function which handles
  even multiple pages correctly.

* Enabled the use VirtualProtect on x86 WinDoze now. This could be
  necessary for processors which distinguish between READ and EXECUTE
  memory accesses, e.g. Itaniums IIRC.

* Nuked pageMode and set page permissions always to READ/WRITE/EXECUTE,
  otherwise we could accidentally remove the WRITE permission.

Only mildly tested on x86 Linux, but it might be worth merging into
the STABLE branch when it turns out to work on x86 WinDoze and OpenBSD.
SimonM?
ghc/rts/Adjustor.c