OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc1/] [or1ksim/] [cpu/] [or32/] [op_support.c] - Diff between revs 1544 and 1547

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1544 Rev 1547
Line 153... Line 153...
  /* immu_translate() adds the hit delay to runtime.sim.mem_cycles but we add it
  /* immu_translate() adds the hit delay to runtime.sim.mem_cycles but we add it
   * to the cycles when the instruction is executed so if we don't reset it now
   * to the cycles when the instruction is executed so if we don't reset it now
   * it will produce wrong results */
   * it will produce wrong results */
  runtime.sim.mem_cycles = 0;
  runtime.sim.mem_cycles = 0;
 
 
  target_dp = find_dynd_page(phys_page);
  target_dp = cpu_state.dyn_pages[phys_page >> config.immu.pagesize_log2];
 
 
  if(!target_dp)
  if(!target_dp)
    target_dp = new_dp(phys_page);
    target_dp = new_dp(phys_page);
 
 
  /* Since writes to the 0x0-0xff range do not dirtyfy a page recompile the 0x0
  /* Since writes to the 0x0-0xff range do not dirtyfy a page recompile the 0x0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.