Commit Graph

29 Commits

Author SHA1 Message Date
bunnei
b95c68cc67 core: Move process creation out of global state. 2018-03-14 18:42:19 -04:00
Subv
440b43d280 Kernel: Store the program id in the Process class instead of the CodeSet class.
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
2018-03-01 19:03:53 -05:00
MerryMage
ceb3d0a5f2 memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
James Rowe
7d396de27a Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
Lioncash
6091001deb CMakeLists: Derive the source directory grouping from targets themselves
Removes the need to store to separate SRC and HEADER variables, and then
construct the target in most cases.
2018-01-17 21:51:43 -05:00
MerryMage
1ae627ad03 Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
B3n30
51a9a51632 CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-08 19:10:25 -05:00
bunnei
e9072e7381 arm: Remove SkyEye/Dyncom code that is ARMv6-only. 2018-01-02 22:24:12 -05:00
bunnei
7df43f253e hle: Initial implementation of NX service framework and IPC. 2017-10-14 22:18:42 -04:00
bunnei
45b7723c75 Merge remote-tracking branch 'upstream/master' into nx
# Conflicts:
#	src/core/CMakeLists.txt
#	src/core/arm/dynarmic/arm_dynarmic.cpp
#	src/core/arm/dyncom/arm_dyncom.cpp
#	src/core/hle/kernel/process.cpp
#	src/core/hle/kernel/thread.cpp
#	src/core/hle/kernel/thread.h
#	src/core/hle/kernel/vm_manager.cpp
#	src/core/loader/3dsx.cpp
#	src/core/loader/elf.cpp
#	src/core/loader/ncch.cpp
#	src/core/memory.cpp
#	src/core/memory.h
#	src/core/memory_setup.h
2017-10-09 23:56:20 -04:00
bunnei
7b5930f5c4 nso: Refactor and allocate .bss section. 2017-09-30 14:33:58 -04:00
Huw Pascoe
9443a54ef3 Moved down_count to CoreTiming 2017-09-30 17:38:14 +01:00
Subv
37167aacca Tests: Added Memory::IsValidVirtualAddress tests. 2017-09-26 17:31:50 -05:00
Subv
e11f9bbf81 Tests: Fixed ARM VFP tests 2017-09-26 17:29:06 -05:00
MerryMage
82f6386ab3 memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
2017-09-24 22:42:42 +01:00
Subv
f0f2ae5d5d Tests/VFP: Use a standalone pagetable for the TestEnvironment memory operations.
This fixes building the tests
2017-09-15 14:26:20 -05:00
MerryMage
9a05e1960b tests: Add tests for vadd 2017-07-23 12:29:51 +01:00
MerryMage
303824a2c3 tests: Arm testing framework 2017-07-23 12:08:43 +01:00
Yuri Kunde Schlesner
191593cd27 Kernel: Fix typo in test name 2017-06-22 02:21:18 -07:00
Yuri Kunde Schlesner
93552a54c0 Kernel/IPC: Support translation of null handles
Missed this in my first implementation. Thanks to @wwylele for pointing
out that this was missing.
2017-06-21 14:27:03 -07:00
Yuri Kunde Schlesner
0da125e8fc Kernel/IPC: Add tests for HLERequestContext buffer translation 2017-06-18 16:05:58 -07:00
Yuri Kunde Schlesner
105c8e138c CMake: Create an INTERFACE target for Catch 2017-05-27 22:46:59 -07:00
Yuri Kunde Schlesner
4a5d297fe7 CMake: Correct inter-module dependencies and library visibility
Modules didn't correctly define their dependencies before, which relied
on the frontends implicitly including every module for linking to
succeed.

Also changed every target_link_libraries call to specify visibility of
dependencies to avoid leaking definitions to dependents when not
necessary.
2017-05-27 18:41:24 -07:00
wwylele
7b74b5c546 Common: add ParamPackage 2017-03-01 23:30:57 +02:00
Jan Beich
4e8a02f32a tests: add missing libcore dependency after 75ee2f8c67
$ (cmake -DENABLE_SDL2:BOOL=false /path/to/citra; gmake)
[...]
[ 85%] Linking CXX executable tests
../common/libcommon.a(microprofile.cpp.o): In function `MicroProfileThreadStart(pthread**, void* (*)(void*))':
src/common/microprofile.cpp:(.text+0x41): undefined reference to `pthread_create'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
2016-12-07 18:30:49 +00:00
wwylele
4f3a480309 tests: add a work-around for macOS linking error 2016-11-19 18:55:35 +02:00
wwylele
dacffc907b FileSys: add PathParser 2016-11-19 17:17:19 +02:00
MerryMage
d119046834 Tests: Run tests on CI 2016-05-19 19:28:08 +01:00
MerryMage
27c43f2d56 tests: Infrastructure for unit tests 2016-05-19 08:38:03 +01:00