cvs commit: fptools/ghc/rts Adjustor.c
Donald Bruce Stewart
dons at cse.unsw.edu.au
Wed Sep 15 00:08:29 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
> _______________________________________________
Looks good. Regress tests pass on OpenBSD/x86, and ffi is still working :)
-- Don
More information about the Cvs-ghc
mailing list