Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | armemu: Join SMUAD, SMUSD, and SMLAD | Lioncash | 2014-12-16 | 1 | -38/+35 |
| | |||||
* | armemu: Fix UXTB16 | Lioncash | 2014-12-15 | 1 | -12/+12 |
| | | | | Rotation bits are 10 and 11, not 9 and 10. | ||||
* | Merge pull request #276 from lioncash/decrappify | bunnei | 2014-12-15 | 1 | -306/+169 |
|\ | | | | | Clean up armdefs.h a little. | ||||
| * | Clean up armdefs.h | Lioncash | 2014-12-14 | 1 | -306/+169 |
| | | |||||
* | | ARM: Pull some SkyEye fixes from 3dmoo. | bunnei | 2014-12-15 | 3 | -419/+485 |
|/ | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 5 | -109/+109 |
| | |||||
* | armemu: Fix SSAX | Lioncash | 2014-12-08 | 1 | -1/+1 |
| | |||||
* | armemu: Fix SASX | Lioncash | 2014-12-08 | 1 | -1/+1 |
| | |||||
* | armemu: Fix parenthesis warnings regarding bitwise ops | Lioncash | 2014-12-08 | 1 | -4/+4 |
| | |||||
* | Merge pull request #235 from yuriks/dyncom-map | bunnei | 2014-11-30 | 1 | -33/+15 |
|\ | | | | | dyncom: Use unordered_map rather than the terrible 2-level bb_map | ||||
| * | dyncom: Use unordered_map rather than the terrible 2-level bb_map | Yuri Kunde Schlesner | 2014-11-29 | 1 | -33/+15 |
| | | | | | | | | | | | | Seems (probably just placebo/wishful thinking) to make it slightly faster. Also reduces memory usage and makes shutdown when debugging from MSVC fast. | ||||
* | | arm_dyncom_interpreter: Get rid of unused var warnings | Lioncash | 2014-11-29 | 1 | -4/+2 |
|/ | |||||
* | Remove unused includes to common/thread.h | Emmanuel Gil Peyrot | 2014-11-25 | 1 | -2/+0 |
| | |||||
* | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 2014-11-24 | 1 | -16/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed. | ||||
* | Change some SkyEye defines to const ints | Yuri Kunde Schlesner | 2014-11-24 | 2 | -34/+16 |
| | | | | | This prevents them from interfering with other constants defined in different namespaces. | ||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 7 | -12/+12 |
| | |||||
* | Fix documentation of parameters | Lioncash | 2014-11-18 | 2 | -2/+2 |
| | |||||
* | Merge pull request #194 from lioncash/virt | bunnei | 2014-11-15 | 1 | -1/+1 |
|\ | | | | | ARM_Interface: Make destructor virtual | ||||
| * | ARM_Interface: Make destructor virtual | Lioncash | 2014-11-14 | 1 | -1/+1 |
| | | | | | | | | Fixes some warnings on OSX. | ||||
* | | ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable). | bunnei | 2014-11-12 | 1 | -2/+2 |
| | | | | | | | | - Fixes single stepping in debugger. | ||||
* | | ARM: Removed unnecessary goto with each instruction. | bunnei | 2014-11-12 | 1 | -43/+39 |
| | | |||||
* | | ARM: Fixed several dyncom bugs. | bunnei | 2014-11-12 | 3 | -17/+25 |
| | | | | | | | | | | | | | | - Fixed NZCVT flags to properly save state when function returns. - Fixed counter to keep track of the actual number of instructions executed. - Fixed single-step mode to only execute one instruction at a time. - DefaultIni: Removed comment that no longer applied to dyncom. | ||||
* | | Fix compilation errors | Sean Maas | 2014-11-03 | 1 | -2/+2 |
| | | |||||
* | | ARM: Merged additional ARMv6 instructions implemented by 3dmoo. | bunnei | 2014-11-02 | 1 | -42/+234 |
| | | |||||
* | | ARM: Merge latest VFP fixes from 3dmoo team. | bunnei | 2014-11-02 | 4 | -2096/+2388 |
| | | |||||
* | | Fix VFP compilation errors with gcc | Yuri Kunde Schlesner | 2014-10-31 | 1 | -12/+12 |
| | | |||||
* | | Merge pull request #153 from yuriks/add-override | bunnei | 2014-10-28 | 2 | -18/+18 |
|\ \ | | | | | | | Add override keyword where appropriate | ||||
| * | | Add `override` keyword through the code. | Yuri Kunde Schlesner | 2014-10-26 | 2 | -18/+18 |
| | | | | | | | | | | | | This was automated using `clang-modernize`. | ||||
* | | | vfp_helper: Get rid of integer type redefinitions | Lioncash | 2014-10-26 | 1 | -7/+1 |
|/ / | |||||
* | | ARM: Removed unnecessary and unused SkyEye MMU code. | bunnei | 2014-10-25 | 21 | -7728/+326 |
| | | | | | | | | Added license header back in. I originally removed this because I mostly rewrote the file, but meh | ||||
* | | ARM: Removed unused armos code from SkyEye. | bunnei | 2014-10-25 | 3 | -746/+0 |
| | | |||||
* | | ARM: Updated dyncom core to use fast label lookup table on clang. | bunnei | 2014-10-25 | 1 | -3/+7 |
| | | |||||
* | | ARM: Integrate SkyEye faster "dyncom" interpreter. | bunnei | 2014-10-25 | 18 | -50/+8216 |
| | | | | | | | | | | | | | | | | | | | | Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state. | ||||
* | | ARM: Reorganized file structure to move shared SkyEye code to a more common area. | bunnei | 2014-10-25 | 31 | -63/+63 |
| | | | | | | | | Removed s_ prefix | ||||
* | | Merge pull request #97 from archshift/cleanup | bunnei | 2014-09-14 | 1 | -1/+1 |
|\ \ | | | | | | | Small, general code cleanup | ||||
| * | | Dead code removal: video_core.cpp, load_symbol_map.cpp | archshift | 2014-09-07 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #99 from archshift/ext-check | bunnei | 2014-09-11 | 1 | -39/+39 |
|\ \ \ | | | | | | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace | ||||
| * | | | Added string_util to common, small changes in loader.cpp | archshift | 2014-09-09 | 1 | -39/+39 |
| | |/ | |/| | |||||
* / | | core: Prune redundant includes | archshift | 2014-09-09 | 1 | -1/+0 |
|/ / | |||||
* / | core: Make the ARM disassembler use std::string internally | Lioncash | 2014-09-06 | 3 | -189/+143 |
|/ | |||||
* | Threading: Fix thread starting to execute first instruction correctly. | bunnei | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | ARM: Remove a forgotten const in vfp. | Emmanuel Gil Peyrot | 2014-08-20 | 2 | -2/+2 |
| | |||||
* | ARM: Synchronize Citra's SkyEye core with 3dmoo's. | bunnei | 2014-07-24 | 6 | -5919/+5303 |
| | |||||
* | core: Kill off type redefenitions in armdefs.h | Lioncash | 2014-07-20 | 1 | -7/+0 |
| | |||||
* | Merge branch 'threading' of https://github.com/bunnei/citra | bunnei | 2014-06-14 | 4 | -20/+18 |
|\ | | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp | ||||
| * | arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected | bunnei | 2014-06-05 | 1 | -1/+1 |
| | | |||||
| * | arm: fixed bug in how thread context switch occurs with SkyEye | bunnei | 2014-06-05 | 1 | -2/+5 |
| | | |||||
| * | arm: reverting a change made with cb0663de - this has to have been a typo! | bunnei | 2014-06-05 | 1 | -1/+1 |
| | | |||||
| * | arm: added option to prepare CPU core (while mid-instruction) for thread reschedule | bunnei | 2014-06-02 | 3 | -0/+11 |
| | | |||||
| * | arm: removed unnecessary code when calling SVC from skyeye | bunnei | 2014-05-30 | 1 | -16/+0 |
| | | |||||
* | | Added 'this' reference to num_instructions field so it's properly updated,as before the method was affecting the local method parameter rather than the class field | Disruption | 2014-06-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'threading' | bunnei | 2014-05-23 | 7 | -36/+119 |
|\| | |||||
| * | arm_interpreter: fixed load context to currently resume a thread | bunnei | 2014-05-23 | 1 | -1/+4 |
| | | |||||
| * | arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it) | bunnei | 2014-05-21 | 2 | -4/+3 |
| | | |||||
| * | armemu: missed rename of "Syscall" to "SVC" | bunnei | 2014-05-21 | 1 | -1/+1 |
| | | |||||
| * | ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guide | bunnei | 2014-05-21 | 3 | -45/+45 |
| | | |||||
| * | ARM_Interface: added SaveContext and LoadContext functions for HLE thread switching | bunnei | 2014-05-21 | 3 | -1/+63 |
| | | |||||
| * | VFP: disable DBG messages because they spam the console with unimportant skyeye junk | bunnei | 2014-05-20 | 1 | -1/+1 |
| | | |||||
| * | ignore thumbemu 0xDEADCODE debugging catch on MCR | bunnei | 2014-05-17 | 1 | -2/+1 |
| | | |||||
| * | Merge branch 'master' into threading | bunnei | 2014-05-17 | 5 | -20/+30 |
| |\ | |||||
| * \ | Merge master into threading to add support for VFP | bunnei | 2014-05-17 | 28 | -136/+14183 |
| |\ \ | |||||
| * | | | added option to set CPSR register to arm_interface | bunnei | 2014-05-12 | 3 | -0/+20 |
| | | | | |||||
* | | | | Merge pull request #2 from archshift/issue-7-fix | bunnei | 2014-05-20 | 4 | -10/+10 |
|\ \ \ \ | |_|_|/ |/| | | | Fixes issues with building Citra on OSX | ||||
| * | | | Fixed vfp issues | archshift | 2014-05-17 | 4 | -10/+10 |
| | |/ | |/| | |||||
* / | | updated how we call ARM core to make things much faster | bunnei | 2014-05-17 | 5 | -20/+30 |
|/ / | |||||
* | | same fix as last commit - just for vfpsingle.cpp | bunnei | 2014-05-17 | 1 | -2/+2 |
| | | |||||
* | | another VFP fix for GCC | bunnei | 2014-05-17 | 1 | -2/+2 |
| | | |||||
* | | fixed VFP DBG log for GCC | bunnei | 2014-05-17 | 1 | -1/+1 |
| | | |||||
* | | - reenabled MCR and MRC functions now that VFP is attached | bunnei | 2014-05-17 | 2 | -95/+92 |
| | | | | | | | | - removed HLE::CallMCR function (was pointless) | ||||
* | | - removed unused stubbed out code | bunnei | 2014-05-17 | 5 | -33/+27 |
| | | | | | | | | | | - fixed some compiler issues with xscale_copro when porting code to Windows - fixed some #include's | ||||
* | | added maverick.cpp to ARM core from skyeye | bunnei | 2014-05-16 | 1 | -0/+1206 |
| | | |||||
* | | fixed includes | bunnei | 2014-05-16 | 1 | -2/+2 |
| | | |||||
* | | enabled CP_ACCESS_ALLOWED | bunnei | 2014-05-16 | 1 | -6/+4 |
| | | |||||
* | | fixed include path | bunnei | 2014-05-16 | 1 | -1/+1 |
| | | |||||
* | | removed undefined function ARMul_ConsolePrint | bunnei | 2014-05-16 | 1 | -1/+1 |
| | | |||||
* | | added missing armcopro from skyeye | bunnei | 2014-05-16 | 3 | -251/+1093 |
| | | |||||
* | | added missing skyeye mmu code | bunnei | 2014-05-16 | 9 | -17/+3272 |
| | | |||||
* | | fixed armmmu imports | bunnei | 2014-05-16 | 1 | -5/+5 |
| | | |||||
* | | - moved mmu to arm/interpreter folder | bunnei | 2014-05-16 | 13 | -0/+8755 |
|/ | | | | - added initial VFP code from skyeye | ||||
* | - disable strict alignment on LDRD/STRD | bunnei | 2014-05-07 | 1 | -17/+22 |
| | | | | - handle RD in STREX/STREXB | ||||
* | commented out useless debug logs that just spammed console | bunnei | 2014-05-06 | 1 | -3/+3 |
| | |||||
* | - added CallMCR function to coprocessor HLE module | bunnei | 2014-05-02 | 1 | -22/+23 |
| | | | | - moved instruction decoding to coprocessor HLE module | ||||
* | renamed hle "mrc" module to "coprocessor" | bunnei | 2014-05-02 | 1 | -8/+8 |
| | |||||
* | added a module to load symbol map files for debugging | bunnei | 2014-05-01 | 2 | -0/+46 |
| | |||||
* | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 2 | -3/+1 |
| | |||||
* | removed commented out line - this was for an unimplemented MRC call, no longer need to leave this here | bunnei | 2014-04-28 | 1 | -1/+0 |
| | |||||
* | moved HLE::MRC to its own module, added support for catching data synchronization barrier command | bunnei | 2014-04-25 | 2 | -3/+5 |
| | |||||
* | added disassembly to unimplemented instruction | bunnei | 2014-04-25 | 1 | -1/+6 |
| | |||||
* | fixes to build on linux | bunnei | 2014-04-23 | 1 | -0/+2 |
| | |||||
* | - added HLE to connect to "srv:" service | bunnei | 2014-04-13 | 1 | -33/+35 |
| | | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function | ||||
* | hacked CPU interpreter to ignore branch on SVC instruction (as we are HLEing this...) | bunnei | 2014-04-12 | 1 | -2/+6 |
| | |||||
* | added a SETABORT method that does not update LR (for HLE'd SVC that does not jump appcore CPU to an IRQ vector) | bunnei | 2014-04-12 | 1 | -0/+11 |
| | |||||
* | base code to call a syscall from ARM11 appcore | bunnei | 2014-04-11 | 1 | -0/+3 |
| | |||||
* | missed this file with commit 95e5436f | bunnei | 2014-04-11 | 1 | -1/+10 |
| | |||||
* | cleaned up arm_interface, added a setter to set registers for use with HLE return values | bunnei | 2014-04-11 | 2 | -6/+70 |
| | |||||
* | fixed licensing and updated code style naming for arm_interface/arm_interpreter frontend module | bunnei | 2014-04-09 | 3 | -94/+57 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 10 | -27/+27 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 25 | -0/+15528 |