aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
AgeCommit message (Collapse)Author
2018-09-30arm_interface: Add missing fpsr/tpidr members to the ThreadContext structLioncash
Internally within the kernel, it also includes a member variable for the floating-point status register, and TPIDR, so we should do the same here to match it. While we're at it, also fix up the size of the struct and add a static assertion to ensure it always stays the correct size.
2018-09-20arm_interface: Replace kernel vm_manager include with a forward declarationLioncash
Avoids an unnecessary inclusion and also uncovers three places where indirect inclusions were relied upon, which allows us to also resolve those.
2018-09-18arm_interface: Remove ARM11-isms from the CPU interfaceLioncash
This modifies the CPU interface to more accurately match an AArch64-supporting CPU as opposed to an ARM11 one. Two of the methods don't even make sense to keep around for this interface, as Adv Simd is used, rather than the VFP in the primary execution state. This is essentially a modernization change that should have occurred from the get-go.
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-08-24core: Namespace all code in the arm subdirectory under the Core namespaceLioncash
Gets all of these types and interfaces out of the global namespace.
2018-07-21Merge pull request #750 from lioncash/ctxbunnei
arm_interface: Remove unused tls_address member of ThreadContext
2018-07-20CPU: Save and restore the TPIDR_EL0 system register on every context switch.Subv
Note that there's currently a dynarmic bug preventing this register from being written.
2018-07-20arm_interface: Remove unused tls_address member of ThreadContextLioncash
Currently, the TLS address is set within the scheduler, making this member unused.
2018-07-16scheduler: Clear exclusive state when switching contextsMerryMage
2018-03-18Merge pull request #193 from N00byKing/3184_2_robotic_boogaloobunnei
Implement Pull #3184 from citra: core/arm: Improve timing accuracy before service calls in JIT (Rebased)
2018-03-16arm_interface: Support unmapping previously mapped memory.bunnei
2018-02-25Implements citra-emu/citra#3184N00byKing
2018-01-16clang-formatMerryMage
2018-01-12arm_dynarmic: Implement coreMerryMage
2018-01-02arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei
2017-10-09Merge remote-tracking branch 'upstream/master' into nxbunnei
# 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-09-30arm_interface: Set TLS address for dynarmic core.bunnei
2017-09-30arm: Use 64-bit addressing in a bunch of places.bunnei
2017-09-30Moved down_count to CoreTimingHuw Pascoe
2017-09-24ARM_Interface: Implement PageTableChangedMerryMage
2016-12-22ThreadContext: Move from "core" to "arm_interface".bunnei
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-09-15arm: ResetContext shouldn't be part of ARM_Interface.bunnei
2016-08-27ARM: add ClearInstructionCache functionwwylele
2016-05-17Set fpscr for new threadsJannik Vogel
2015-12-06arm_interface: Make GetNumInstructions constLioncash
2015-12-06arm_interface: directly initialize class membersLioncash
2015-08-06arm_interface: Implement interface for retrieving VFP registersLioncash
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-04-06arm_interface: Support retrieval/storage to CP15 registersLioncash
2015-03-16arm_interface: Get rid of GetTicks.Lioncash
Removes a TODO.
2015-02-09Scheduler refactor Pt. 1Kevin Hartman
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner
2015-01-07CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
2014-12-25ARM: Add a mechanism for faking CPU time elapsed during HLE.bunnei
- Also a few cleanups.
2014-12-20License changepurpasmart96
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-14ARM_Interface: Make destructor virtualLioncash
Fixes some warnings on OSX.
2014-06-14Merge branch 'threading' of https://github.com/bunnei/citrabunnei
Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
2014-06-01arm: added option to prepare CPU core (while mid-instruction) for thread ↵bunnei
reschedule
2014-06-01Added 'this' reference to num_instructions field so it's properly updated,as ↵Disruption
before the method was affecting the local method parameter rather than the class field
2014-05-20ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent ↵bunnei
with style guide
2014-05-20ARM_Interface: added SaveContext and LoadContext functions for HLE thread ↵bunnei
switching
2014-05-17Merge branch 'master' into threadingbunnei
2014-05-17updated how we call ARM core to make things much fasterbunnei
2014-05-11added option to set CPSR register to arm_interfacebunnei
2014-04-27removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei
2014-04-10missed this file with commit 95e5436fbunnei
2014-04-08fixed licensing and updated code style naming for ↵bunnei
arm_interface/arm_interpreter frontend module