Henrik Rydgard
7b3f84aae8
More buildfixes for Windows on ARM
2017-03-05 10:52:08 +01:00
Henrik Rydgard
f2ccd1d648
Assorted Windows-on-ARM fixes
2017-03-05 10:47:41 +01:00
Henrik Rydgård
1503f00885
Memory function cleanups. Better simulation of RW exclusive mode on Windows (if desired)
2017-01-26 09:49:26 +01:00
Henrik Rydgard
b10e0a9a57
Windows buildfix
2017-01-25 20:10:17 +01:00
Henrik Rydgård
ff9e1517c7
More bugfixes
2017-01-25 19:11:33 +01:00
Henrik Rydgård
193b5f3094
By skipping kernel mappings, I got things to fit in the iOS 64-bit address space. However, something is still a bit broken with JIT...
2017-01-25 18:35:09 +01:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Henrik Rydgard
f39c603acb
Move memory protect logging to VERBOSE level. See #8941 (probably something else going on though)
2016-09-04 16:35:23 +02:00
Henrik Rydgard
dde50cbdf5
Remove checks for various iOS non-jit situations in settings
2016-08-28 19:01:00 +02:00
Unknown W. Brackets
2fd81a4b29
Fix typo.
2016-08-28 09:44:52 -07:00
Henrik Rydgard
740ef4e0eb
Apple buildfix
2016-08-28 18:41:24 +02:00
Henrik Rydgard
3ab2094b76
Buildfix attempt
2016-08-28 18:35:57 +02:00
Henrik Rydgard
2a4f4ed41d
iOS buildfix, fix another comment
2016-08-28 18:10:26 +02:00
Henrik Rydgard
1e4b77fb49
Use PAGE_SIZE, fix a comment, fix some indentation.
2016-08-28 18:07:54 +02:00
Henrik Rydgard
d82ba24485
Symbian buildfix
2016-08-28 15:07:33 +02:00
Henrik Rydgard
b264657d56
Implement W^X-compatible path. Works on Windows and Android, hopefully iOS (untested).
...
Disabled block linking in this mode, can re-enable with some more work later.
To enable W^X on other platforms than iOS, simply change PlatformIsWXExclusive.
2016-08-28 14:52:08 +02:00
Henrik Rydgard
323eb72b7c
Write-protect the dispatcher on all platforms.
2016-08-28 13:35:27 +02:00
Henrik Rydgard
5005e83254
Consistency improvements to the memory protect/alloc APIs
2016-08-28 12:28:17 +02:00
Henrik Rydgard
adbac55b1d
Replace Write/UnWriteProtectMemory with ProtectMemory that takes flags
2016-08-28 12:09:01 +02:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Unknown W. Brackets
f3a616df24
Jit: Properly re-allocate when jit is freed a lot.
...
Fixes #8334 .
2016-01-02 13:24:58 -08:00
Unknown W. Brackets
935b802dad
Reset memory alloc pointer when jit alloc fails.
...
On Windows x64, we keep track of our last allocation. Once we run out of
our 2GB range, we need to start over or it'll just fail.
Fixes #8021 .
2015-10-10 09:07:34 -07:00
Henrik Rydgard
fdea85138c
Update project files, fix minor issues for VS 2015
2015-09-06 19:32:15 +02:00
Jan Beich
2eb1d578dd
Common: check against MAP_FAILED on every Unix after mmap()
...
This is required by POSIX but may matter only in MAX_FIXED case.
2015-05-26 15:20:11 +03:00