/[qemu]/qemu/target-mips/helper.c
ViewVC logotype

Diff of /qemu/target-mips/helper.c

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

revision 1.4 by bellard, Sat Jul 2 15:31:15 2005 UTC revision 1.5 by bellard, Sat Jul 2 15:34:05 2005 UTC
# Line 263  int cpu_mips_handle_mmu_fault (CPUState Line 263  int cpu_mips_handle_mmu_fault (CPUState
263          }          }
264          /* Raise exception */          /* Raise exception */
265          env->CP0_BadVAddr = address;          env->CP0_BadVAddr = address;
266          env->CP0_Context =          env->CP0_Context = (env->CP0_Context & 0xff800000) |
267              (env->CP0_Context & 0x00000FFF) | (address & 0xFFFFF000);                             ((address >> 8) &   0x007ffff0);
268          env->CP0_EntryHi =          env->CP0_EntryHi =
269              (env->CP0_EntryHi & 0x00000FFF) | (address & 0xFFFFF000);              (env->CP0_EntryHi & 0x000000FF) | (address & 0xFFFFF000);
270          env->exception_index = exception;          env->exception_index = exception;
271          env->error_code = error_code;          env->error_code = error_code;
272          ret = 1;          ret = 1;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26