OLD | NEW |
1 /* | 1 /* |
2 * Simulator for the Renesas (formerly Hitachi) H8/300 architecture. | 2 * Simulator for the Renesas (formerly Hitachi) H8/300 architecture. |
3 * | 3 * |
4 * Written by Steve Chamberlain of Cygnus Support. sac@cygnus.com | 4 * Written by Steve Chamberlain of Cygnus Support. sac@cygnus.com |
5 * | 5 * |
6 * This file is part of H8/300 sim | 6 * This file is part of H8/300 sim |
7 * | 7 * |
8 * | 8 * |
9 * THIS SOFTWARE IS NOT COPYRIGHTED | 9 * THIS SOFTWARE IS NOT COPYRIGHTED |
10 * | 10 * |
11 * Cygnus offers the following for use in the public domain. Cygnus makes no | 11 * Cygnus offers the following for use in the public domain. Cygnus makes no |
12 * warranty with regard to the software or its performance and the user | 12 * warranty with regard to the software or its performance and the user |
13 * accepts the software "AS IS" with all faults. | 13 * accepts the software "AS IS" with all faults. |
14 * | 14 * |
15 * CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS | 15 * CYGNUS DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS |
16 * SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY | 16 * SOFTWARE INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY |
17 * AND FITNESS FOR A PARTICULAR PURPOSE. | 17 * AND FITNESS FOR A PARTICULAR PURPOSE. |
18 */ | 18 */ |
19 | 19 |
| 20 #include "config.h" |
20 #include <signal.h> | 21 #include <signal.h> |
21 #ifdef HAVE_TIME_H | 22 #ifdef HAVE_TIME_H |
22 #include <time.h> | 23 #include <time.h> |
23 #endif | 24 #endif |
24 #ifdef HAVE_STDLIB_H | 25 #ifdef HAVE_STDLIB_H |
25 #include <stdlib.h> | 26 #include <stdlib.h> |
26 #endif | 27 #endif |
27 #ifdef HAVE_SYS_PARAM_H | 28 #ifdef HAVE_SYS_PARAM_H |
28 #include <sys/param.h> | 29 #include <sys/param.h> |
29 #endif | 30 #endif |
(...skipping 5075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5105 } | 5106 } |
5106 | 5107 |
5107 return SIM_RC_OK; | 5108 return SIM_RC_OK; |
5108 } | 5109 } |
5109 | 5110 |
5110 void | 5111 void |
5111 sim_set_callbacks (struct host_callback_struct *ptr) | 5112 sim_set_callbacks (struct host_callback_struct *ptr) |
5112 { | 5113 { |
5113 sim_callback = ptr; | 5114 sim_callback = ptr; |
5114 } | 5115 } |
OLD | NEW |