dolphin/Source/Core/Common/Src
Maarten ter Huurne 29865e6366 Avoid virtual memory range collision between JIT and emulated RAM.
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.
2011-11-30 00:37:57 +01:00
..
Crypto
ABI.cpp
ABI.h
Atomic_GCC.h
Atomic_Win32.h
Atomic.h
BreakPoints.cpp
BreakPoints.h
CDUtils.cpp The data from strdup must be deallocated with free, not delete. I got rid of that ugly strdup and replaced the A though Z cdrom drive letter searching with Windows API stuffs. 2011-03-12 06:50:20 +00:00
CDUtils.h
ChunkFile.h Improve WII state saves by saving /tmp and IPC request/reply queues 2011-05-27 19:55:07 +00:00
ColorUtil.cpp
ColorUtil.h
Common.h add portaudio headers and windows static libs to Externals, enable by default in windows build. 2011-10-03 23:45:59 -07:00
CommonFuncs.h Various changes which improve FreeBSD support. 2011-09-29 23:32:38 +02:00
CommonPaths.h Adds the option to change the path to the wii nand root 2011-05-24 19:12:18 +00:00
CommonTypes.h
ConsoleListener.cpp Fixed some memory leaks. Only one was mine ;P 2011-03-22 07:27:23 +00:00
ConsoleListener.h Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions. 2011-04-01 07:43:02 +00:00
CPUDetect.cpp Various changes which improve FreeBSD support. 2011-09-29 23:32:38 +02:00
CPUDetect.h
DebugInterface.h
ExtendedTrace.cpp
ExtendedTrace.h
FifoQueue.h
FileSearch.cpp
FileSearch.h
FileUtil.cpp Windows: Sets the cwd to the folder that dolphin.exe resides in. 2011-06-11 20:45:09 +00:00
FileUtil.h Windows: Sets the cwd to the folder that dolphin.exe resides in. 2011-06-11 20:45:09 +00:00
FixedSizeQueue.h
Hash.cpp
Hash.h
IniFile.cpp
IniFile.h
LinearDiskCache.h Bump disk cache version. 2011-09-29 22:55:28 +02:00
Log.h
LogManager.cpp Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions. 2011-04-01 07:43:02 +00:00
LogManager.h Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions. 2011-04-01 07:43:02 +00:00
MathUtil.cpp some code cleanup i have left in my folder :) 2011-05-25 18:14:29 +00:00
MathUtil.h some code cleanup i have left in my folder :) 2011-05-25 18:14:29 +00:00
MemArena.cpp
MemArena.h
MemoryUtil.cpp Avoid virtual memory range collision between JIT and emulated RAM. 2011-11-30 00:37:57 +01:00
MemoryUtil.h
Misc.cpp Hack Misc.cpp into building on OS X. 2011-03-16 22:58:24 +00:00
MsgHandler.cpp Improve the shader UID debugging stuff and merge it to VideoCommon, effectively enabling it in D3D9 and D3D11 as well. 2011-09-09 00:32:04 +02:00
MsgHandler.h Oops. Forgot to add the CriticalAlert definitions for windows. 2011-07-15 16:50:54 +00:00
NandPaths.cpp NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one function 2011-05-09 05:47:29 +00:00
NandPaths.h NAND:Consolidate Wad/Directory loading in CNANDContentLoader to one function 2011-05-09 05:47:29 +00:00
SDCardUtil.cpp
SDCardUtil.h
Setup.h
stdafx.cpp
stdafx.h
StdConditionVariable.h problem: TryAcquireSRWLockExclusive requires Windows 7 :/. solution kinda: use std::recursive_mutex (CriticalSection on windows) where try_lock is used. Dolphin should work on Vista x64 again. 2011-03-07 00:16:38 +00:00
StdMutex.h pthread_mutexattr_t's must be initialized before the type can be set. 2011-03-14 15:06:06 +00:00
StdThread.h Fix things so that those who wish to compile with -std=c++0x can. To active this with the cmake build add CXXFLAGS="-std=c++0x" before cmake on the command line, or export that variable. This enables the experimental features like std::thread, std::mutex, etc., that are provided by g++ instead of using the implementation in dolphin. 2011-03-12 00:01:33 +00:00
StringUtil.cpp Make PatchAddEdit complain and not modify entry if fields are invalid instead of just filling in zeros. Fixes issue 4291. 2011-07-09 21:00:30 +00:00
StringUtil.h
SymbolDB.cpp
SymbolDB.h
SysConf.cpp Adds the option to change the path to the wii nand root 2011-05-24 19:12:18 +00:00
SysConf.h Adds the option to change the path to the wii nand root 2011-05-24 19:12:18 +00:00
Thread.cpp Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes. 2011-03-05 06:11:26 +00:00
Thread.h Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions. 2011-04-01 07:43:02 +00:00
Thunk.cpp
Thunk.h
Timer.cpp
Timer.h
Version.cpp fix build issue with intel compiler and fix some unsafe string usages, patch by FilthyMonkey 2011-10-01 21:31:43 -05:00
VideoBackendBase.cpp * GUI Video-Settings changes: 2011-03-21 19:57:31 +00:00
VideoBackendBase.h * GUI Video-Settings changes: 2011-03-21 19:57:31 +00:00
x64Analyzer.cpp
x64Analyzer.h
x64Emitter.cpp JIT: Add support for memory accesses with scaled index register but without base register 2011-06-29 22:40:01 +00:00
x64Emitter.h JIT: Use RAX instead of INVALID_REG for offsetOrBaseReg in MScaled 2011-06-30 19:17:53 +00:00