1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.HLE/HOS/Kernel/Process
gdkchan 0c87bf9ea4
Refactor CPU interface to allow the implementation of other CPU emulators (#3362)
* Refactor CPU interface

* Use IExecutionContext interface on SVC handler, change how CPU interrupts invokes the handlers

* Make CpuEngine take a ITickSource rather than returning one

The previous implementation had the scenario where the CPU engine had to implement the tick source in mind, like for example, when we have a hypervisor and the game can read CNTPCT on the host directly. However given that we need to do conversion due to different frequencies anyway, it's not worth it. It's better to just let the user pass the tick source and redirect any reads to CNTPCT to the user tick source

* XML docs for the public interfaces

* PPTC invalidation due to NativeInterface function name changes

* Fix build of the CPU tests

* PR feedback
2022-05-31 16:29:35 -03:00
..
HleProcessDebugger.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
IProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
IProcessContextFactory.cs misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
KContextIdManager.cs Use BitOperations methods and delete now unused BitUtils methods (#3134) 2022-02-18 02:35:23 +01:00
KHandleEntry.cs Improve kernel IPC implementation (#550) 2019-01-18 20:26:39 -02:00
KHandleTable.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KProcess.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
KProcessCapabilities.cs Use BitOperations methods and delete now unused BitUtils methods (#3134) 2022-02-18 02:35:23 +01:00
KTlsPageInfo.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KTlsPageManager.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
ProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ProcessContextFactory.cs Support memory aliasing (#2954) 2022-05-02 20:30:02 -03:00
ProcessCreationFlags.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ProcessCreationInfo.cs IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel (#1458) 2020-12-02 00:23:43 +01:00
ProcessExecutionContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ProcessState.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
ProcessTamperInfo.cs Update TamperMachine and disable write-to-code prevention (#2506) 2021-08-04 22:05:17 +02:00