URL
https://opencores.org/ocsvn/or1k/or1k/trunk
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
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.