|
|
1.1 root 1: //
2: // i860cfg.h
3: // Previous
4: //
5: // Created by Simon Schubiger on 14/01/16.
6: //
7: //
8:
9: #ifndef i860cfg_h
10: #define i860cfg_h
11:
1.1.1.2 ! root 12: #include "configuration.h"
! 13:
1.1 root 14: /* Emulator configurations - keep in sync with i860_cpu_device::init() */
15:
16: #define CONF_I860_SPEED 1
17: #define CONF_I860_DEV 2
18: #define CONF_I860_NO_THREAD 3
19: #define CONF_STR(CONF) #CONF
20:
1.1.1.2 ! root 21: #if ENABLE_TESTING
! 22: #define CONF_I860 CONF_I860_DEV
! 23: #else
1.1 root 24: #define CONF_I860 CONF_I860_SPEED
1.1.1.2 ! root 25: #endif
! 26:
! 27: #define WITH_SOFTFLOAT_I860 1
1.1 root 28:
29: /* Emulator configurations */
30:
31: #if CONF_I860==CONF_I860_DEV
32: #define TRACE_RDWR_MEM 0
33: #define TRACE_PAGE_FAULT 0
34: #define TRACE_UNDEFINED_I860 1
35: #define TRACE_UNALIGNED_MEM 1
36: #define TRACE_EXT_INT 0
37: #define ENABLE_I860_DB_BREAK 0
38: #define ENABLE_PERF_COUNTERS 1
39: #define ENABLE_DEBUGGER 1
40:
41: #elif CONF_I860==CONF_I860_SPEED
42: #define TRACE_RDWR_MEM 0
43: #define TRACE_PAGE_FAULT 0
44: #define TRACE_UNDEFINED_I860 0
45: #define TRACE_UNALIGNED_MEM 0
46: #define TRACE_EXT_INT 0
47: #define ENABLE_I860_DB_BREAK 0
48: #define ENABLE_PERF_COUNTERS 0
49: #define ENABLE_DEBUGGER 0
50:
51:
52: #elif CONF_I860==CONF_I860_NO_THREAD
53: #define TRACE_RDWR_MEM 0
54: #define TRACE_PAGE_FAULT 0
55: #define TRACE_UNDEFINED_I860 0
56: #define TRACE_UNALIGNED_MEM 0
57: #define TRACE_EXT_INT 0
58: #define ENABLE_I860_DB_BREAK 0
59: #define ENABLE_PERF_COUNTERS 0
60: #define ENABLE_DEBUGGER 0
61:
62: #endif
63:
64: #endif /* i860cfg_h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.