I got a problem about the DSI exception handle, with the psim environment.<br><br>the function mmu_handle_dsi_exception has been set like this , in Bspstart.c:<br><br> <i>
BSP_rtems_irq_mng_init(0);<br> ppc_exc_set_handler(ASM_PROT_VECTOR, mmu_handle_dsi_exception);</i><br><br>and MSR printed in my testcase is 0xa072, as expected, IP, IR, DR bit have been set to 1<br><br>
My problem now is the exception handle never work. when I try your test case , the test did not end with the interrupt<br>As expected, the test case should end like this(break by GDB):<br><pre><span>Breakpoint 1, C_exception_handler (excPtr=0x4d4c8)<br>
at ../../../../../../../rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/vectors_init.c:112<br>112 int recoverable = 0;</span></pre>but my situation is :<br>
<font size="1"><br> <span style="font-family: times new roman,serif;"> *** MMU ALUT TEST ENDS ***</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;"> Program exited normally.</span></font><br>
<br clear="all">Does this mean the exception setting failed? <br>consider I already flushed tlb with tlbia instruction and write dummy entries into PTEG £¬ I suppose the DSI interrupt should occur, right?<br> <br>I appreciate any tips about the reason cause the kind of problems.<br>
Such as some config about psim or rtems I need to know , or any other ideas <br><br>thank you <br><br>-- <br>Best regards<br><br>Quanming Shi<br><br>