/[gxemul]/trunk/src/emul.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/emul.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Oct 8 16:20:26 2007 UTC revision 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: emul.c,v 1.258 2006/07/20 21:52:59 debug Exp $   *  $Id: emul.c,v 1.260 2006/07/26 23:21:47 debug Exp $
29   *   *
30   *  Emulation startup and misc. routines.   *  Emulation startup and misc. routines.
31   */   */
# Line 1271  void emul_machine_setup(struct machine * Line 1271  void emul_machine_setup(struct machine *
1271                          break;                          break;
1272    
1273                  case ARCH_SH:                  case ARCH_SH:
1274                          if (cpu->cd.sh.bits == 32)                          if (cpu->cd.sh.cpu_type.bits == 32)
1275                                  cpu->pc &= 0xffffffffULL;                                  cpu->pc &= 0xffffffffULL;
1276                          cpu->pc &= ~1;                          cpu->pc &= ~1;
1277                          break;                          break;
# Line 1336  void emul_machine_setup(struct machine * Line 1336  void emul_machine_setup(struct machine *
1336                  useremul_setup(cpu, n_load, load_names);                  useremul_setup(cpu, n_load, load_names);
1337    
1338          /*  Startup the bootstrap CPU:  */          /*  Startup the bootstrap CPU:  */
1339          cpu->bootstrap_cpu_flag = 1;          cpu->running = 1;
         cpu->running            = 1;  
1340    
1341          /*  ... or pause all CPUs, if start_paused is set:  */          /*  ... or pause all CPUs, if start_paused is set:  */
1342          if (m->start_paused) {          if (m->start_paused) {

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26