OLD | NEW |
1 /*> interp.c <*/ | 1 /*> interp.c <*/ |
2 /* Simulator for the MIPS architecture. | 2 /* Simulator for the MIPS architecture. |
3 | 3 |
4 This file is part of the MIPS sim | 4 This file is part of the MIPS sim |
5 | 5 |
6 THIS SOFTWARE IS NOT COPYRIGHTED | 6 THIS SOFTWARE IS NOT COPYRIGHTED |
7 | 7 |
8 Cygnus offers the following for use in the public domain. Cygnus | 8 Cygnus offers the following for use in the public domain. Cygnus |
9 makes no warranty with regard to the software or it's performance | 9 makes no warranty with regard to the software or it's performance |
10 and the user accepts the software "AS IS" with all faults. | 10 and the user accepts the software "AS IS" with all faults. |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 */ | 23 */ |
24 | 24 |
25 /* The TRACE manifests enable the provision of extra features. If they | 25 /* The TRACE manifests enable the provision of extra features. If they |
26 are not defined then a simpler (quicker) simulator is constructed | 26 are not defined then a simpler (quicker) simulator is constructed |
27 without the required run-time checks, etc. */ | 27 without the required run-time checks, etc. */ |
28 #if 1 /* 0 to allow user build selection, 1 to force inclusion */ | 28 #if 1 /* 0 to allow user build selection, 1 to force inclusion */ |
29 #define TRACE (1) | 29 #define TRACE (1) |
30 #endif | 30 #endif |
31 | 31 |
| 32 #include "config.h" |
32 #include "bfd.h" | 33 #include "bfd.h" |
33 #include "sim-main.h" | 34 #include "sim-main.h" |
34 #include "sim-utils.h" | 35 #include "sim-utils.h" |
35 #include "sim-options.h" | 36 #include "sim-options.h" |
36 #include "sim-assert.h" | 37 #include "sim-assert.h" |
37 #include "sim-hw.h" | 38 #include "sim-hw.h" |
38 | 39 |
39 #include "itable.h" | 40 #include "itable.h" |
40 | 41 |
41 | 42 |
(...skipping 2551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2593 else if(exception != 0 && cpu->exc_suspended == 0) | 2594 else if(exception != 0 && cpu->exc_suspended == 0) |
2594 { | 2595 { |
2595 sim_io_eprintf(sd, "Warning, ignoring spontanous exception signal (%d)\n",
exception); | 2596 sim_io_eprintf(sd, "Warning, ignoring spontanous exception signal (%d)\n",
exception); |
2596 } | 2597 } |
2597 cpu->exc_suspended = 0; | 2598 cpu->exc_suspended = 0; |
2598 } | 2599 } |
2599 | 2600 |
2600 | 2601 |
2601 /*---------------------------------------------------------------------------*/ | 2602 /*---------------------------------------------------------------------------*/ |
2602 /*> EOF interp.c <*/ | 2603 /*> EOF interp.c <*/ |
OLD | NEW |