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