|
|
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:
12: /* Emulator configurations - keep in sync with i860_cpu_device::init() */
13:
14: #define CONF_I860_SPEED 1
15: #define CONF_I860_DEV 2
16: #define CONF_I860_NO_THREAD 3
17: #define CONF_STR(CONF) #CONF
18:
19: /* Change this to select your emulator configuration */
20: #define CONF_I860 CONF_I860_SPEED
21:
22: /* Emulator configurations */
23:
24: #if CONF_I860==CONF_I860_DEV
25: #define TRACE_RDWR_MEM 0
26: #define TRACE_PAGE_FAULT 0
27: #define TRACE_UNDEFINED_I860 1
28: #define TRACE_UNALIGNED_MEM 1
29: #define TRACE_EXT_INT 0
30: #define ENABLE_I860_THREAD 1
31: #define ENABLE_I860_DB_BREAK 0
32: #define ENABLE_PERF_COUNTERS 1
33: #define ENABLE_DEBUGGER 1
34:
35: #elif CONF_I860==CONF_I860_SPEED
36: #define TRACE_RDWR_MEM 0
37: #define TRACE_PAGE_FAULT 0
38: #define TRACE_UNDEFINED_I860 0
39: #define TRACE_UNALIGNED_MEM 0
40: #define TRACE_EXT_INT 0
41: #define ENABLE_I860_THREAD 1
42: #define ENABLE_I860_DB_BREAK 0
43: #define ENABLE_PERF_COUNTERS 0
44: #define ENABLE_DEBUGGER 0
45:
46:
47: #elif CONF_I860==CONF_I860_NO_THREAD
48: #define TRACE_RDWR_MEM 0
49: #define TRACE_PAGE_FAULT 0
50: #define TRACE_UNDEFINED_I860 0
51: #define TRACE_UNALIGNED_MEM 0
52: #define TRACE_EXT_INT 0
53: #define ENABLE_I860_THREAD 0
54: #define ENABLE_I860_DB_BREAK 0
55: #define ENABLE_PERF_COUNTERS 0
56: #define ENABLE_DEBUGGER 0
57:
58: #endif
59:
60: #endif /* i860cfg_h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.