diff options
Diffstat (limited to '')
34 files changed, 80 insertions, 80 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp index 856baf63d..2ee877743 100644 --- a/src/citra_qt/debugger/disassembler.cpp +++ b/src/citra_qt/debugger/disassembler.cpp | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include "core/core.h" | 9 | #include "core/core.h" |
| 10 | #include "common/break_points.h" | 10 | #include "common/break_points.h" |
| 11 | #include "common/symbols.h" | 11 | #include "common/symbols.h" |
| 12 | #include "core/arm/interpreter/armdefs.h" | 12 | #include "core/arm/skyeye_common/armdefs.h" |
| 13 | #include "core/arm/disassembler/arm_disasm.h" | 13 | #include "core/arm/disassembler/arm_disasm.h" |
| 14 | 14 | ||
| 15 | DisassemblerModel::DisassemblerModel(QObject* parent) : QAbstractItemModel(parent), base_address(0), code_size(0), program_counter(0), selection(QModelIndex()) { | 15 | DisassemblerModel::DisassemblerModel(QObject* parent) : QAbstractItemModel(parent), base_address(0), code_size(0), program_counter(0), selection(QModelIndex()) { |
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 06df9a677..d87e5ad49 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -9,10 +9,6 @@ set(SRCS | |||
| 9 | arm/interpreter/mmu/tlb.cpp | 9 | arm/interpreter/mmu/tlb.cpp |
| 10 | arm/interpreter/mmu/wb.cpp | 10 | arm/interpreter/mmu/wb.cpp |
| 11 | arm/interpreter/mmu/xscale_copro.cpp | 11 | arm/interpreter/mmu/xscale_copro.cpp |
| 12 | arm/interpreter/vfp/vfp.cpp | ||
| 13 | arm/interpreter/vfp/vfpdouble.cpp | ||
| 14 | arm/interpreter/vfp/vfpinstr.cpp | ||
| 15 | arm/interpreter/vfp/vfpsingle.cpp | ||
| 16 | arm/interpreter/arm_interpreter.cpp | 12 | arm/interpreter/arm_interpreter.cpp |
| 17 | arm/interpreter/armcopro.cpp | 13 | arm/interpreter/armcopro.cpp |
| 18 | arm/interpreter/armemu.cpp | 14 | arm/interpreter/armemu.cpp |
| @@ -22,6 +18,10 @@ set(SRCS | |||
| 22 | arm/interpreter/armsupp.cpp | 18 | arm/interpreter/armsupp.cpp |
| 23 | arm/interpreter/armvirt.cpp | 19 | arm/interpreter/armvirt.cpp |
| 24 | arm/interpreter/thumbemu.cpp | 20 | arm/interpreter/thumbemu.cpp |
| 21 | arm/skyeye_common/vfp/vfp.cpp | ||
| 22 | arm/skyeye_common/vfp/vfpdouble.cpp | ||
| 23 | arm/skyeye_common/vfp/vfpinstr.cpp | ||
| 24 | arm/skyeye_common/vfp/vfpsingle.cpp | ||
| 25 | file_sys/archive_romfs.cpp | 25 | file_sys/archive_romfs.cpp |
| 26 | file_sys/archive_sdmc.cpp | 26 | file_sys/archive_sdmc.cpp |
| 27 | file_sys/file_romfs.cpp | 27 | file_sys/file_romfs.cpp |
| @@ -63,23 +63,23 @@ set(SRCS | |||
| 63 | set(HEADERS | 63 | set(HEADERS |
| 64 | arm/disassembler/arm_disasm.h | 64 | arm/disassembler/arm_disasm.h |
| 65 | arm/disassembler/load_symbol_map.h | 65 | arm/disassembler/load_symbol_map.h |
| 66 | arm/interpreter/arm_interpreter.h | ||
| 66 | arm/interpreter/mmu/arm1176jzf_s_mmu.h | 67 | arm/interpreter/mmu/arm1176jzf_s_mmu.h |
| 67 | arm/interpreter/mmu/cache.h | 68 | arm/interpreter/mmu/cache.h |
| 68 | arm/interpreter/mmu/rb.h | 69 | arm/interpreter/mmu/rb.h |
| 69 | arm/interpreter/mmu/sa_mmu.h | 70 | arm/interpreter/mmu/sa_mmu.h |
| 70 | arm/interpreter/mmu/tlb.h | 71 | arm/interpreter/mmu/tlb.h |
| 71 | arm/interpreter/mmu/wb.h | 72 | arm/interpreter/mmu/wb.h |
| 72 | arm/interpreter/vfp/asm_vfp.h | 73 | arm/skyeye_common/vfp/asm_vfp.h |
| 73 | arm/interpreter/vfp/vfp.h | 74 | arm/skyeye_common/vfp/vfp.h |
| 74 | arm/interpreter/vfp/vfp_helper.h | 75 | arm/skyeye_common/vfp/vfp_helper.h |
| 75 | arm/interpreter/arm_interpreter.h | 76 | arm/skyeye_common/arm_regformat.h |
| 76 | arm/interpreter/arm_regformat.h | 77 | arm/skyeye_common/armcpu.h |
| 77 | arm/interpreter/armcpu.h | 78 | arm/skyeye_common/armdefs.h |
| 78 | arm/interpreter/armdefs.h | 79 | arm/skyeye_common/armemu.h |
| 79 | arm/interpreter/armemu.h | 80 | arm/skyeye_common/armmmu.h |
| 80 | arm/interpreter/armmmu.h | 81 | arm/skyeye_common/armos.h |
| 81 | arm/interpreter/armos.h | 82 | arm/skyeye_common/skyeye_defs.h |
| 82 | arm/interpreter/skyeye_defs.h | ||
| 83 | arm/arm_interface.h | 83 | arm/arm_interface.h |
| 84 | file_sys/archive.h | 84 | file_sys/archive.h |
| 85 | file_sys/archive_romfs.h | 85 | file_sys/archive_romfs.h |
diff --git a/src/core/arm/interpreter/arm_interpreter.cpp b/src/core/arm/interpreter/arm_interpreter.cpp index 0842d2f8e..6f6a5913c 100644 --- a/src/core/arm/interpreter/arm_interpreter.cpp +++ b/src/core/arm/interpreter/arm_interpreter.cpp | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | #include "core/arm/interpreter/arm_interpreter.h" | 5 | #include "core/arm/interpreter/arm_interpreter.h" |
| 6 | 6 | ||
| 7 | const static cpu_config_t s_arm11_cpu_info = { | 7 | const static cpu_config_t arm11_cpu_info = { |
| 8 | "armv6", "arm11", 0x0007b000, 0x0007f000, NONCACHE | 8 | "armv6", "arm11", 0x0007b000, 0x0007f000, NONCACHE |
| 9 | }; | 9 | }; |
| 10 | 10 | ||
| @@ -17,7 +17,7 @@ ARM_Interpreter::ARM_Interpreter() { | |||
| 17 | ARMul_NewState(state); | 17 | ARMul_NewState(state); |
| 18 | 18 | ||
| 19 | state->abort_model = 0; | 19 | state->abort_model = 0; |
| 20 | state->cpu = (cpu_config_t*)&s_arm11_cpu_info; | 20 | state->cpu = (cpu_config_t*)&arm11_cpu_info; |
| 21 | state->bigendSig = LOW; | 21 | state->bigendSig = LOW; |
| 22 | 22 | ||
| 23 | ARMul_SelectProcessor(state, ARM_v6_Prop | ARM_v5_Prop | ARM_v5e_Prop); | 23 | ARMul_SelectProcessor(state, ARM_v6_Prop | ARM_v5_Prop | ARM_v5e_Prop); |
diff --git a/src/core/arm/interpreter/arm_interpreter.h b/src/core/arm/interpreter/arm_interpreter.h index 1e82883a2..64760500c 100644 --- a/src/core/arm/interpreter/arm_interpreter.h +++ b/src/core/arm/interpreter/arm_interpreter.h | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | #include "common/common.h" | 7 | #include "common/common.h" |
| 8 | 8 | ||
| 9 | #include "core/arm/arm_interface.h" | 9 | #include "core/arm/arm_interface.h" |
| 10 | #include "core/arm/interpreter/armdefs.h" | 10 | #include "core/arm/skyeye_common/armdefs.h" |
| 11 | #include "core/arm/interpreter/armemu.h" | 11 | #include "core/arm/skyeye_common/armemu.h" |
| 12 | 12 | ||
| 13 | class ARM_Interpreter : virtual public ARM_Interface { | 13 | class ARM_Interpreter : virtual public ARM_Interface { |
| 14 | public: | 14 | public: |
diff --git a/src/core/arm/interpreter/armcopro.cpp b/src/core/arm/interpreter/armcopro.cpp index 6a75e6601..ee9fa255a 100644 --- a/src/core/arm/interpreter/armcopro.cpp +++ b/src/core/arm/interpreter/armcopro.cpp | |||
| @@ -16,10 +16,10 @@ | |||
| 16 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | 16 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | #include "core/arm/interpreter/armdefs.h" | 19 | #include "core/arm/skyeye_common/armdefs.h" |
| 20 | #include "core/arm/interpreter/armos.h" | 20 | #include "core/arm/skyeye_common/armos.h" |
| 21 | #include "core/arm/interpreter/armemu.h" | 21 | #include "core/arm/skyeye_common/armemu.h" |
| 22 | #include "core/arm/interpreter/vfp/vfp.h" | 22 | #include "core/arm/skyeye_common/vfp/vfp.h" |
| 23 | 23 | ||
| 24 | //chy 2005-07-08 | 24 | //chy 2005-07-08 |
| 25 | //#include "ansidecl.h" | 25 | //#include "ansidecl.h" |
diff --git a/src/core/arm/interpreter/armemu.cpp b/src/core/arm/interpreter/armemu.cpp index f9130ef88..7ffc16429 100644 --- a/src/core/arm/interpreter/armemu.cpp +++ b/src/core/arm/interpreter/armemu.cpp | |||
| @@ -18,9 +18,9 @@ | |||
| 18 | 18 | ||
| 19 | //#include <util.h> // DEBUG() | 19 | //#include <util.h> // DEBUG() |
| 20 | 20 | ||
| 21 | #include "arm_regformat.h" | 21 | #include "core/arm/skyeye_common/arm_regformat.h" |
| 22 | #include "armdefs.h" | 22 | #include "core/arm/skyeye_common/armdefs.h" |
| 23 | #include "armemu.h" | 23 | #include "core/arm/skyeye_common/armemu.h" |
| 24 | #include "core/hle/hle.h" | 24 | #include "core/hle/hle.h" |
| 25 | 25 | ||
| 26 | //#include "svc.h" | 26 | //#include "svc.h" |
diff --git a/src/core/arm/interpreter/arminit.cpp b/src/core/arm/interpreter/arminit.cpp index 6fbab3bfb..03bca2870 100644 --- a/src/core/arm/interpreter/arminit.cpp +++ b/src/core/arm/interpreter/arminit.cpp | |||
| @@ -17,8 +17,8 @@ | |||
| 17 | 17 | ||
| 18 | //#include <unistd.h> | 18 | //#include <unistd.h> |
| 19 | 19 | ||
| 20 | #include "core/arm/interpreter/armdefs.h" | 20 | #include "core/arm/skyeye_common/armdefs.h" |
| 21 | #include "core/arm/interpreter/armemu.h" | 21 | #include "core/arm/skyeye_common/armemu.h" |
| 22 | 22 | ||
| 23 | /***************************************************************************\ | 23 | /***************************************************************************\ |
| 24 | * Definitions for the emulator architecture * | 24 | * Definitions for the emulator architecture * |
diff --git a/src/core/arm/interpreter/armmmu.cpp b/src/core/arm/interpreter/armmmu.cpp index 242e6a83c..98fc17ddb 100644 --- a/src/core/arm/interpreter/armmmu.cpp +++ b/src/core/arm/interpreter/armmmu.cpp | |||
| @@ -20,10 +20,10 @@ | |||
| 20 | 20 | ||
| 21 | #include <assert.h> | 21 | #include <assert.h> |
| 22 | #include <string.h> | 22 | #include <string.h> |
| 23 | #include "armdefs.h" | 23 | #include "core/arm/skyeye_common/armdefs.h" |
| 24 | /* two header for arm disassemble */ | 24 | /* two header for arm disassemble */ |
| 25 | //#include "skyeye_arch.h" | 25 | //#include "skyeye_arch.h" |
| 26 | #include "armcpu.h" | 26 | #include "core/arm/skyeye_common/armcpu.h" |
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | extern mmu_ops_t xscale_mmu_ops; | 29 | extern mmu_ops_t xscale_mmu_ops; |
diff --git a/src/core/arm/interpreter/armos.cpp b/src/core/arm/interpreter/armos.cpp index 43484ee5f..90eb20acc 100644 --- a/src/core/arm/interpreter/armos.cpp +++ b/src/core/arm/interpreter/armos.cpp | |||
| @@ -28,7 +28,7 @@ fun, and definign VAILDATE will define SWI 1 to enter SVC mode, and SWI | |||
| 28 | #include <time.h> | 28 | #include <time.h> |
| 29 | #include <errno.h> | 29 | #include <errno.h> |
| 30 | #include <string.h> | 30 | #include <string.h> |
| 31 | #include "skyeye_defs.h" | 31 | #include "core/arm/skyeye_common/skyeye_defs.h" |
| 32 | #ifndef __USE_LARGEFILE64 | 32 | #ifndef __USE_LARGEFILE64 |
| 33 | #define __USE_LARGEFILE64 /* When use 64 bit large file need define it! for stat64*/ | 33 | #define __USE_LARGEFILE64 /* When use 64 bit large file need define it! for stat64*/ |
| 34 | #endif | 34 | #endif |
| @@ -74,9 +74,9 @@ extern int _fisatty (FILE *); | |||
| 74 | #endif | 74 | #endif |
| 75 | #endif | 75 | #endif |
| 76 | 76 | ||
| 77 | #include "armdefs.h" | 77 | #include "core/arm/skyeye_common/armdefs.h" |
| 78 | #include "armos.h" | 78 | #include "core/arm/skyeye_common/armos.h" |
| 79 | #include "armemu.h" | 79 | #include "core/arm/skyeye_common/armemu.h" |
| 80 | 80 | ||
| 81 | #ifndef NOOS | 81 | #ifndef NOOS |
| 82 | #ifndef VALIDATE | 82 | #ifndef VALIDATE |
diff --git a/src/core/arm/interpreter/armvirt.cpp b/src/core/arm/interpreter/armvirt.cpp index a072b73be..eb3c86cb4 100644 --- a/src/core/arm/interpreter/armvirt.cpp +++ b/src/core/arm/interpreter/armvirt.cpp | |||
| @@ -23,8 +23,8 @@ table. The routines PutWord and GetWord implement this. Pages are never | |||
| 23 | freed as they might be needed again. A single area of memory may be | 23 | freed as they might be needed again. A single area of memory may be |
| 24 | defined to generate aborts. */ | 24 | defined to generate aborts. */ |
| 25 | 25 | ||
| 26 | #include "armdefs.h" | 26 | #include "core/arm/skyeye_common/armdefs.h" |
| 27 | #include "skyeye_defs.h" | 27 | #include "core/arm/skyeye_common/skyeye_defs.h" |
| 28 | //#include "code_cov.h" | 28 | //#include "code_cov.h" |
| 29 | 29 | ||
| 30 | #ifdef VALIDATE /* for running the validate suite */ | 30 | #ifdef VALIDATE /* for running the validate suite */ |
diff --git a/src/core/arm/interpreter/mmu/arm1176jzf_s_mmu.cpp b/src/core/arm/interpreter/mmu/arm1176jzf_s_mmu.cpp index a32f076b9..07951e0e6 100644 --- a/src/core/arm/interpreter/mmu/arm1176jzf_s_mmu.cpp +++ b/src/core/arm/interpreter/mmu/arm1176jzf_s_mmu.cpp | |||
| @@ -24,9 +24,9 @@ | |||
| 24 | 24 | ||
| 25 | #include "core/mem_map.h" | 25 | #include "core/mem_map.h" |
| 26 | 26 | ||
| 27 | #include "core/arm/interpreter/skyeye_defs.h" | 27 | #include "core/arm/skyeye_common/skyeye_defs.h" |
| 28 | 28 | ||
| 29 | #include "core/arm/interpreter/armdefs.h" | 29 | #include "core/arm/skyeye_common/armdefs.h" |
| 30 | //#include "bank_defs.h" | 30 | //#include "bank_defs.h" |
| 31 | #if 0 | 31 | #if 0 |
| 32 | #define TLB_SIZE 1024 * 1024 | 32 | #define TLB_SIZE 1024 * 1024 |
diff --git a/src/core/arm/interpreter/mmu/cache.cpp b/src/core/arm/interpreter/mmu/cache.cpp index f3c4e0531..cfbc31f1e 100644 --- a/src/core/arm/interpreter/mmu/cache.cpp +++ b/src/core/arm/interpreter/mmu/cache.cpp | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "core/arm/interpreter/armdefs.h" | 1 | #include "core/arm/skyeye_common/armdefs.h" |
| 2 | 2 | ||
| 3 | /* mmu cache init | 3 | /* mmu cache init |
| 4 | * | 4 | * |
diff --git a/src/core/arm/interpreter/mmu/maverick.cpp b/src/core/arm/interpreter/mmu/maverick.cpp index adcc2efb5..a07d4742b 100644 --- a/src/core/arm/interpreter/mmu/maverick.cpp +++ b/src/core/arm/interpreter/mmu/maverick.cpp | |||
| @@ -18,8 +18,8 @@ | |||
| 18 | 18 | ||
| 19 | #include <assert.h> | 19 | #include <assert.h> |
| 20 | 20 | ||
| 21 | #include "core/arm/interpreter/armdefs.h" | 21 | #include "core/arm/skyeye_common/armdefs.h" |
| 22 | #include "core/arm/interpreter/armemu.h" | 22 | #include "core/arm/skyeye_common/armemu.h" |
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | /*#define CIRRUS_DEBUG 1 */ | 25 | /*#define CIRRUS_DEBUG 1 */ |
diff --git a/src/core/arm/interpreter/mmu/rb.cpp b/src/core/arm/interpreter/mmu/rb.cpp index 07b11e311..600c9d8c8 100644 --- a/src/core/arm/interpreter/mmu/rb.cpp +++ b/src/core/arm/interpreter/mmu/rb.cpp | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "core/arm/interpreter/armdefs.h" | 1 | #include "core/arm/skyeye_common/armdefs.h" |
| 2 | 2 | ||
| 3 | /*chy 2004-06-06, fix bug found by wenye@cs.ucsb.edu*/ | 3 | /*chy 2004-06-06, fix bug found by wenye@cs.ucsb.edu*/ |
| 4 | ARMword rb_masks[] = { | 4 | ARMword rb_masks[] = { |
diff --git a/src/core/arm/interpreter/mmu/sa_mmu.cpp b/src/core/arm/interpreter/mmu/sa_mmu.cpp index eff5002de..27f9ec8e0 100644 --- a/src/core/arm/interpreter/mmu/sa_mmu.cpp +++ b/src/core/arm/interpreter/mmu/sa_mmu.cpp | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | #include <assert.h> | 21 | #include <assert.h> |
| 22 | #include <string.h> | 22 | #include <string.h> |
| 23 | 23 | ||
| 24 | #include "core/arm/interpreter/armdefs.h" | 24 | #include "core/arm/skyeye_common/armdefs.h" |
| 25 | 25 | ||
| 26 | /** | 26 | /** |
| 27 | * The interface of read data from bus | 27 | * The interface of read data from bus |
diff --git a/src/core/arm/interpreter/mmu/tlb.cpp b/src/core/arm/interpreter/mmu/tlb.cpp index ca60ac1a1..88c2a8bc5 100644 --- a/src/core/arm/interpreter/mmu/tlb.cpp +++ b/src/core/arm/interpreter/mmu/tlb.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include <assert.h> | 1 | #include <assert.h> |
| 2 | 2 | ||
| 3 | #include "core/arm/interpreter/armdefs.h" | 3 | #include "core/arm/skyeye_common/armdefs.h" |
| 4 | 4 | ||
| 5 | ARMword tlb_masks[] = { | 5 | ARMword tlb_masks[] = { |
| 6 | 0x00000000, /* TLB_INVALID */ | 6 | 0x00000000, /* TLB_INVALID */ |
diff --git a/src/core/arm/interpreter/mmu/wb.cpp b/src/core/arm/interpreter/mmu/wb.cpp index 82c0cec02..5ddda41ee 100644 --- a/src/core/arm/interpreter/mmu/wb.cpp +++ b/src/core/arm/interpreter/mmu/wb.cpp | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include "core/arm/interpreter/armdefs.h" | 1 | #include "core/arm/skyeye_common/armdefs.h" |
| 2 | 2 | ||
| 3 | /* wb_init | 3 | /* wb_init |
| 4 | * @wb_t :wb_t to init | 4 | * @wb_t :wb_t to init |
diff --git a/src/core/arm/interpreter/mmu/xscale_copro.cpp b/src/core/arm/interpreter/mmu/xscale_copro.cpp index 433ce8e02..cf91fd933 100644 --- a/src/core/arm/interpreter/mmu/xscale_copro.cpp +++ b/src/core/arm/interpreter/mmu/xscale_copro.cpp | |||
| @@ -21,8 +21,8 @@ | |||
| 21 | #include <assert.h> | 21 | #include <assert.h> |
| 22 | #include <string.h> | 22 | #include <string.h> |
| 23 | 23 | ||
| 24 | #include "core/arm/interpreter/armdefs.h" | 24 | #include "core/arm/skyeye_common/armdefs.h" |
| 25 | #include "core/arm/interpreter/armemu.h" | 25 | #include "core/arm/skyeye_common/armemu.h" |
| 26 | 26 | ||
| 27 | /*#include "pxa.h" */ | 27 | /*#include "pxa.h" */ |
| 28 | 28 | ||
diff --git a/src/core/arm/interpreter/thumbemu.cpp b/src/core/arm/interpreter/thumbemu.cpp index 032d84b65..f7f11f714 100644 --- a/src/core/arm/interpreter/thumbemu.cpp +++ b/src/core/arm/interpreter/thumbemu.cpp | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | instruction into its corresponding ARM instruction, and using the | 19 | instruction into its corresponding ARM instruction, and using the |
| 20 | existing ARM simulator. */ | 20 | existing ARM simulator. */ |
| 21 | 21 | ||
| 22 | #include "skyeye_defs.h" | 22 | #include "core/arm/skyeye_common/skyeye_defs.h" |
| 23 | 23 | ||
| 24 | #ifndef MODET /* required for the Thumb instruction support */ | 24 | #ifndef MODET /* required for the Thumb instruction support */ |
| 25 | #if 1 | 25 | #if 1 |
| @@ -29,9 +29,9 @@ existing ARM simulator. */ | |||
| 29 | #endif | 29 | #endif |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #include "armdefs.h" | 32 | #include "core/arm/skyeye_common/armdefs.h" |
| 33 | #include "armemu.h" | 33 | #include "core/arm/skyeye_common/armemu.h" |
| 34 | #include "armos.h" | 34 | #include "core/arm/skyeye_common/armos.h" |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | /* Decode a 16bit Thumb instruction. The instruction is in the low | 37 | /* Decode a 16bit Thumb instruction. The instruction is in the low |
diff --git a/src/core/arm/interpreter/arm_regformat.h b/src/core/arm/skyeye_common/arm_regformat.h index 0ca62780b..0ca62780b 100644 --- a/src/core/arm/interpreter/arm_regformat.h +++ b/src/core/arm/skyeye_common/arm_regformat.h | |||
diff --git a/src/core/arm/interpreter/armcpu.h b/src/core/arm/skyeye_common/armcpu.h index 6b5ea8566..6b5ea8566 100644 --- a/src/core/arm/interpreter/armcpu.h +++ b/src/core/arm/skyeye_common/armcpu.h | |||
diff --git a/src/core/arm/interpreter/armdefs.h b/src/core/arm/skyeye_common/armdefs.h index dd5983be3..fd574a7a1 100644 --- a/src/core/arm/interpreter/armdefs.h +++ b/src/core/arm/skyeye_common/armdefs.h | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | 31 | ||
| 32 | #include "arm_regformat.h" | 32 | #include "arm_regformat.h" |
| 33 | #include "common/platform.h" | 33 | #include "common/platform.h" |
| 34 | #include "skyeye_defs.h" | 34 | #include "core/arm/skyeye_common/skyeye_defs.h" |
| 35 | 35 | ||
| 36 | //AJ2D-------------------------------------------------------------------------- | 36 | //AJ2D-------------------------------------------------------------------------- |
| 37 | 37 | ||
| @@ -130,7 +130,7 @@ typedef unsigned long long uint64_t; | |||
| 130 | #endif | 130 | #endif |
| 131 | */ | 131 | */ |
| 132 | 132 | ||
| 133 | #include "armmmu.h" | 133 | #include "core/arm/skyeye_common/armmmu.h" |
| 134 | //#include "lcd/skyeye_lcd.h" | 134 | //#include "lcd/skyeye_lcd.h" |
| 135 | 135 | ||
| 136 | 136 | ||
diff --git a/src/core/arm/interpreter/armemu.h b/src/core/arm/skyeye_common/armemu.h index 36fb2d09b..c0f0270fe 100644 --- a/src/core/arm/interpreter/armemu.h +++ b/src/core/arm/skyeye_common/armemu.h | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #define __ARMEMU_H__ | 18 | #define __ARMEMU_H__ |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | #include "armdefs.h" | 21 | #include "core/arm/skyeye_common/armdefs.h" |
| 22 | //#include "skyeye.h" | 22 | //#include "skyeye.h" |
| 23 | 23 | ||
| 24 | //extern ARMword isize; | 24 | //extern ARMword isize; |
diff --git a/src/core/arm/interpreter/armmmu.h b/src/core/arm/skyeye_common/armmmu.h index 818108c9c..818108c9c 100644 --- a/src/core/arm/interpreter/armmmu.h +++ b/src/core/arm/skyeye_common/armmmu.h | |||
diff --git a/src/core/arm/interpreter/armos.h b/src/core/arm/skyeye_common/armos.h index 4b58801ad..4b58801ad 100644 --- a/src/core/arm/interpreter/armos.h +++ b/src/core/arm/skyeye_common/armos.h | |||
diff --git a/src/core/arm/interpreter/skyeye_defs.h b/src/core/arm/skyeye_common/skyeye_defs.h index b6713ebad..b6713ebad 100644 --- a/src/core/arm/interpreter/skyeye_defs.h +++ b/src/core/arm/skyeye_common/skyeye_defs.h | |||
diff --git a/src/core/arm/interpreter/vfp/asm_vfp.h b/src/core/arm/skyeye_common/vfp/asm_vfp.h index f4ab34fd4..f4ab34fd4 100644 --- a/src/core/arm/interpreter/vfp/asm_vfp.h +++ b/src/core/arm/skyeye_common/vfp/asm_vfp.h | |||
diff --git a/src/core/arm/interpreter/vfp/vfp.cpp b/src/core/arm/skyeye_common/vfp/vfp.cpp index eea5e24a9..e4fa3c20a 100644 --- a/src/core/arm/interpreter/vfp/vfp.cpp +++ b/src/core/arm/skyeye_common/vfp/vfp.cpp | |||
| @@ -25,8 +25,8 @@ | |||
| 25 | 25 | ||
| 26 | #include "common/common.h" | 26 | #include "common/common.h" |
| 27 | 27 | ||
| 28 | #include "core/arm/interpreter/armdefs.h" | 28 | #include "core/arm/skyeye_common/armdefs.h" |
| 29 | #include "core/arm/interpreter/vfp/vfp.h" | 29 | #include "core/arm/skyeye_common/vfp/vfp.h" |
| 30 | 30 | ||
| 31 | //ARMul_State* persistent_state; /* function calls from SoftFloat lib don't have an access to ARMul_state. */ | 31 | //ARMul_State* persistent_state; /* function calls from SoftFloat lib don't have an access to ARMul_state. */ |
| 32 | 32 | ||
| @@ -62,7 +62,7 @@ VFPMRC (ARMul_State * state, unsigned type, ARMword instr, ARMword * value) | |||
| 62 | if (CoProc == 10 || CoProc == 11) | 62 | if (CoProc == 10 || CoProc == 11) |
| 63 | { | 63 | { |
| 64 | #define VFP_MRC_TRANS | 64 | #define VFP_MRC_TRANS |
| 65 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 65 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 66 | #undef VFP_MRC_TRANS | 66 | #undef VFP_MRC_TRANS |
| 67 | } | 67 | } |
| 68 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, CRn %x, CRm %x, OPC_2 %x\n", | 68 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, CRn %x, CRm %x, OPC_2 %x\n", |
| @@ -88,7 +88,7 @@ VFPMCR (ARMul_State * state, unsigned type, ARMword instr, ARMword value) | |||
| 88 | if (CoProc == 10 || CoProc == 11) | 88 | if (CoProc == 10 || CoProc == 11) |
| 89 | { | 89 | { |
| 90 | #define VFP_MCR_TRANS | 90 | #define VFP_MCR_TRANS |
| 91 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 91 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 92 | #undef VFP_MCR_TRANS | 92 | #undef VFP_MCR_TRANS |
| 93 | } | 93 | } |
| 94 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, CRn %x, CRm %x, OPC_2 %x\n", | 94 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, CRn %x, CRm %x, OPC_2 %x\n", |
| @@ -110,7 +110,7 @@ VFPMRRC (ARMul_State * state, unsigned type, ARMword instr, ARMword * value1, AR | |||
| 110 | if (CoProc == 10 || CoProc == 11) | 110 | if (CoProc == 10 || CoProc == 11) |
| 111 | { | 111 | { |
| 112 | #define VFP_MRRC_TRANS | 112 | #define VFP_MRRC_TRANS |
| 113 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 113 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 114 | #undef VFP_MRRC_TRANS | 114 | #undef VFP_MRRC_TRANS |
| 115 | } | 115 | } |
| 116 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, Rt2 %x, CRm %x\n", | 116 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, Rt2 %x, CRm %x\n", |
| @@ -136,7 +136,7 @@ VFPMCRR (ARMul_State * state, unsigned type, ARMword instr, ARMword value1, ARMw | |||
| 136 | if (CoProc == 11 || CoProc == 10) | 136 | if (CoProc == 11 || CoProc == 10) |
| 137 | { | 137 | { |
| 138 | #define VFP_MCRR_TRANS | 138 | #define VFP_MCRR_TRANS |
| 139 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 139 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 140 | #undef VFP_MCRR_TRANS | 140 | #undef VFP_MCRR_TRANS |
| 141 | } | 141 | } |
| 142 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, Rt2 %x, CRm %x\n", | 142 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, OPC_1 %x, Rt %x, Rt2 %x, CRm %x\n", |
| @@ -179,7 +179,7 @@ VFPSTC (ARMul_State * state, unsigned type, ARMword instr, ARMword * value) | |||
| 179 | #endif | 179 | #endif |
| 180 | 180 | ||
| 181 | #define VFP_STC_TRANS | 181 | #define VFP_STC_TRANS |
| 182 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 182 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 183 | #undef VFP_STC_TRANS | 183 | #undef VFP_STC_TRANS |
| 184 | } | 184 | } |
| 185 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, CRd %x, Rn %x, imm8 %x, P %x, U %x, D %x, W %x\n", | 185 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, CRd %x, Rn %x, imm8 %x, P %x, U %x, D %x, W %x\n", |
| @@ -210,7 +210,7 @@ VFPLDC (ARMul_State * state, unsigned type, ARMword instr, ARMword value) | |||
| 210 | if (CoProc == 10 || CoProc == 11) | 210 | if (CoProc == 10 || CoProc == 11) |
| 211 | { | 211 | { |
| 212 | #define VFP_LDC_TRANS | 212 | #define VFP_LDC_TRANS |
| 213 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 213 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 214 | #undef VFP_LDC_TRANS | 214 | #undef VFP_LDC_TRANS |
| 215 | } | 215 | } |
| 216 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, CRd %x, Rn %x, imm8 %x, P %x, U %x, D %x, W %x\n", | 216 | DEBUG_LOG(ARM11, "Can't identify %x, CoProc %x, CRd %x, Rn %x, imm8 %x, P %x, U %x, D %x, W %x\n", |
| @@ -237,7 +237,7 @@ VFPCDP (ARMul_State * state, unsigned type, ARMword instr) | |||
| 237 | if (CoProc == 10 || CoProc == 11) | 237 | if (CoProc == 10 || CoProc == 11) |
| 238 | { | 238 | { |
| 239 | #define VFP_CDP_TRANS | 239 | #define VFP_CDP_TRANS |
| 240 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 240 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 241 | #undef VFP_CDP_TRANS | 241 | #undef VFP_CDP_TRANS |
| 242 | 242 | ||
| 243 | int exceptions = 0; | 243 | int exceptions = 0; |
| @@ -257,21 +257,21 @@ VFPCDP (ARMul_State * state, unsigned type, ARMword instr) | |||
| 257 | 257 | ||
| 258 | /* ----------- MRC ------------ */ | 258 | /* ----------- MRC ------------ */ |
| 259 | #define VFP_MRC_IMPL | 259 | #define VFP_MRC_IMPL |
| 260 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 260 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 261 | #undef VFP_MRC_IMPL | 261 | #undef VFP_MRC_IMPL |
| 262 | 262 | ||
| 263 | #define VFP_MRRC_IMPL | 263 | #define VFP_MRRC_IMPL |
| 264 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 264 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 265 | #undef VFP_MRRC_IMPL | 265 | #undef VFP_MRRC_IMPL |
| 266 | 266 | ||
| 267 | 267 | ||
| 268 | /* ----------- MCR ------------ */ | 268 | /* ----------- MCR ------------ */ |
| 269 | #define VFP_MCR_IMPL | 269 | #define VFP_MCR_IMPL |
| 270 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 270 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 271 | #undef VFP_MCR_IMPL | 271 | #undef VFP_MCR_IMPL |
| 272 | 272 | ||
| 273 | #define VFP_MCRR_IMPL | 273 | #define VFP_MCRR_IMPL |
| 274 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 274 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 275 | #undef VFP_MCRR_IMPL | 275 | #undef VFP_MCRR_IMPL |
| 276 | 276 | ||
| 277 | /* Memory operation are not inlined, as old Interpreter and Fast interpreter | 277 | /* Memory operation are not inlined, as old Interpreter and Fast interpreter |
| @@ -283,19 +283,19 @@ VFPCDP (ARMul_State * state, unsigned type, ARMword instr) | |||
| 283 | 283 | ||
| 284 | /* ----------- STC ------------ */ | 284 | /* ----------- STC ------------ */ |
| 285 | #define VFP_STC_IMPL | 285 | #define VFP_STC_IMPL |
| 286 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 286 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 287 | #undef VFP_STC_IMPL | 287 | #undef VFP_STC_IMPL |
| 288 | 288 | ||
| 289 | 289 | ||
| 290 | /* ----------- LDC ------------ */ | 290 | /* ----------- LDC ------------ */ |
| 291 | #define VFP_LDC_IMPL | 291 | #define VFP_LDC_IMPL |
| 292 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 292 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 293 | #undef VFP_LDC_IMPL | 293 | #undef VFP_LDC_IMPL |
| 294 | 294 | ||
| 295 | 295 | ||
| 296 | /* ----------- CDP ------------ */ | 296 | /* ----------- CDP ------------ */ |
| 297 | #define VFP_CDP_IMPL | 297 | #define VFP_CDP_IMPL |
| 298 | #include "core/arm/interpreter/vfp/vfpinstr.cpp" | 298 | #include "core/arm/skyeye_common/vfp/vfpinstr.cpp" |
| 299 | #undef VFP_CDP_IMPL | 299 | #undef VFP_CDP_IMPL |
| 300 | 300 | ||
| 301 | /* Miscellaneous functions */ | 301 | /* Miscellaneous functions */ |
diff --git a/src/core/arm/interpreter/vfp/vfp.h b/src/core/arm/skyeye_common/vfp/vfp.h index bbf4caeb0..ed627d41f 100644 --- a/src/core/arm/interpreter/vfp/vfp.h +++ b/src/core/arm/skyeye_common/vfp/vfp.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | #define vfpdebug //printf | 26 | #define vfpdebug //printf |
| 27 | 27 | ||
| 28 | #include "core/arm/interpreter/vfp/vfp_helper.h" /* for references to cdp SoftFloat functions */ | 28 | #include "core/arm/skyeye_common/vfp/vfp_helper.h" /* for references to cdp SoftFloat functions */ |
| 29 | 29 | ||
| 30 | unsigned VFPInit (ARMul_State *state); | 30 | unsigned VFPInit (ARMul_State *state); |
| 31 | unsigned VFPMRC (ARMul_State * state, unsigned type, ARMword instr, ARMword * value); | 31 | unsigned VFPMRC (ARMul_State * state, unsigned type, ARMword instr, ARMword * value); |
diff --git a/src/core/arm/interpreter/vfp/vfp_helper.h b/src/core/arm/skyeye_common/vfp/vfp_helper.h index b222e79f1..a55bf875c 100644 --- a/src/core/arm/interpreter/vfp/vfp_helper.h +++ b/src/core/arm/skyeye_common/vfp/vfp_helper.h | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | #include <stdint.h> | 38 | #include <stdint.h> |
| 39 | #include <stdio.h> | 39 | #include <stdio.h> |
| 40 | 40 | ||
| 41 | #include "core/arm/interpreter/armdefs.h" | 41 | #include "core/arm/skyeye_common/armdefs.h" |
| 42 | 42 | ||
| 43 | #define u16 uint16_t | 43 | #define u16 uint16_t |
| 44 | #define u32 uint32_t | 44 | #define u32 uint32_t |
diff --git a/src/core/arm/interpreter/vfp/vfpdouble.cpp b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp index 5ae99b88a..13411ad80 100644 --- a/src/core/arm/interpreter/vfp/vfpdouble.cpp +++ b/src/core/arm/skyeye_common/vfp/vfpdouble.cpp | |||
| @@ -51,9 +51,9 @@ | |||
| 51 | * =========================================================================== | 51 | * =========================================================================== |
| 52 | */ | 52 | */ |
| 53 | 53 | ||
| 54 | #include "core/arm/interpreter/vfp/vfp.h" | 54 | #include "core/arm/skyeye_common/vfp/vfp.h" |
| 55 | #include "core/arm/interpreter/vfp/vfp_helper.h" | 55 | #include "core/arm/skyeye_common/vfp/vfp_helper.h" |
| 56 | #include "core/arm/interpreter/vfp/asm_vfp.h" | 56 | #include "core/arm/skyeye_common/vfp/asm_vfp.h" |
| 57 | 57 | ||
| 58 | static struct vfp_double vfp_double_default_qnan = { | 58 | static struct vfp_double vfp_double_default_qnan = { |
| 59 | //.exponent = 2047, | 59 | //.exponent = 2047, |
diff --git a/src/core/arm/interpreter/vfp/vfpinstr.cpp b/src/core/arm/skyeye_common/vfp/vfpinstr.cpp index a57047911..a57047911 100644 --- a/src/core/arm/interpreter/vfp/vfpinstr.cpp +++ b/src/core/arm/skyeye_common/vfp/vfpinstr.cpp | |||
diff --git a/src/core/arm/interpreter/vfp/vfpsingle.cpp b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp index 0fcc85266..8bcbd4fe9 100644 --- a/src/core/arm/interpreter/vfp/vfpsingle.cpp +++ b/src/core/arm/skyeye_common/vfp/vfpsingle.cpp | |||
| @@ -51,9 +51,9 @@ | |||
| 51 | * =========================================================================== | 51 | * =========================================================================== |
| 52 | */ | 52 | */ |
| 53 | 53 | ||
| 54 | #include "core/arm/interpreter/vfp/vfp_helper.h" | 54 | #include "core/arm/skyeye_common/vfp/vfp_helper.h" |
| 55 | #include "core/arm/interpreter/vfp/asm_vfp.h" | 55 | #include "core/arm/skyeye_common/vfp/asm_vfp.h" |
| 56 | #include "core/arm/interpreter/vfp/vfp.h" | 56 | #include "core/arm/skyeye_common/vfp/vfp.h" |
| 57 | 57 | ||
| 58 | static struct vfp_single vfp_single_default_qnan = { | 58 | static struct vfp_single vfp_single_default_qnan = { |
| 59 | //.exponent = 255, | 59 | //.exponent = 255, |
diff --git a/src/core/core.h b/src/core/core.h index 9c72c8b3f..87da252b8 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include "core/arm/arm_interface.h" | 7 | #include "core/arm/arm_interface.h" |
| 8 | #include "core/arm/interpreter/armdefs.h" | 8 | #include "core/arm/skyeye_common/armdefs.h" |
| 9 | 9 | ||
| 10 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 10 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
| 11 | 11 | ||