diff options
author | Sverker Eriksson <[email protected]> | 2016-04-12 14:52:21 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-04-15 19:00:34 +0200 |
commit | 90641d82a4b07e6b0be142d07ac85107b8ebee9d (patch) | |
tree | dff7b35bbdcfa4aa67a4ef0c33352fb9eed6250f /erts/emulator/sys/common/erl_mmap.h | |
parent | 499a872d5f6ea09d23eb7b04ea5de2f6d3fabd98 (diff) | |
download | otp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.tar.gz otp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.tar.bz2 otp-90641d82a4b07e6b0be142d07ac85107b8ebee9d.zip |
erts: Make ErtsMemMapper able to map memory with PROT_EXEC
to prepare for hipe native code allocation.
Diffstat (limited to 'erts/emulator/sys/common/erl_mmap.h')
-rw-r--r-- | erts/emulator/sys/common/erl_mmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_mmap.h b/erts/emulator/sys/common/erl_mmap.h index 7c5ddbec0b..30548bd0b0 100644 --- a/erts/emulator/sys/common/erl_mmap.h +++ b/erts/emulator/sys/common/erl_mmap.h @@ -61,7 +61,7 @@ void *erts_mmap(ErtsMemMapper*, Uint32 flags, UWord *sizep); void erts_munmap(ErtsMemMapper*, Uint32 flags, void *ptr, UWord size); void *erts_mremap(ErtsMemMapper*, Uint32 flags, void *ptr, UWord old_size, UWord *sizep); int erts_mmap_in_supercarrier(ErtsMemMapper*, void *ptr); -void erts_mmap_init(ErtsMemMapper*, ErtsMMapInit*); +void erts_mmap_init(ErtsMemMapper*, ErtsMMapInit*, int executable); struct erts_mmap_info_struct { UWord sizes[6]; |