6523854dd6
kernel: unlayer CPU interrupt handling
2022-07-25 12:14:15 -04:00
591d1f1b09
Merge pull request #8549 from liamwhite/kscheduler-sc
...
kernel: use KScheduler from Mesosphere
2022-07-25 12:00:31 -04:00
09300abe92
Merge pull request #8569 from merryhime/watchpoints
...
dynarmic: Abort watchpoints ASAP
2022-07-17 22:41:28 +01:00
a9a9999efd
core/arm: skip watchpoint checks when reading instructions
2022-07-15 19:47:28 -04:00
40e39ddd46
dynarmic: Abort watchpoints ASAP
2022-07-15 10:03:30 +01:00
0624c880bd
kernel: use KScheduler from mesosphere
2022-07-14 22:47:18 -04:00
313f047f97
Merge pull request #8501 from liamwhite/backtrace-again
...
core/arm: better support for backtrace generation
2022-07-07 23:49:54 -04:00
78ce053b4d
Merge pull request #8490 from liamwhite/read-code-stop
...
dynarmic: Stop ReadCode callbacks to unmapped addresses
2022-06-30 20:57:39 -07:00
8f8c0b69dc
core/arm: better support for backtrace generation
2022-06-25 12:54:24 -04:00
2c56e94702
kernel: make current thread pointer thread local
2022-06-23 00:28:00 -04:00
1fd194141a
dynarmic: Stop ReadCode callbacks to unmapped addresses
2022-06-21 20:01:43 -04:00
208ed712f4
core/debugger: memory breakpoint support
2022-06-16 13:18:07 -04:00
20eab9fed9
core: centralize profile scope for Dynarmic
2022-06-14 18:19:04 -04:00
3c313a43fd
common: consolidate ELF structure definitions
2022-06-05 09:42:05 -04:00
989d4a7a41
core/debugger: Improved stepping mechanism and misc fixes
2022-06-01 02:15:15 -04:00
fb4b3c127f
core/debugger: Implement new GDB stub debugger
2022-06-01 00:01:25 -04:00
f981e90af3
general: Avoid ambiguous format_to compilation errors
...
Ensures that we're using the fmt version of format_to.
These are also the only three outliers. All of the other formatters we
have are properly qualified.
2022-05-14 16:48:34 -04:00
91a6df0361
Remove unused PrepareReschedule function
2022-04-24 12:10:16 +01:00
99ceb03a1c
general: Convert source file copyright comments over to SPDX
...
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.
2022-04-23 05:55:32 -04:00
0ca4dff62c
core/arm: separate backtrace collection
2022-04-20 21:39:42 -04:00
a29a8c6f78
Merge pull request #8188 from merryhime/jit-race-page-table-changed
...
dynarmic: Fix race when switching page tables
2022-04-16 00:24:53 -07:00
ba08f63ec4
dynarmic: Fix single core mode
...
Regression introduced in a5d040df3d
. Closes #8201 .
2022-04-13 20:40:12 +01:00
59cbeb3e1b
dynarmic: Fix race when switching page tables
2022-04-10 15:46:29 +01:00
b29242862b
core: extract symbol reading
2022-04-09 02:16:34 -04:00
50192eb4ad
Merge pull request #8148 from merryhime/interrupts
...
dynarmic: Better interrupts
2022-04-07 16:21:41 +02:00
7f11710e0a
dynarmic: Print stack trace on unrecognised instruction or other exception
2022-04-05 20:40:20 +01:00
f114436120
Merge pull request #8089 from merryhime/paranoia
...
configuration: Add Paranoid CPU accuracy level
2022-04-04 11:07:38 -07:00
a5d040df3d
arm_dynarmic: Use HaltReason for svc calls and reschedules
2022-04-03 18:20:11 +01:00
f8b8af47ad
dynarmic: Better interrupts
2022-04-03 16:39:48 +01:00
1383441b15
arm_dynarmic_64: Invalidate on all cores
2022-03-27 15:37:19 +01:00
3c8547160d
configuration: Add Paranoid CPU accuracy level
...
Disables most optimizations for the paranoid.
2022-03-26 08:46:25 +00:00
e439c31c9e
Revert "dynarmic: Reduce size of code caches"
2022-03-22 18:32:54 -07:00
ade596121b
core: Reduce unused includes
2022-03-19 02:23:32 -04:00
220674d0d6
dynarmic: Reduce size of code caches
2022-03-13 22:17:14 +00:00
16784e5bb3
dynarmic: Inline exclusive memory accesses
...
Inlines implementation of exclusive instructions into JITted code,
improving performance of applications relying heavily on these
instructions.
We also fastmem these instructions for additional speed, with
support for appropriate recompilation on fastmem failure.
An unsafe optimization to disable the intercore global_monitor is also
provided, should one wish to rely solely on cmpxchg semantics for
safety.
See also: merryhime/dynarmic#664
2022-02-27 19:40:05 +00:00
f785f73e92
general: Replace NonCopyable struct with equivalents
2022-02-02 13:17:12 -05:00
4d9c9e567e
arm: dynarmic: Cleanup icache op handling
2021-11-21 22:44:13 -05:00
c8a67a725d
arm: dynarmic: Implement icache op handling for 'ic iallu' instruction
2021-11-21 21:18:56 -05:00
84eb3e7d02
arm: dynarmic: Implement icache op handling for 'ic ivau' instruction
2021-11-21 21:10:14 -05:00
7c4b6aab2e
core: Remove unused includes
2021-11-03 21:42:57 -04:00
31b9797296
Fixed ARM_Dynamic_64 Step
2021-10-24 11:16:32 -04:00
dc06e11a7b
settings, arm_dynarmic, yuzu qt: Move CPU debugging option
...
Decouples the CPU debugging mode from the enumeration to its own
boolean. After this, it moves the CPU Debugging tab over to a sub tab
underneath the Debug tab in the configuration UI.
2021-07-08 16:56:44 -04:00
eebf39b3c0
arm_dynarmic_64: Re-add fastmem_address_space_bits to Auto setting
2021-07-08 15:14:45 -04:00
87b6e14d7c
arm_dynarmic{32,64}: Fixes from test build
...
Now sets optimizations regardless of the Settings. Drops unsafe fastmem
optimization.
2021-07-08 14:56:09 -04:00
7ab5767157
core,common,yuzu qt: Add CPU accuracy option 'Auto'
...
The current CPU accuracy settings in yuzu are fairly polarized and
require more than common knowledge to know what the optimal settings for
yuzu would be. This adds a curated option called 'Auto' that applies a
few at the moment known-good unsafe optimizations to Dynarmic.
2021-07-08 14:56:09 -04:00
4569f39c7c
common: Replace common_sizes into user-literals
...
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc
user-literals within literals.h.
To keep the global namespace clean, users will have to use:
```
using namespace Common::Literals;
```
to access these literals.
2021-06-24 09:27:40 -07:00
2298508465
Update dynarmic and add new unsafe CPU option.
2021-06-20 20:40:02 +02:00
5ba28325b2
General: Add settings for fastmem and disabling adress space check.
2021-06-11 17:27:17 +02:00
621f3f5f47
core: Make use of fastmem
2021-06-11 17:27:06 +02:00
f34176996e
Merge pull request #6385 from degasus/save_memory_access
...
core/memory: Check our memory fallbacks for out-of-bound behavior.
2021-05-30 23:21:39 -07:00