4 # Op: C(ommand)/T(est)/W(ait)
7 # | | | opcode argument
13 # opcode opcode argument
14 # schedother nice value
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)
22 # lockbkl lock nr (0-7)
23 # unlockbkl lock nr (0-7)
24 # signal thread to signal (0-7)
30 # opcode opcode argument
35 # nprioeq normal priority
36 # npriolt normal priority
37 # npriogt normal priority
38 # locked lock nr (0-7)
39 # blocked lock nr (0-7)
40 # blockedwake lock nr (0-7)
41 # unlocked lock nr (0-7)
43 # blockedbkl dont care
44 # unlockedbkl dont care
45 # opcodeeq command opcode or number
53 # 3 threads 1 lock PI steal pending ownership
75 # Wait until T1 is in the wakeup loop
81 # T1 leave wakeup loop
84 # T2 must have the lock and T1 must be blocked
91 # Wait until T1 is in the wakeup loop and let it run