:#define MAIN_PAGE_NUCLEUS_ALSO
:#define MAIN_PAGE_HV_ALSO
:#define DMMU_SKIP_IF_NO_TTE
:/************************************************************************
: ************************************************************************/
: set 0x5842C202, %l3 ! Count DTLB References to L2
: ta T_CHANGE_PRIV ! Should cause Watchdog_reset trap
: wr %l3, %g0, %pcr ! count DTLB References
: wr %g0, %g0, %pic ! zero out the counter
: setx 0x60040000, %g4, %g5
for ($i = 0; $i <10; $i++) {
: setx 0x0000000${myValue}0000000${myValue}, %o4, %g5 ! count DTLB References
: rd %pic, %g2 ! load the current pic value into %g2
: xor %g2, %g5, %g6 ! Compare expected results with actual
: EXIT_GOOD /* test finish */
: EXIT_BAD /* bad count */
:/************************************************************************
: ************************************************************************/