Commit b324e814a9a7114ba2d753de133cdc75a88f9860
1 parent
c6981055
suppressed unused variables
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@613 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
5 deletions
target-ppc/helper.c
| @@ -32,10 +32,6 @@ extern FILE *logfile, *stderr; | @@ -32,10 +32,6 @@ extern FILE *logfile, *stderr; | ||
| 32 | void exit (int); | 32 | void exit (int); |
| 33 | void abort (void); | 33 | void abort (void); |
| 34 | 34 | ||
| 35 | -int phys_ram_size; | ||
| 36 | -int phys_ram_fd; | ||
| 37 | -uint8_t *phys_ram_base; | ||
| 38 | - | ||
| 39 | void cpu_loop_exit(void) | 35 | void cpu_loop_exit(void) |
| 40 | { | 36 | { |
| 41 | longjmp(env->jmp_env, 1); | 37 | longjmp(env->jmp_env, 1); |
| @@ -487,7 +483,7 @@ void tlb_fill(unsigned long addr, int is_write, int flags, void *retaddr) | @@ -487,7 +483,7 @@ void tlb_fill(unsigned long addr, int is_write, int flags, void *retaddr) | ||
| 487 | if (tb) { | 483 | if (tb) { |
| 488 | /* the PC is inside the translated code. It means that we have | 484 | /* the PC is inside the translated code. It means that we have |
| 489 | a virtual CPU fault */ | 485 | a virtual CPU fault */ |
| 490 | - cpu_restore_state(tb, env, pc); | 486 | + cpu_restore_state(tb, env, pc, NULL); |
| 491 | } | 487 | } |
| 492 | } | 488 | } |
| 493 | do_queue_exception_err(env->exception_index, env->error_code); | 489 | do_queue_exception_err(env->exception_index, env->error_code); |