Commit Graph

6 Commits

Author SHA1 Message Date
SChernykh 607bad48f3
Invalidate CPU I-cache on Apple Silicon
Call __builtin___clear_cache() after pthread_jit_write_protect_np() according to https://developer.apple.com/documentation/apple-silicon/porting-just-in-time-compilers-to-apple-silicon
2023-01-06 10:31:25 +03:00
hyc 261d58c77f
Fix missing failure check in allocMemoryPages() (#250) 2022-07-24 16:31:36 +01:00
SChernykh 00472c54ef Fixed compiler warning
```
virtual_memory.c:210:14: warning: type defaults to 'int' in declaration of 'pageMinimum' [-Wimplicit-int]
```
2022-06-04 19:47:17 +02:00
hyc 85c527a623
Fix missing defs on older platforms (#243) 2022-05-09 22:02:04 +01:00
Howard Chu d8fb7363c1 Fix previous commit...
true/false leftover from C++
2022-05-09 17:48:14 +01:00
Howard Chu 6f756473c0 Don't use exceptions in low-level mem allocator 2022-05-09 17:28:59 +01:00
Renamed from src/virtual_memory.cpp (Browse further)