10 Commits

Author SHA1 Message Date
selsta
7c172f746f
virtual_memory: add MAP_JIT on macOS 2020-06-28 17:29:41 +02:00
tevador
708a4e50c5 Fix compilation and JIT support on NetBSD:
1. Disable hugepages (not supported).
2. Force W^X (required).
3. When allocating JIT memory, PROT_EXEC must be reserved
   in order to set the pages executable later.
2020-06-28 16:16:20 +02:00
ston1th
f3ded36061 Fixed mmap on OpenBSD
OpenBSD's mmap does not support `MAP_HUGETLB` and `MAP_POPULATE`.
2019-10-20 10:36:46 +02:00
tevador
67010ab554
Optional W^X policy for JIT pages (#112) 2019-08-25 13:47:40 +02:00
tevador
c433f6d3a8
Fix: hardcoded JIT code buffer size (#98)
* code buffer size is calculated based on RandomX parameters
* added a maximum value constraint for program size and superscalar latency
* reduced the x86 code size of memory instructions by 1 byte
* disclaimer note in configuration documentation
2019-07-09 20:27:10 +02:00
tevador
118f3054ea
Large page support for FreeBSD (#74) 2019-06-22 15:55:31 +02:00
tevador
1276d67d2f Fix build on Cygwin/MinGW 2019-05-18 19:30:28 +02:00
tevador
2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +02:00
tevador
a78429202b Query for LargePageMinimum on Windows 2019-05-06 18:18:52 +02:00
tevador
d7eefce583 Removed capital letters from filenames 2019-04-20 16:53:06 +02:00