Subv
|
9d0841b48b
|
Dyncom: Use size_t instead of int to store the instruction offsets in the instruction cache.
Fixes a few warnings.
|
9 years ago |
Emmanuel Gil Peyrot
|
ebdae19fd2
|
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
|
9 years ago |
Yuri Kunde Schlesner
|
396a8d91a4
|
Manually tweak source formatting and then re-run clang-format
|
9 years ago |
Emmanuel Gil Peyrot
|
dc8479928c
|
Sources: Run clang-format on everything.
|
9 years ago |
Lioncash
|
5e2b66d2a4
|
armstate: Zero out the registers on creation
std::array isn't always guaranteed to explicitly zero out it's contents
without an initializer list.
|
10 years ago |
polaris-
|
31dee93e84
|
Implement gdbstub
|
11 years ago |
polaris-
|
5114d75647
|
Implement gdbstub
|
11 years ago |
Lioncash
|
751fbfdcc3
|
general: Silence some warnings when using clang
|
10 years ago |
Lioncash
|
a507ea23c1
|
dyncom: Migrate exclusive memory access control into armstate
|
11 years ago |
Lioncash
|
816b1ca776
|
dyncom: Use std::array for register arrays
|
11 years ago |
Lioncash
|
0ecc6e2f04
|
dyncom: Use ARMul_State as an object
Gets rid of C-like parameter passing.
|
11 years ago |
Lioncash
|
03213f893e
|
dyncom: Remove unnecessary initialization code.
Targeting ARM version variants was only a thing on armemu.
The reset routine also does basically the same thing as NewState.
|
11 years ago |
Lioncash
|
3257d797e1
|
dyncom: Remove unnecessary abort-related cruft
Both the MPCore and the ARM9 have the same data abort model (base restored), so differentiating isn't necessary.
|
11 years ago |
Lioncash
|
dfb424b6d1
|
dyncom: Rename armdefs.h to armstate.h
|
11 years ago |
Lioncash
|
4bb1a5ca47
|
dyncom: Get rid of skyeye typedefs
|
11 years ago |
Lioncash
|
0191c26521
|
dyncom: Move helper functions to their own header
|
11 years ago |
Lioncash
|
f7ba683dc3
|
armdefs: Remove unnecessary extern keywords
|
11 years ago |
Emmanuel Gil Peyrot
|
b1503b2020
|
Remove every trailing whitespace from the project (but externals).
|
11 years ago |
Lioncash
|
6278937a28
|
dyncom: Get rid of armemu.h
|
11 years ago |
Lioncash
|
ae0c38a333
|
Remove unnecessary dyncom header files
|
11 years ago |
bunnei
|
bab5abaf46
|
Dyncom: Move cream cache to ARMul_State.
|
11 years ago |
Lioncash
|
8b2b620a5e
|
dyncom: Remove more unused/unnecessary code
Gets rid of a sizeable amount of stuff in armdefs.
|
11 years ago |
Lioncash
|
d66a12c6f6
|
dyncom: Remove unused/unnecessary VFP cruft
|
11 years ago |
Lioncash
|
f9cc6d6484
|
vfp: Get rid of the VFP_OFFSET macro
|
11 years ago |
Lioncash
|
b7b8b67620
|
Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
|
11 years ago |
Lioncash
|
490df716f3
|
dyncom: Move CP15 register writing into its own function.
Also implements writing to the rest of the ARM11 MPCore CP15 register set.
|
11 years ago |
Lioncash
|
5e5954c63b
|
dyncom: Move CP15 register reading into its own function.
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
|
11 years ago |
Lioncash
|
de6eba0288
|
dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
|
11 years ago |
Lioncash
|
9fdb311d6e
|
dyncom: Make Load/Store instructions support big endian
|
11 years ago |
Lioncash
|
1bb400be1b
|
arm: Remove unnecessary booleans
We don't care about any of these.
|
11 years ago |
Lioncash
|
a75e1ff6e6
|
arm: General cleanup
- Remove several typedefs for ARMul_State.
- Remove unused functions
- Remove unused/unnecessary headers
- Removed unused enums, etc.
|
11 years ago |
Lioncash
|
b7fac494cd
|
dyncom: Switch the app and system cores into the correct mode at initialization
|
11 years ago |
Lioncash
|
e3f5c6366c
|
arm: Remove ARMul_EmulateInit
This was only used for armemu, which has since been removed. Removed components related to this as well.
|
11 years ago |
Lioncash
|
f48b0100a6
|
armdefs: Remove unnecessary extern C
|
11 years ago |
Lioncash
|
49a22acd02
|
arm: Remove ARM26 support.
This will never be used. 32-bit is the norm.
|
11 years ago |
Lioncash
|
c94c41f95a
|
arm: Get rid of some magic constants. Specify proper ARM mode.
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
|
11 years ago |
Lioncash
|
93cd199633
|
arm: Change some more constants into enums
|
11 years ago |
Lioncash
|
088fab743f
|
arm: Remove TRUE/FALSE defines
- Removed the Debug parameter from ARMul_State since it isn't used.
- Changed ARMul_CoProInit to a void function. It always returned true.
|
11 years ago |
Lioncash
|
3f00dd9117
|
arm: Clean up ARMul_State
Remove unnecessary/unused struct variables.
|
11 years ago |
Lioncash
|
f44781fd7b
|
arm: Adios armemu
|
11 years ago |
Lioncash
|
09a66860e2
|
arm: Throw out a lot of unnecessary code
|
11 years ago |
Lioncash
|
3dfef1701c
|
armdefs: Move some defines over to enums
|
11 years ago |
Lioncash
|
9c2c89b7e1
|
dyncom: Add a helper function for addition with a carry
|
11 years ago |
Kevin Hartman
|
8132c01830
|
Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX.
|
11 years ago |
Lioncash
|
d00c22c706
|
dyncom: Implement QADD/QSUB/QDADD/QDSUB
|
11 years ago |
Lioncash
|
3337b84620
|
dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSD
|
11 years ago |
bunnei
|
021fb42075
|
dyncom: Implement USAT/SSAT
|
11 years ago |
Lioncash
|
7ad400d5a7
|
armemu: Implement QADD8/QSUB8
|
11 years ago |
Lioncash
|
7d322b5c6f
|
dyncom: Implement USAD8/USADA8
|
11 years ago |
Lioncash
|
af69b0840b
|
dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX.
|
11 years ago |