Jean-Philip Desjardins
5e32c0586a
Implement TLBR & move TLBWI.
2020-08-06 16:57:13 -04:00
Jean-Philip Desjardins
76413f1fa0
Add implementation for TLBWI.
2020-08-06 16:57:12 -04:00
Jean-Philip Desjardins
2ae43e0320
Don't cache blocks that have breakpoints.
...
Broke breakpoint toggling.
(cherry picked from commit 3d2ed9e20f2b917b10f359ee76c8724192e839c2)
2020-02-10 21:40:09 -05:00
Jean-Philip Desjardins
734e0bc0e8
Code style fixes.
2019-04-29 22:38:04 -04:00
Jean-Philip Desjardins
da4dd4fd61
Let MIPS manage the page lookup table.
2019-04-29 22:38:04 -04:00
Jean-Philip Desjardins
42662b168f
Cleanup.
2019-04-29 22:38:04 -04:00
Jean-Philip Desjardins
3210ffecfa
Breakpoints now work again.
2018-07-26 21:38:17 -04:00
Clang-Format
acf75535ec
Clang format
2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
26b6615a0c
Cleanup.
2018-04-08 15:59:24 -04:00
Jean-Philip Desjardins
34a1aff123
Switch out current thread before servicing an interrupt.
...
This fixes issues with some system calls (ie.: iSignalSema) writing values directly in the thread's context
but not being picked up because the thread's context was not saved.
2018-04-06 12:55:25 -04:00
Jean-Philip Desjardins
fa62d627cc
Cleanup.
2017-03-12 15:25:40 -04:00
Jean-Philip Desjardins
20807fccf5
Fix behavior of FCSR register.
2017-01-06 19:17:44 -05:00
Jean-Philip Desjardins
d9b934a09e
Renamed STATUS_INT to STATUS_IE (which is the proper name for that bit).
2015-04-13 00:24:35 -04:00
Jean-Philip Desjardins
418cee5e51
Some more naming convention cleanup.
2014-08-16 21:42:19 -04:00
Jean-Philip Desjardins
802ffa9160
Removed unused member in CMIPS.
2014-08-16 21:40:57 -04:00
jpd002
3b56af1456
Made breakpoints handling more reliable by moving the breakpoint checking code after function partitioning because a breakpoint inside a non-partitioned function could never be hit.
...
Also added a different "first run" check for breakpoints that is only enabled when we come back from paused virtual machine state.
Moved more stuff between "DEBUGGER_INCLUDED" ifdefs.
git-svn-id: http://svn.purei.org/purei/trunk@1010 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-29 01:28:23 +00:00
jpd002
5fd26ba083
Made address translation take a 32-bits address instead of a 64-bits one. We probably won't ever need to use 64-bits addresses.
...
git-svn-id: http://svn.purei.org/purei/trunk@909 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-04-16 02:34:36 +00:00
jpd002
b1afb8abee
Added new way to search for blocks in the compiled block list which is O(1).
...
Removed some useless params in MIPS constructor.
Removed the need for the _PSX preprocessor def.
git-svn-id: http://svn.purei.org/purei/trunk@860 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-03-13 06:16:33 +00:00
jpd002
e83a427c11
Added a generic way to distinguish branch instructions that don't have a delay slot (needed for VCALLMS, ERET and SYSCALL) from those who have.
...
Added a real COP_SCU_Reflection file.
git-svn-id: http://svn.purei.org/purei/trunk@821 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-12-10 20:49:50 +00:00
jpd002
68735e46e1
Added callMs info field in the MIPS context.
...
Removed lots of unused fields.
Added an exception type enum.
git-svn-id: http://svn.purei.org/purei/trunk@802 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-10-23 20:19:51 +00:00
jpd002
6d375ec8fd
Re-enabled Q register pipeline emulation.
...
Added MAC flags pipeline emulation.
Removed MAC flags checking patches for Atelier Iris.
git-svn-id: http://svn.purei.org/purei/trunk@746 b36208d7-6611-0410-8bec-b1987f11c4a2
2011-04-03 05:25:07 +00:00
jpd002
ffe5a4646e
Added proper separation of code and data address spaces in MemoryMap.
...
Added DMA channels 0 and 8.
Added VU0 stuff.
Major tweakage of UNPACK in VPU.
git-svn-id: http://svn.purei.org/purei/trunk@342 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-06-15 19:55:28 +00:00
jpd002
543b4a56b8
git-svn-id: http://svn.purei.org/purei/trunk@318 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-05-13 21:43:29 +00:00
jpd002
94c457da2b
Modified MIPS constructor and added a Reset function.
...
git-svn-id: http://svn.purei.org/purei/trunk@307 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-05-02 15:00:27 +00:00
jpd002
8d700c8876
MacOSX
...
git-svn-id: http://svn.purei.org/purei/trunk@205 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-22 05:25:57 +00:00
jpd002
2c5b592126
New VM state engine
...
git-svn-id: http://svn.purei.org/purei/trunk@202 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-17 04:08:46 +00:00
jpd002
38e1632c11
Project heavily modified from previous revision.
...
git-svn-id: http://svn.purei.org/purei/trunk@180 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-12-01 04:08:34 +00:00
jpd002
50c1db6776
git-svn-id: http://svn.purei.org/purei/trunk@178 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-11-22 19:49:28 +00:00
jpd002
175f74312a
git-svn-id: http://svn.purei.org/purei/trunk@167 b36208d7-6611-0410-8bec-b1987f11c4a2
2007-11-06 02:08:51 +00:00
jpd002
0c5fb983fd
Moved remotely
...
git-svn-id: http://svn.purei.org/purei/trunk@40 b36208d7-6611-0410-8bec-b1987f11c4a2
2006-06-15 04:19:30 +00:00