aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
AgeCommit message (Collapse)Author
2017-10-23logging: Rename category "Core_ARM11" to "Core_ARM".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-26Loaders: Don't automatically set the current process every time we load an ↵Subv
application. The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-08-19Added missing parts in libnetwork (#2838)B3n30
* Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-07-17telemetry: Log performance, configuration, and system data.bunnei
2017-06-02Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped.
2017-06-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff.
2017-06-02Added system for handling core errors in citra-qt.TheKoopaKingdom
2017-05-24core: Keep track of telemetry for the current emulation session.bunnei
2017-05-09Kernel: Map special regions according to ExHeaderYuri Kunde Schlesner
This replaces the hardcoded VRAM/DSP mappings with ones made based on the ExHeader ARM11 Kernel caps list. While this has no visible effect for most applications (since they use a standard set of mappings) it does improve support for system modules and n3DS exclusives.
2017-02-26Core: Make PerfStats internally lockedYuri Kunde Schlesner
More ergonomic to use and will be required for upcoming changes.
2017-02-26Add performance statistics to status barYuri Kunde Schlesner
2017-02-11core: Free AppLoader on shutdown to release file (#2558)Yuri Kunde Schlesner
Fixes #2455
2016-12-24Core: reset cpu_core in Shutdown to make IsPoweredOn work properlywwylele
2016-12-22core: Replace "AppCore" nomenclature with just "CPU".bunnei
2016-12-21Address clang-format issues.bunnei
2016-12-21core: Remove HLE module, consolidate code & various cleanups.bunnei
2016-12-21core: Consolidate core and system state, remove system module & cleanups.bunnei
2016-12-15gdbstub: Remove global variable from public interfaceLioncash
Currently, this is only ever queried, so adding a function to check if the server is enabled is more sensible. If directly modifying this externally is ever desirable, it should be done by adding a function to the interface, rather than exposing implementation details directly.
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
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-15core: Add configuration option for CPU JIT.bunnei
2016-05-05Merge pull request #1762 from bunnei/globalbunnei
hle: Get rid of direct global access to g_reschedule
2016-05-05HLE: Rename RescheduleIsPending to IsReschedulePending.bunnei
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-21hle: Get rid of global access to g_rescheduleLioncash
This shouldn't be directly exposed if there's already a partial API that operates on it. We can just provide the rest of that API.
2016-03-08Improve error report from Init() functionsLittleWhite
Add error popup when citra initialization failed
2015-12-29core: Use unique_ptr for holding the interpreter instancesLioncash
2015-10-04Implement gdbstubpolaris-
2015-06-28Core: Cleanup core includes.Emmanuel Gil Peyrot
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-11Thread: Remove the idle threadYuri Kunde Schlesner
Instead just use nullptr to represent no thread is active.
2015-05-10Core/Memory: Give every emulated thread it's own TLS area.Subv
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further.
2015-05-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-04-06core: Migrate 3DS-specific CP15 register setting into InitLioncash
2015-02-12dyncom: Switch the app and system cores into the correct mode at initializationLioncash
2015-01-31arm: Adios armemuLioncash
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner
2015-01-08Core: Fixed a crash and removed some unused variables.Subv
ARM_Disasm only has static methods, so there's no need to have an instance of it.
2015-01-07Threads: Use a dummy idle thread when no other are ready.Subv
This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
2015-01-02Core: Change default CPU to dyncom.bunnei
2014-12-20License changepurpasmart96
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-11-18Add static to some variablesLioncash