1#mach: crisv32 2#sim(crisv32): --hw-device "/rv/dummy 0x12" 3 4# A variant of trivial2.ms to check that the right thing happens when 5# we reach the poll function with a dummy device. 6 7 .include "testutils.inc" 8 start 9 move.d 0xd0000000,$r0 10 move.d [$r0+],$r3 11 cmp.d 0x12121212,$r3 12 beq ok 13 nop 14bad: 15 fail 16ok: 17 move.d 0x10000,$r10 180: 19 bne 0b 20 subq 1,$r10 21 22 pass 23