Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 1 | # |
| 2 | # rt-mutex test |
| 3 | # |
| 4 | # Op: C(ommand)/T(est)/W(ait) |
| 5 | # | opcode |
| 6 | # | | threadid: 0-7 |
| 7 | # | | | opcode argument |
| 8 | # | | | | |
| 9 | # C: lock: 0: 0 |
| 10 | # |
| 11 | # Commands |
| 12 | # |
| 13 | # opcode opcode argument |
| 14 | # schedother nice value |
| 15 | # schedfifo priority |
| 16 | # lock lock nr (0-7) |
| 17 | # locknowait lock nr (0-7) |
| 18 | # lockint lock nr (0-7) |
| 19 | # lockintnowait lock nr (0-7) |
| 20 | # lockcont lock nr (0-7) |
| 21 | # unlock lock nr (0-7) |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 22 | # signal thread to signal (0-7) |
| 23 | # reset 0 |
| 24 | # resetevent 0 |
| 25 | # |
| 26 | # Tests / Wait |
| 27 | # |
| 28 | # opcode opcode argument |
| 29 | # |
| 30 | # prioeq priority |
| 31 | # priolt priority |
| 32 | # priogt priority |
| 33 | # nprioeq normal priority |
| 34 | # npriolt normal priority |
| 35 | # npriogt normal priority |
| 36 | # locked lock nr (0-7) |
| 37 | # blocked lock nr (0-7) |
| 38 | # blockedwake lock nr (0-7) |
| 39 | # unlocked lock nr (0-7) |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 40 | # opcodeeq command opcode or number |
| 41 | # opcodelt number |
| 42 | # opcodegt number |
| 43 | # eventeq number |
| 44 | # eventgt number |
| 45 | # eventlt number |
| 46 | |
| 47 | # |
| 48 | # 5 threads 4 lock PI |
| 49 | # |
| 50 | C: resetevent: 0: 0 |
| 51 | W: opcodeeq: 0: 0 |
| 52 | |
| 53 | # Set schedulers |
| 54 | C: schedother: 0: 0 |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 55 | C: schedfifo: 1: 81 |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 56 | C: schedfifo: 2: 82 |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 57 | C: schedfifo: 3: 83 |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 58 | C: schedfifo: 4: 84 |
Thomas Gleixner | 61a8712 | 2006-06-27 02:54:56 -0700 | [diff] [blame] | 59 | |
| 60 | # T0 lock L0 |
| 61 | C: locknowait: 0: 0 |
| 62 | W: locked: 0: 0 |
| 63 | |
| 64 | # T1 lock L1 |
| 65 | C: locknowait: 1: 1 |
| 66 | W: locked: 1: 1 |
| 67 | |
| 68 | # T1 lock L0 |
| 69 | C: lockintnowait: 1: 0 |
| 70 | W: blocked: 1: 0 |
| 71 | T: prioeq: 0: 81 |
| 72 | |
| 73 | # T2 lock L2 |
| 74 | C: locknowait: 2: 2 |
| 75 | W: locked: 2: 2 |
| 76 | |
| 77 | # T2 lock L1 |
| 78 | C: lockintnowait: 2: 1 |
| 79 | W: blocked: 2: 1 |
| 80 | T: prioeq: 0: 82 |
| 81 | T: prioeq: 1: 82 |
| 82 | |
| 83 | # T3 lock L3 |
| 84 | C: locknowait: 3: 3 |
| 85 | W: locked: 3: 3 |
| 86 | |
| 87 | # T3 lock L2 |
| 88 | C: lockintnowait: 3: 2 |
| 89 | W: blocked: 3: 2 |
| 90 | T: prioeq: 0: 83 |
| 91 | T: prioeq: 1: 83 |
| 92 | T: prioeq: 2: 83 |
| 93 | |
| 94 | # T4 lock L3 |
| 95 | C: lockintnowait: 4: 3 |
| 96 | W: blocked: 4: 3 |
| 97 | T: prioeq: 0: 84 |
| 98 | T: prioeq: 1: 84 |
| 99 | T: prioeq: 2: 84 |
| 100 | T: prioeq: 3: 84 |
| 101 | |
| 102 | # Signal T4 |
| 103 | C: signal: 4: 0 |
| 104 | W: unlocked: 4: 3 |
| 105 | T: prioeq: 0: 83 |
| 106 | T: prioeq: 1: 83 |
| 107 | T: prioeq: 2: 83 |
| 108 | T: prioeq: 3: 83 |
| 109 | |
| 110 | # Signal T3 |
| 111 | C: signal: 3: 0 |
| 112 | W: unlocked: 3: 2 |
| 113 | T: prioeq: 0: 82 |
| 114 | T: prioeq: 1: 82 |
| 115 | T: prioeq: 2: 82 |
| 116 | |
| 117 | # Signal T2 |
| 118 | C: signal: 2: 0 |
| 119 | W: unlocked: 2: 1 |
| 120 | T: prioeq: 0: 81 |
| 121 | T: prioeq: 1: 81 |
| 122 | |
| 123 | # Signal T1 |
| 124 | C: signal: 1: 0 |
| 125 | W: unlocked: 1: 0 |
| 126 | T: priolt: 0: 1 |
| 127 | |
| 128 | # Unlock and exit |
| 129 | C: unlock: 3: 3 |
| 130 | C: unlock: 2: 2 |
| 131 | C: unlock: 1: 1 |
| 132 | C: unlock: 0: 0 |
| 133 | |
| 134 | W: unlocked: 3: 3 |
| 135 | W: unlocked: 2: 2 |
| 136 | W: unlocked: 1: 1 |
| 137 | W: unlocked: 0: 0 |
| 138 | |