summaryrefslogtreecommitdiff
path: root/src/core/memory (follow)
Commit message (Collapse)AuthorAgeFilesLines
* scope_exit: Make constexprGravatar FearlessTobi2024-02-191-2/+2
| | | | | Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
* dmnt: cheats: Fix valid address rangeGravatar german772024-02-171-2/+2
|
* Merge pull request #12927 from german77/cheat-pauseGravatar liamwhite2024-02-094-2/+22
|\ | | | | dmnt: cheat: Add pause and resume support
| * dmnt: cheat: Add pause and resume supportGravatar german772024-02-054-2/+22
| |
* | dmnt: cheat: Invalidate cache on memory writesGravatar Narr the Reg2024-02-061-1/+4
|/
* dmnt: cheats: Silence memory errorsGravatar german772024-02-054-20/+32
|
* dmnt: cheats: Update cheat vm to latest versionGravatar german772024-02-045-29/+71
|
* hid_core: Move hid to it's own subprojectGravatar Narr the Reg2024-01-051-2/+2
|
* core_timing: remove user data valueGravatar Liam2023-12-232-5/+5
|
* core: Make sure npad is initializedGravatar Narr the Reg2023-12-141-1/+1
|
* service: hid: Create appropriate hid resourcesGravatar Narr the Reg2023-11-201-4/+1
|
* service: hid: Split hid.cpp into individual interfacesGravatar Narr the Reg2023-11-151-3/+4
|
* cheats: Clamp cheat names without failingGravatar german772023-10-211-7/+16
|
* cheat_engine: Remove uncaught usage of stoulGravatar lat9nq2023-09-131-1/+1
|
* kernel: reduce page table region checkingGravatar Liam2023-07-141-2/+2
|
* k_process: PageTable -> GetPageTableGravatar Liam2023-07-141-3/+3
|
* memory: rename global memory references to application memoryGravatar Liam2023-03-231-2/+2
|
* kernel: use KTypedAddress for addressesGravatar Liam2023-03-221-3/+3
|
* kernel: convert KProcess to new styleGravatar Liam2023-03-121-1/+1
|
* cheat_engine: add check for hid initializationGravatar Liam2023-02-211-2/+7
|
* general: rename CurrentProcess to ApplicationProcessGravatar Liam2023-02-131-3/+3
|
* dmnt:cht: fix copy-paste errorGravatar Liam2022-11-201-1/+1
|
* PRGravatar Kelebek12022-07-101-1/+1
|
* Rework CoreTimingGravatar Kelebek12022-07-101-4/+4
|
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-04-235-75/+10
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* npad: Return NpadButton in GetAndResetPressStateGravatar Morph2021-11-291-2/+1
| | | | We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
* general: Get the current process program id directly from the systemGravatar Morph2021-11-041-1/+1
| | | | This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
* general: Rename GetTitleID to GetProgramIDGravatar Morph2021-11-041-1/+1
|
* core: Remove unused includesGravatar ameerj2021-11-031-2/+0
|
* core: Make variable shadowing a compile-time errorGravatar Lioncash2021-05-164-13/+14
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* hle: kernel: Rename Process to KProcess.Gravatar bunnei2021-05-051-1/+1
|
* core: Resolve misc cases of variable shadowingGravatar Lioncash2021-05-032-3/+3
| | | | | | | | | Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next).
* hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.Gravatar bunnei2021-02-181-1/+1
|
* core/CMakeLists: Make some warnings errorsGravatar Lioncash2020-10-131-1/+2
| | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
* cheat_engine: Convert ExtractName into a non-template functionGravatar Lioncash2020-09-151-19/+17
| | | | | | We don't need to create two separate instantiations of the same code, we can simply make the character template argument a regular function parameter.
* cheat_engine: Remove unnecessary system argument to CheatParser's Parse functionGravatar Lioncash2020-09-152-6/+4
| | | | | This isn't used within the function at all in any implementations, so we can remove it entirely.
* Merge pull request #4495 from lioncash/convGravatar Rodrigo Locatti2020-08-141-1/+1
|\ | | | | cheat_engine: Resolve implicit bool->u64 conversion
| * cheat_engine: Resolve implicit bool->u64 conversionGravatar Lioncash2020-08-061-1/+1
| | | | | | | | We can just return zero here.
* | cheat_engine: Make use of designated initializersGravatar Lioncash2020-08-061-6/+18
|/ | | | Same behavior, but makes the member being assigned obvious.
* dmnt_cheat_vm: Make use of designated initializersGravatar Lioncash2020-08-031-105/+121
| | | | Allows for more compact code.
* core_timing: Make use of uintptr_t to represent user_dataGravatar Lioncash2020-07-272-7/+7
| | | | Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
* Merge pull request #4348 from lioncash/nanoGravatar bunnei2020-07-182-8/+11
|\ | | | | core_timing: Make usage of nanoseconds more consistent in the interface
| * core_timing: Make TimedCallback take std::chrono::nanosecondsGravatar Lioncash2020-07-152-7/+9
| | | | | | | | Enforces our desired time units directly with a concrete type.
| * core_timing: Make use of std::chrono with ScheduleEventGravatar Lioncash2020-07-151-3/+4
| |
* | clang-formatGravatar VolcaEM2020-07-151-1/+2
| |
* | dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)Gravatar VolcaEM2020-07-152-1/+41
|/ | | | | | | | | | | | This was based on Atmosphére's DMNT Cheat VM: - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp - https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register" There are now only two remaining opcodes to implement (PauseProcess and BreakProcess) This is untested because I don't have any experience in testing cheats on yuzu
* General: Recover Prometheus project from harddrive failure Gravatar Fernando Sahmkow2020-06-271-4/+4
| | | | | | | This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
* memory: cheat_engine: Updates for new VMM.Gravatar bunnei2020-04-171-5/+8
|
* core: memory: Move to Core::Memory namespace.Gravatar bunnei2020-04-175-10/+10
| | | | - helpful to disambiguate Kernel::Memory namespace.
* CMakeLists: Specify -Wextra on linux buildsGravatar Lioncash2020-04-151-2/+3
| | | | | | | | | | | Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.