Lioncash
92fd2753c5
dyncom: Remove unused cpu parameter from decode_thumb_instr
11 years ago
Lioncash
097d8282a6
dyncom: remove load_r15 from arm_inst
It's entirely unused. Also allows getting rid of more clunky macros.
11 years ago
Lioncash
8617938441
dyncom: Remove unnecessary parameter for load/store operations
11 years ago
bunnei
3a348a90fd
VFP: Log as trace to get rid of spamming.
11 years ago
Lioncash
572c91a024
dyncom: Eliminate clang warnings
Gets rid of a whole load of missing brace initialization warnings.
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Lioncash
8cd72428c9
dyncom: Add ARMv6K NOP and hint instructions to the decoding table
11 years ago
Lioncash
699b67d7cf
dyncom: Handle some MSR variants individually
This is necessary, as hint instructions will be recognized as MSR, which is pretty bad.
11 years ago
Lioncash
be0119be08
dyncom: Move exclusive load/stores above bbl and swi in the decoding table
11 years ago
Lioncash
1e0255364c
dyncom: Remove duplicate enums/prototypes
These are already defined in arm_dyncom_interpreter_dec.cpp.
11 years ago
Lioncash
f4921d0f9d
dyncom: Remove unnecessary defines
These can simply be const vars.
11 years ago
Lioncash
0530fd2499
dyncom: Make translation-unit functions and variables static
11 years ago
Lioncash
773b1ef6bf
vfp: Get rid of warnings
- Unary minus operator applied to unsigned type.
- Unsafe use of bool.
11 years ago
Lioncash
f3c4de4ce4
dyncom: Remove unnecessary typedefs
11 years ago
Lioncash
a48b4ec583
dyncom: Remove unused structs
11 years ago
bunnei
e83bc5b7ee
dyncom: Removed irrelevant log.
11 years ago
Lioncash
832c130ed1
dyncom: Fix decoding of BKPT's immediate
A shift here is intended since the representation is imm12:imm4
11 years ago
Lioncash
dc7ac751f2
dyncom: Stub MCRR and MRRC
There's no other coprocessor outside the VFP (which has its own VMOV variants) in which the MPCore can send/retrieve data from.
Stubbed so citra won't crash and burn on the odd chance someone actually tries to use these.
11 years ago
Lioncash
ffc51161f3
vfp: Handle flush-to-zero mode.
11 years ago
Subv
115ad8e16a
fixup! Set the TLS address in the scheduler
11 years ago
Subv
000876858d
Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200.
This allows some games like Mario Kart 7 to continue further.
11 years ago
Lioncash
ae0c38a333
Remove unnecessary dyncom header files
11 years ago
Lioncash
31dc8b8890
dyncom: Remove an unnecessary variable in the interpreter
All this was doing was needlessly aliasing a variable.
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Yuri Kunde Schlesner
c0eaa662d4
Clean-up includes
11 years ago
Yuri Kunde Schlesner
ecff2351a1
HLE: Clean up SVC dispatch mechanism
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
Emmanuel Gil Peyrot
2e860bd59c
Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.
11 years ago
Emmanuel Gil Peyrot
bdcf28e3bc
Headers: Add some forgotten overrides, thanks clang!
11 years ago
Lioncash
a6c9e453b2
dyncom: Remove unnecessary enum and typedef
Also fixes descriptions in the process.
11 years ago
Lioncash
29a4b6c7ed
vfp: Make the FPSID values match the MPCore
11 years ago
Lioncash
f9cc6d6484
vfp: Get rid of the VFP_OFFSET macro
11 years ago
Lioncash
8004d35ea1
core: Migrate 3DS-specific CP15 register setting into Init
11 years ago
Lioncash
c3ffe8f9c3
arm_interface: Support retrieval/storage to CP15 registers
11 years ago
Lioncash
b7b8b67620
Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
11 years ago
Lioncash
23dd2ca8a6
dyncom: Properly return the value of the user RO thread register
11 years ago
Lioncash
e628ed4810
dyncom: Set CP15 reset values on initialization
11 years ago
Lioncash
bb7dac022e
dyncom: Suppress uninitialized variable warnings
The switch cases will always be hit, but this makes compilers stop complaining.
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
a80d93685a
dyncom: Implement SRS
11 years ago
Lioncash
cde671795c
dyncom: Implement RFE
11 years ago
Lioncash
2df10d2284
dyncom: Remove unused/unnecessary macros and macro constants
11 years ago
Lioncash
f23f2a9a42
armmmu: Remove unnecessary enum values
We don't need to care about XScale or Intel specific ARM stuff.
11 years ago
Lioncash
9fdb311d6e
dyncom: Make Load/Store instructions support big endian
11 years ago
Lioncash
8cf81643a9
arm_interface: Get rid of GetTicks.
Removes a TODO.
11 years ago
Lioncash
f280806214
dyncom: Implement SETEND
11 years ago