summaryrefslogtreecommitdiff
path: root/src/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Eliminate kernel global stateGravatar Lioncash2018-08-282-1/+3
| | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
* externals: Update catch to 2.3.0Gravatar Lioncash2018-08-074-4/+4
| | | | Updates the library from 2.2.3 to 2.3.0
* core/memory: Get rid of 3DS leftoversGravatar Lioncash2018-08-032-57/+0
| | | | Removes leftover code from citra that isn't needed.
* arm_test_common: Get rid of truncation warningsGravatar Lioncash2018-07-201-2/+5
| | | | Explicitly cast the value to a u8 to show that this is intentional.
* arm_test_common: Make file static variable a member variable of the testing ↵Gravatar Lioncash2018-07-202-2/+5
| | | | | | environment Gets rid of file-static behavior.
* arm_test_common: Add missing header guardGravatar Lioncash2018-07-201-0/+2
|
* Virtual Filesystem 2: Electric Boogaloo (#676)Gravatar Zach Hilman2018-07-182-39/+0
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* core: Move process creation out of global state.Gravatar bunnei2018-03-142-6/+6
|
* Kernel: Store the program id in the Process class instead of the CodeSet class.Gravatar Subv2018-03-012-5/+5
| | | | There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
* memory: Replace all memory hooking with Special regionsGravatar MerryMage2018-01-272-25/+29
|
* Format: Run the new clang format on everythingGravatar James Rowe2018-01-201-1/+3
|
* CMakeLists: Derive the source directory grouping from targets themselvesGravatar Lioncash2018-01-171-15/+11
| | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
* Fix build on macOS and linuxGravatar MerryMage2018-01-131-1/+1
|
* CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)Gravatar B3n302018-01-082-0/+238
| | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming
* arm: Remove SkyEye/Dyncom code that is ARMv6-only.Gravatar bunnei2018-01-023-13507/+0
|
* hle: Initial implementation of NX service framework and IPC.Gravatar bunnei2017-10-142-217/+0
|
* Merge remote-tracking branch 'upstream/master' into nxGravatar bunnei2017-10-096-0/+13787
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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
| * Moved down_count to CoreTimingGravatar Huw Pascoe2017-09-301-1/+1
| |
| * Tests: Added Memory::IsValidVirtualAddress tests.Gravatar Subv2017-09-262-0/+57
| |
| * Tests: Fixed ARM VFP testsGravatar Subv2017-09-261-9/+13
| |
| * memory: Add GetCurrentPageTable/SetCurrentPageTableGravatar MerryMage2017-09-241-1/+1
| | | | | | | | Don't expose Memory::current_page_table as a global.
| * Tests/VFP: Use a standalone pagetable for the TestEnvironment memory operations.Gravatar Subv2017-09-151-4/+14
| | | | | | | | This fixes building the tests
| * tests: Add tests for vaddGravatar MerryMage2017-07-235-2/+13510
| |
| * tests: Arm testing frameworkGravatar MerryMage2017-07-233-0/+208
| |
* | nso: Refactor and allocate .bss section.Gravatar bunnei2017-09-301-2/+2
|/
* Kernel: Fix typo in test nameGravatar Yuri Kunde Schlesner2017-06-221-1/+1
|
* Kernel/IPC: Support translation of null handlesGravatar Yuri Kunde Schlesner2017-06-211-0/+23
| | | | | Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing.
* Kernel/IPC: Add tests for HLERequestContext buffer translationGravatar Yuri Kunde Schlesner2017-06-182-2/+196
|
* CMake: Create an INTERFACE target for CatchGravatar Yuri Kunde Schlesner2017-05-271-4/+2
|
* CMake: Correct inter-module dependencies and library visibilityGravatar Yuri Kunde Schlesner2017-05-271-2/+3
| | | | | | | | | | 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.
* Common: add ParamPackageGravatar wwylele2017-03-012-0/+26
|
* tests: add missing libcore dependency after 75ee2f8c6702Gravatar Jan Beich2016-12-071-1/+1
| | | | | | | | | $ (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)
* tests: add a work-around for macOS linking errorGravatar wwylele2016-11-192-0/+15
|
* FileSys: add PathParserGravatar wwylele2016-11-192-0/+39
|
* Tests: Run tests on CIGravatar MerryMage2016-05-191-0/+2
|
* tests: Infrastructure for unit testsGravatar MerryMage2016-05-192-0/+23