Commit graph

61 commits

Author SHA1 Message Date
bookmist
858354da23 cpu/unicorn_cpu: fix some warnings 2022-03-17 06:16:05 +01:00
Zangetsu38
d58b1ef393 external: update dynarmic submodule. 2022-03-01 21:10:06 +01:00
scribam
dabfb08f8a
Misc code quality fixes (#1498)
* clang-tidy: run modernize-use-equals-default
* clang-tidy: run modernize-use-override
* screen_render.h: remove redundant access specifier
2021-11-11 17:08:34 +01:00
bookmist
0534a41d0c cpu: fixed type conversion when saving float registers 2021-10-30 21:26:21 +02:00
hobyst
168dfb19ca Add license notice on source files which didn't have one
- Also updated the copyright notice year on all files to 2021
2021-08-19 23:14:27 +02:00
sunho
ceeaae9d9a mem: Support windows write protect
mem: Properly decommit memory in windows
renderer: Add write protect based texture dirty flag
mem: Use custom allocator and optimized page table
dynarmic_cpu: Don't use page_table
2021-05-31 11:00:42 +02:00
sunho
57614cdcf0 kernel: Fix uninits 2021-05-27 19:32:31 +09:00
sunho
0fd2db8c42 dynarmic_cpu: Disable fastmem when optimization is off 2021-05-27 04:04:17 +02:00
sunho
d3b4d05588 kernel: Fix cpsr regression 2021-05-26 21:56:41 +02:00
sunho
141eceebc4 cpu: Remove sp, lr parameters from init_cpu 2021-05-26 04:53:21 +02:00
MerryMage
2be5e4d670 dynarmic_cpu: Implement simple instruction tracing 2021-05-26 08:50:59 +09:00
sunho
d7e8275e8b rtc: Use time since process starts 2021-05-24 03:36:52 +02:00
sunho
d2e676c970 kernel: Add stack traceback 2021-05-24 03:36:52 +02:00
sunho
d310518289 arm_dynarmic: Update include path 2021-05-24 02:13:34 +02:00
sunho
be53a21f2f kernel: Polish trampoline injection 2021-05-19 11:36:18 +09:00
sunho
7d6d79c399 kernel: Merge state and functions 2021-05-19 11:36:18 +09:00
sunho
d5f4b954fc kerenl: Implement trampoline injection
kernel: Move debugging helpers to one place
2021-05-19 11:36:18 +09:00
sunho
a981312a4a cpu: Fix unicorn fallback 2021-05-17 23:15:32 +02:00
sunho
db99882230 cpu: Cleaner cpu context code 2021-05-17 23:15:32 +02:00
MerryMage
ee4ed30d43 arm_dynarmic: Check for valid addresses before accessing them in memory callbacks 2021-05-17 01:31:52 +02:00
MerryMage
7e7f1b3b88 Add option to enable/disable CPU optimizations 2021-05-17 01:31:52 +02:00
MerryMage
56b8a45961 dynarmic_cpu: Bigger numbers aren't always better 2021-05-16 00:14:09 +03:00
MerryMage
50723e67c5 dynarmic_cpu: Handle all exceptions 2021-05-16 00:14:09 +03:00
pent0
01e9a3be1e cpu: Support different processor id.
kernel: Support exclusive monitor for CPU pool, add core number allocation.
2021-05-15 18:31:12 +02:00
sunho
a455440cf5 cpu: Fix memory leak 2021-05-15 18:21:59 +02:00
sunho
bdfddc7ac4 cpu: Add cp15 to dynarmic cpu 2021-05-14 12:22:07 +02:00
sunho
8d0c49e1e5 cpu: Add context description function 2021-05-10 17:21:33 +02:00
sunho
816d6b3d60 vita3k: Merge cpu and disasm library
cpu: Group cpu implementations by impl folder
2021-05-09 12:55:52 +02:00
sunho
8ba4419433 cpu: Pull out nid extraction and debugging helpers 2021-05-08 14:34:20 +02:00
sunho
94bfb26680 cpu: Fix dynarmic get and set float reg 2021-05-08 14:34:20 +02:00
sunho
ada53448f3 cpu: Implement exclusivewrite callback for dynarmic 2021-05-08 14:34:20 +02:00
sunho
f76f2f2c39 cpu: Fix dynarmic exclusive instructions, halting, breakpoint, stepping
kernel: Refactor CPUDepInject
config: Add dynarmic_cpu option
2021-05-08 14:34:20 +02:00
scribam
ecf91b429a dynarmic: Use arm7 architecture 2021-05-04 03:22:57 +02:00
sunho
52f7c5568b cpu: Fix unicorn context switch 2021-05-03 14:51:13 +02:00
sunho
41f084e5c1 cpu: Rework cpu & thread code base
1. CPU Abstraction
2. More readable, accurate, intuitive thread execution loop
3. Eliminate weird unintuitive callback flag in thread function
4. Use halt instruction to return control to host
5. More accurate context
6. Correctly implement float registers
7. Add basic dynarmic cpu implementation
2021-05-03 14:51:13 +02:00
sunho
05cbb938cc gdb: Toggle gdbstub with config file 2021-04-25 05:56:02 +02:00
sunho
7c8446ab59 gdb: Stop the world on breakpoint 2021-04-25 05:56:02 +02:00
totlmstr
024b71285f mem: split mem.h 2021-04-12 17:32:23 +02:00
Francisco José García García
f0592f964f
cpu: use stack allocation (#1163) 2021-02-20 20:11:05 +01:00
sunho
8c29cef588 cpu: add thread_id getter/setter 2021-02-20 20:08:28 +01:00
EXtremeExploit
2a964d4bcb create error pc check on unicorn error 2020-12-19 21:22:10 +02:00
sunho
aebc9fb0fd kernel: remove unneccesary log 2020-10-31 16:48:56 +09:00
Sunho Kim
a4cab354a0
Merge pull request #801 from sunho/add-lle-return-track
Add lle return logging
2020-07-26 23:16:18 +09:00
Sunho Kim
c7700d7383 cpu: add import call log level 2020-07-26 11:17:57 +09:00
Sunho Kim
9950d6e51d debug: log offset in memory watch 2020-07-14 15:15:44 +09:00
sunho
edf48bacd8 cpu: add lle function return logging 2020-07-06 02:22:03 +09:00
sunho
8c776ae768 cpu: remove thumb interrupt handler 2020-07-06 02:10:00 +09:00
Sunho Kim
cdf9de4dbb debug: refactor cpu & print unicorn error stack traceback 2020-06-21 22:38:46 +03:00
Sunho Kim
2a22d19a20 debug: add stack traceback 2020-06-21 22:38:46 +03:00
Nick Renieris
6ae63c7f6e
Improve code log and memory log & add GUI toggles (#743) 2020-06-09 14:27:15 +03:00