mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-25 04:27:56 +00:00
Passing MAP_FIXED to mmap causes already mapped pages in the requested region to be replaced. On Mac OS X this caused pages for JIT-generatd code to appear in the memory range previously auto-allocated for the RAM of the emulated machine. This led to a hang at boot time. The same problem can probably occur on FreeBSD, but not on Linux since MAP_32BIT is used there instead of MAP_FIXED. The solution is to not use MAP_FIXED, but instead rely on the OS honoring the hinted address which is below 4 GB: we don't need an exact match, just a low address. |
||
|---|---|---|
| .. | ||
| Crypto | ||
| ABI.cpp | ||
| ABI.h | ||
| Atomic_GCC.h | ||
| Atomic_Win32.h | ||
| Atomic.h | ||
| BreakPoints.cpp | ||
| BreakPoints.h | ||
| CDUtils.cpp | ||
| CDUtils.h | ||
| ChunkFile.h | ||
| ColorUtil.cpp | ||
| ColorUtil.h | ||
| Common.h | ||
| CommonFuncs.h | ||
| CommonPaths.h | ||
| CommonTypes.h | ||
| ConsoleListener.cpp | ||
| ConsoleListener.h | ||
| CPUDetect.cpp | ||
| CPUDetect.h | ||
| DebugInterface.h | ||
| ExtendedTrace.cpp | ||
| ExtendedTrace.h | ||
| FifoQueue.h | ||
| FileSearch.cpp | ||
| FileSearch.h | ||
| FileUtil.cpp | ||
| FileUtil.h | ||
| FixedSizeQueue.h | ||
| Hash.cpp | ||
| Hash.h | ||
| IniFile.cpp | ||
| IniFile.h | ||
| LinearDiskCache.h | ||
| Log.h | ||
| LogManager.cpp | ||
| LogManager.h | ||
| MathUtil.cpp | ||
| MathUtil.h | ||
| MemArena.cpp | ||
| MemArena.h | ||
| MemoryUtil.cpp | ||
| MemoryUtil.h | ||
| Misc.cpp | ||
| MsgHandler.cpp | ||
| MsgHandler.h | ||
| NandPaths.cpp | ||
| NandPaths.h | ||
| SDCardUtil.cpp | ||
| SDCardUtil.h | ||
| Setup.h | ||
| stdafx.cpp | ||
| stdafx.h | ||
| StdConditionVariable.h | ||
| StdMutex.h | ||
| StdThread.h | ||
| StringUtil.cpp | ||
| StringUtil.h | ||
| SymbolDB.cpp | ||
| SymbolDB.h | ||
| SysConf.cpp | ||
| SysConf.h | ||
| Thread.cpp | ||
| Thread.h | ||
| Thunk.cpp | ||
| Thunk.h | ||
| Timer.cpp | ||
| Timer.h | ||
| Version.cpp | ||
| VideoBackendBase.cpp | ||
| VideoBackendBase.h | ||
| x64Analyzer.cpp | ||
| x64Analyzer.h | ||
| x64Emitter.cpp | ||
| x64Emitter.h | ||