cvs commit: fptools/ghc/rts Adjustor.c
Sven Panne
panne at haskell.org
Tue Sep 14 12:47:59 EDT 2004
panne 2004/09/14 09:47:58 PDT
Modified files:
ghc/rts Adjustor.c
Log:
* 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?
Revision Changes Path
1.35 +37 -50 fptools/ghc/rts/Adjustor.c
More information about the Cvs-ghc
mailing list