aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
AgeCommit message (Collapse)Author
2020-04-17core: system: Rename GetDeviceManager -> DeviceManager.bunnei
- More consistent with other system components.
2020-04-17core: device_manager: Add a simple class to manage device RAM.bunnei
2020-04-17core: memory: Move to Core::Memory namespace.bunnei
- helpful to disambiguate Kernel::Memory namespace.
2020-02-22System: Expose Host thread registering routines from kernel.Fernando Sahmkow
2020-01-26Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Fernando Sahmkow
This commit instends on better naming the new purpose of this classes.
2020-01-02yuzu: Remove Maxwell debuggerReinUsesLisp
This was carried from Citra and wasn't really used on yuzu. It also adds some runtime overhead. This commit removes it from yuzu's codebase.
2019-11-26core/memory: Introduce skeleton of Memory classLioncash
Currently, the main memory management code is one of the remaining places where we have global state. The next series of changes will aim to rectify this. This change simply introduces the main skeleton of the class that will contain all the necessary state.
2019-11-24kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for ↵bunnei
kernel objects. (#3154) * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
2019-10-15Kernel: Style and CorrectionsFernando Sahmkow
2019-10-15Correct PrepareRescheduleFernando Sahmkow
2019-10-15Add interfacing to the Global SchedulerFernando Sahmkow
2019-10-08Merge pull request #2654 from DarkLordZach/lm-log-rewritebunnei
lm: Rewrite logger to use core reporting services
2019-10-06core/core: Remove unused headerLioncash
This isn't used anywhere in either the cpp or header file.
2019-10-06core: Remove Core::CurrentProcess()Lioncash
This only encourages the use of the global system instance (which will be phased out long-term). Instead, we use the direct system function call directly to remove the appealing but discouraged short-hand.
2019-10-06hle/service: Replace global system instance calls with instance-based onesLioncash
Migrates the HLE service code off the use of directly accessing the global system instance where trivially able to do so. This removes all usages of Core::CurrentProcess from the service code, only 8 occurrences of this function exist elsewhere. There's still quite a bit of "System::GetInstance()" being used, however this was able to replace a few instances.
2019-09-30core/loader: Track the NSO build ID of the current processZach Hilman
2019-09-22core: Add LM::Manager to systemZach Hilman
Allows centralized control over logging mechanisms.
2019-09-23Merge pull request #2683 from DarkLordZach/lock-exitDavid
am: Implement exit locking and self exit commands
2019-09-21core: Track system exit lock statusZach Hilman
Used to determine if yuzu should confirm before pausing or stopping a game.
2019-09-21core: Update RegisterCheatList for new VMZach Hilman
2019-09-21core: Store FileSystemController in coreZach Hilman
2019-07-26Merge pull request #2592 from FernandoS27/sync1bunnei
Implement GPU Synchronization Mechanisms & Correct NVFlinger
2019-07-12core: Remove CurrentArmInterface() global accessorLioncash
Replaces the final usage of the global accessor function and removes it. Removes one more enabler of global state.
2019-07-05Gpu: Implement Hardware Interrupt Manager and manage GPU interruptsFernando Sahmkow
2019-06-28core: Keep instance of APM ControllerZach Hilman
2019-06-24core: Keep track of ARPManager and register current application on bootZach Hilman
2019-06-21Merge pull request #2482 from DarkLordZach/prepobunnei
core: Add detailed local reporting feature for development
2019-05-28core/loader: Remove LoadKernelSystemModeLioncash
This is a hold-over from Citra and doesn't apply to yuzu.
2019-05-26loader: Move NSO module tracking to AppLoaderZach Hilman
Also cleanup of general stuff
2019-05-25core: Add Reporter class to take/save reportsZach Hilman
2019-05-25core: Track load offsets of NSO modulesZach Hilman
Needed for backtrace decomposition
2019-04-17core: Remove specific applets in favor of AppletManagerZach Hilman
2019-03-26core: Store system-wide ContentProvider for the emulatorZach Hilman
2019-03-21Merge pull request #1933 from DarkLordZach/cheat-enginebunnei
file_sys: Implement parser and interpreter for game memory cheats
2019-03-05vm_manager: Remove cheat-specific ranges from VMManagerZach Hilman
2019-03-04core: Add support for registering and controlling ownership of CheatEngineZach Hilman
2019-03-04core/core: Remove the global telemetry accessor functionLioncash
With all usages converted off of it, this function can be removed.
2019-02-15core_timing: Convert core timing into a classLioncash
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
2019-01-17core/frontend/applets/web_browser: Make OpenPage() non-constLioncash
This is a function that definitely doesn't always have a non-modifying behavior across all implementations, so this should be made non-const. This gets rid of the need to mark data members as mutable to work around the fact mutating data members needs to occur.
2018-12-28core: Add getter and setter for WebBrowserApplet frontendZach Hilman
2018-12-23Merge pull request #1781 from DarkLordZach/applet-profile-selectbunnei
am: Implement HLE profile selector applet
2018-12-03core: Add getter/setter for ProfileSelector in SystemZach Hilman
2018-12-03core: Make GetGameFileFromPath function externally accessibleZach Hilman
2018-11-18am: Deglobalize software keyboard appletZach Hilman
2018-10-28core: Add missing const variants of getters for the System classLioncash
Many of the Current<Thing> getters (as well as a few others) were missing const qualified variants, which makes it a pain to retrieve certain things from const qualified references to System.
2018-10-15core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash
2018-10-10kernel/thread: Use a regular pointer for the owner/current processLioncash
There's no real need to use a shared pointer in these cases, and only makes object management more fragile in terms of how easy it would be to introduce cycles. Instead, just do the simple thing of using a regular pointer. Much of this is just a hold-over from citra anyways. It also doesn't make sense from a behavioral point of view for a process' thread to prolong the lifetime of the process itself (the process is supposed to own the thread, not the other way around).
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-09-06core: Migrate current_process pointer to the kernelLioncash
Given we now have the kernel as a class, it doesn't make sense to keep the current process pointer within the System class, as processes are related to the kernel. This also gets rid of a subtle case where memory wouldn't be freed on core shutdown, as the current_process pointer would never be reset, causing the pointed to contents to continue to live.
2018-09-04core: Use a raw pointer in GetGPUDebugContext.Markus Wick
This helper is called very often. The memory ownership shall not be transfered, so just return the raw pointer.